Identify if a permission is inherited or not for Sharepoint and OneDrive For Business items

User123098 41 Reputation points
2023-11-15T05:58:23.34+00:00

Hello everyone,

We have a requirement to identify if a permission is inherited or not for Sharepoint and OneDrive For Business.

List permissions API has a property inheritedFrom in its response**,** but as per documentation, this inheritedFrom property is not returned for Sharepoint and OneDrive For Business.

Is there some way using which we can identify if a permission is inherited or not. Also, if the the permission is inherited, from which item it is being inherited?

Thanks!!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,057 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
906 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,014 questions
0 comments No comments
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 32,556 Reputation points Microsoft Vendor
    2023-11-15T07:09:17.5133333+00:00

    Hi @User123098,

    As the document mentioned, currently the graph api doesn't support OneDrive for Business and SharePoint document libraries return inheritedFrom property. And I feel regretful to inform you that it turns out to be a by-design one.

    It is highly recommended that you can vote this ticket. Many features of our current products are designed and upgraded based on customers’ feedback. With requirements like this increase, the problem may well be released in the future. Thanks 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.


0 additional answers

Sort by: Most helpful