Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

getting all the security profiles created for an entity

(0) ShareShare
ReportReport
Posted on by 60

How can I get all the security profiles created for an entity? Is there any API through which I can get the ids or any information about the security profiles which had been created for that entity? 

I am able to get all the security roles that had been assigned to a particular user. I want to compare the security profile ids of an entity and the user. If they match, I will check if the security profile has given the user read access to the records found in that entity and the user will be given visibility access to the user.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: getting all the security profiles created for an entity

    Hi Partner,

    With wave1 of 2021 updates, Microsoft has added a new button on the records called ‘Check Access’ using which user can easily check out their access to the records. Also, user can get to know how they got those privileges i.e., via security roles, sharing, directly assigned or via team user belongs to.

    https://docs.microsoft.com/en-us/power-apps/user/access-checker 

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: getting all the security profiles created for an entity

    Hi Partner,

    The XrmToolBox has a plugin called Privileges Discovery,which can identify the privilege or privileges based one one entity, select it and find the roles.

    pastedimage1660806922028v1.jpeg

    Then you can using the tool to get all security roles based on the entity and one privileges:

    https://carldesouza.com/find-which-privileges-are-applied-to-which-roles-in-dynamics-365-privileges-discovery/ 

    pastedimage1660807741596v3.png

    You said before:I am able to get all the security roles that had been assigned to a particular user. 

    --There is another tool-User Security Manager, which can load all security roles based on one user.

    Now, You can compare the list of security roles obtained twice and check for overlap to determine if a particular user has read access to an entity.

  • restassured Profile Picture
    60 on at
    RE: getting all the security profiles created for an entity

    Yes, you're right I meant 'Security Roles'.  Actually, I want to check if a user has the required read access to an entity's record.

  • Community Member Profile Picture
    on at
    RE: getting all the security profiles created for an entity

    Hi Partner,

    What is security profiles you mentioned?

    Entity-level permissions are defined in the security role.

    The only ones with similar names I found was Field/column security profile, is it?

    Could you provide screenshots about it?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans