Generating User Security Role Reports in D365 CE

Requirement

Occasionally we need to generate report for the User and their security role for the different purpose. In this post I am going to share quick steps to get this report.

Solution

Although we have one out of the box report available called “User Summary” report which we can access from reports area if you have or from Advanced Find.

After running the report, we can export the data to Excel easily but extracting the required information from the output can be a bit challenging due to the way the data is structured. You can see output below:

But don’t worry we have an easy way to get it :), thanks to Jonathan Daugaard, we can use User Team Security Role Report tool from XrmToolbox to extract data and group it based on the security role.

  1. Open XrmToolBox and connect to your enviornment, you can download both the tools if not done already.
  2. Search for User, Team and Security Role Report
  3. Click on Load Data to load all the user list from your environment.
  4. Select all the users and Click on Generate Report button.
  5. It will generate CSV file.
  6. Open CSV file and select First column and use Text to Columns

7. Select all the users with all columns and click on Insert to select PivotTable

8. Under the PivotTable fist drag security role under Rows and then drag name under Rows

Finally we have our User Summary report ready where we can see user list based on the security roles like below:

Summary

This is how we can easy get list of the user based on the security roles.

Hope it will help someone !!
Keep learning and Keep Sharing !!

Leave a Reply

Your email address will not be published. Required fields are marked *