Been trying to collect information regarding specific DriveItem\'s permissions using both Microsoft Graph\'s unified API, and OneDrive API.
Documentation states the foll
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).