web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

D365FO - How to get a report on security roles and related privileges?

(0) ShareShare
ReportReport
Posted on by 730

Hello!

An attempt to get a report on the combination of roles and related privileges using Out-of-box security reports did not reflect custom roles, but only standard roles in D365FO. Please advise the T-SQL query string, which will reflect the security role and related privileges.

Thank you very much, in advance!

I have the same question (0)
  • MarinaAX Profile Picture
    730 on at

    Yes, that's what I did in the first place. As I wrote in my original post: "An attempt to get a report on the combination of roles and related privileges using Out-of-box security reports did not reflect custom roles, but only standard roles in D365FO." The resultant report did not contain any of the custom roles which were created in the environment only the standard roles.

  • MarinaAX Profile Picture
    730 on at

    What planet are you from, Sukrut???? Worked like a charm!!!   And thank you so much for the extremely helpful explanations!!!

  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi MarinaAX,

    Please check if the outcome of the entities are really correct. In the past, I got too many rows. There was a known issue reported to Microsoft, but I have not verified if that had been solved already.

  • MarinaAX Profile Picture
    730 on at

    Thank you so much for your extremely valuable heads-up, André! And for all your help with other inquiries!!!

    Life taught me always verify the information, so between I read Sukrut's response and posted my answer I made the random selection of the Roles + [Duties] + Priveleges from D365 and compared them with the Excel content for several roles. The selections were identical. We are using 10.0.4 PU28 so I gave a benefit of the doubt to the content of the Excel spreadsheet with the data entity output.

    Again, André, thank you very much on keeping your eye on the already answered questions and thank you very much for your valuable recommendations and warnings!

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

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 298 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 179 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 121 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans