Hi @Elevated Abinesh Rajender
Thank you for reaching out to the Microsoft Q&A forum and letting us know about the behavior where the scope appears as 'anonymous' when running the GET /drives/{drive-id}/items/{item-id}/permissions endpoint.
I truly appreciate the article you referenced; it was very helpful in guiding my testing and research. I'm happy to share what I've discovered so far:
In my experience, when the sharing link is set to "Anyone", the scope returned is "anonymous".
When the link is set to "People in Contoso", the scope returned is "organization".
To help manage link access, you may find the following resources useful:
- Sharing files, folders, and list items - Microsoft Support
- Managing access in OneDrive (work or school) - Microsoft Support
The behavior I observed aligns well with the scope definitions described in the SharingLink resource type.
I sincerely hope this information clarifies your situation. Please do not hesitate to reply if you have any updates.
Thank you for your understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.