It is expected.
Please see the delegated permission Files.ReadWrite.All
.
It allows the app to access all files the signed-user CAN access. This means that unless that user shares the file with you, you will not have permission to access it.
Let's focus on the application permission Files.ReadWrite.All
.
This permission allows the app to access all files.
This difference is what makes you confusing.
So with delegated permission (user token), in addition to Files.ReadWrite.All
, you still need to let others share the file with you before you can access it.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…