Microsoft's Graph permission resource type has no invitations

后端 未结 1 828
终归单人心
终归单人心 2021-01-24 03:00

Been trying to collect information regarding specific DriveItem\'s permissions using both Microsoft Graph\'s unified API, and OneDrive API.

Documentation states the foll

相关标签:
1条回答
  • 2021-01-24 03:40

    I've updated the documentation recently to try and describe this better: https://graph.microsoft.io/en-us/docs/api-reference/v1.0/api/permission_get

    Most of these properties are optional / not expected to be returned. For example, while grantedTo will return user you won't see it return application or device for permissions currently, since permissions are only assigned to users/groups. However, Graph reuses the IdentitySet object in several places, which makes those properties appear.

    Other properties, like invitation and inheritedFrom are currently available for OneDrive Personal drives, but not available from OneDrive for Business or SharePoint document libraries.

    You should be able to see values returned for either grantedTo or link depending on the type of sharing permission (explicit permissions for a user, or a sharing link).

    0 讨论(0)
提交回复
热议问题