Why parent's permissions is showing for broken child in SharePoint online?

Hsaniba 100 Reputation points
2024-04-04T03:51:00.4333333+00:00

I wanted to learn about how Permissions are stored and how Graph API works with share point online and how Graph retrieving the information.

While looking through Permissions, I got something messy. That is, I broken the inheritance for a child item(folder) from parent(list/lib). then added direct access to one user for the child item.

After that I looking to the permissions of parent(list) and broken inherited child were same. I don't know what about this.

Can any one plz help me out?

PermissionsForParent(List).txt

PermissionsOfChild(Folder).txt

Above text files contains retrieved Permissions information about Parent and Child.

Note : I have broken inheritance for child and deleted one group permissions and added one Direct access permissions for a user.

Please anyone explain what about this and If Possible please explain the content in the text file

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,834 questions
{count} votes

Accepted answer
  1. Emily Du-MSFT 42,426 Reputation points Microsoft Vendor
    2024-04-09T08:46:13.9166667+00:00

    Currently using Graph API, you could get site permission, fetching permissions for list or library is not supported.

    If list permission inherits permissions from site, you could get permissions for a site instead of a list.

    You could propose this feature request for list permissions in the feedback portal.

    As a workaround, I suggest you use PowerShell to get permissions for a list and list items.

    Reference:

    https://www.sharepointdiary.com/2019/02/sharepoint-online-pnp-powershell-to-export-document-library-permissions.html

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful