Why is update permission graph api for files not working with No Information provided error?

Jing Zhang 6 Reputation points

I am getting error "Invalid input: No Information provided to update the specifed permission" when I try to update the role for a file permission.

To replicate the issue:

  1. Add a permission using POST /drives/{drive-id}/items/{item-id}/invite {
    "recipients": [
    "email": "xxx@Stuff .com"
    "roles": ["read"],
    "message": "Here's the file that we're collaborating on.",
    "requireSignIn": true,
    "sendInvitation": false
  2. find the permission id using /drives/{drive-id}/items/{item-id}/permissions and email above
  3. update the permission using PATCH /drives/{drive-id}/items/{item-id}/permissions/{perm-id} {
    "roles": ["write"]

The roles were read and I wanted to change to write, not sure what went wrong here.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,502 questions
{count} vote

2 answers

Sort by: Most helpful
  1. ShivaniRai-MSFT 2,726 Reputation points

    Hi @Jing Zhang ,

    According to this documentation and as per my test we get this error when there is a sharing link ( webUrl property) present for the particular permission.


    See below example screenshot from Graph Explorer:


    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    2 people found this answer helpful.

  2. prithavi 21 Reputation points

    Hi ,

    Same error getting for /drive/items/{item-id}/permissions/{perm-id} and PATCH /me/drive/items/{item-id}/permissions/{perm-id}
    API . Can I can not update document permissions from Graph API ?.



    0 comments No comments