-
Couldn't load subscription status.
- Fork 233
Description
I created an app with Files.ReadWrite.AppFolder permission only.
Request to: https://graph.microsoft.com/v1.0/drive/special/approot
Response: 404, and the AppFolder is not created in my Onedrive.
The documentation states:
"OneDrive creates your app's folder in the user's Apps folder, located in the root of the user's OneDrive, when your app makes the first call to the folder using the special folder namespace. Below are the most common calls your app can make to create the folder for the first time."
So my AppFolder should have been created and not return 404.
If I try the exact same process after adding the Files.ReadWrite.All permission the request success and return the expected response:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#drive/special/$entity",
...
"folder": {
"childCount": 0
}
}and my AppFolder is successfully created. Isn't the whole point of the Files.ReadWrite.AppFolder permissions to avoid requiring full read/write access to our users?