Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,480 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
I'm struggling to get 'app permissions' returned on a specific item within a document library via the graph api.
the api I'm calling is:
drives/{drive-id}/items/{item-id}/permissions
but it only seems to include user / group permissions and not include an app specific permission I in theory just set using the below
{
"id": "1",
"roles": [
"read"
],
"grantedTo": {
"application": {
"displayName": "My App(Dev)",
"id": "My App ID"
}
}
}
Setting the permission returned a 200 response code and a generated 'id' for the permission set.
If I'm calling the wrong api and someone could point me in the right direction that would be really appreciated, documentation as well would be great.
Cheers