: Write a file shared with the user ( PUT : Write files into the app's folder in OneDrive ( PUT /me/drive/special/approot/children/file.txt/content).Files.ReadWrite : Write a file in the signed-in user's OneDrive ( PUT /me/drive/root/children/filename.txt/content).: Read files shared with the signed-in user ( GET /me/drive/root/sharedWithMe).Files.Read : Read files stored in the signed-in user's OneDrive ( GET /me/drive/root/children).The delegated permission is only valid for personal accounts and is used for accessing the App Root special folder with the OneDrive Get special folder Microsoft Graph API. They should not be used for directly calling Microsoft Graph APIs. The and delegated permissions are only valid on work or school accounts and are only exposed for working with Office 365 file handlers (v1.0). Note that for personal accounts, Files.Read and Files.ReadWrite also grant access to files shared with the signed-in user. The Files.Read, Files.ReadWrite,, and delegated permissions are valid on both personal Microsoft accounts and work or school accounts. Read and write files in all site collectionsĪllows the app to read, create, update, and delete all files in all site collections without a signed in user. The app has access for several hours after the user selects a file.Īllows the app to read all files in all site collections without a signed in user. (Preview) Allows the app to read and write files that the user selects. Read and write files that the user selects The app has access for several hours after the user selects a file. (Preview) Allows the app to read files that the user selects. Limited support in Microsoft Graph - see Remarks (Preview) Allows the app to read, create, update, and delete files in the application's folder. Have full access to the application's folder (preview) ![]() Have full access to all files user can accessĪllows the app to read, create, update, and delete all files the signed-in user can access. Files permissions Delegated permissions PermissionĪllows the app to read the signed-in user's files.Īllows the app to read all files the signed-in user can access.Īllows the app to read, create, update, and delete the signed-in user's files. If consent is given, your app is given access to the resources and APIs that it has requested.įor apps that don't take a signed-in user, permissions can be pre-consented to by an administrator when the app is installed or during sign-up.įor more details about the full set of Microsoft Graph permissions, please see Permissions reference for Microsoft Graph. When a user signs in to your app they, or, in some cases, an administrator, are required to consent to these permissions. OneDrive and SharePoint expose a few granular permissions that control the access that apps have to resources.
0 Comments
Leave a Reply. |