Skip to main content

Notifications

Community site session details

Community site session details

Session Id :

Comparing Security Between D365FO Environments Solution Released

alexmeyer.itguy Profile Picture alexmeyer.itguy 648

I’m happy to announce the public release of my ‘D365FO Security Comparison Utility’ available on my GitHub!

Solution Download

The solution download is available here: https://github.com/ameyer505/D365FOSecurityComparisonUtility/releases

The source code for the application can be found here: https://github.com/ameyer505/D365FOSecurityComparisonUtility

Overview of Solution

Install the Deployable Package

Create the App Registration

       Note: You can utilize the same app registration for both D365FO environments

 

Launching the Solution

  • This will launch the application

  • Navigate to File -> Set Connections
  • Provide your connection information for both environments, be sure to set the Service Operation Endpoint to the AMSecurityServiceGroup\AMSecurityService setting.

  • Click Save
  • Back on the main screen, provide an output path to export the resulting Excel file to
  • Select which security layers you want to compare, by default the Roles option is selected as this will compare all role access from your source and destination environments which is the most common scenario
  • Once ready, click the ‘Generate Security Comparison’ button.

  • Once the comparison is complete, the resulting Excel file will be saved to that directory.

Note: If you want to save off the generated log, once an security comparison has been generated please click the ‘Export Log to File’ button

Comparison Results

If we look at the Excel file generated by the solution, we can see it has three tabs: Overview, Security Layer Changes, Security Access Changes

The Overview tab contains an overview of the number of roles, duties, and privileges added, modified, or removed (these values will be dependent on which Security Layer selections were made):

The Security Layer Changes tab includes all security layers added, modified, and removed (these values will be dependent on which Security Layer selections were made):

The Security Access Changes tab includes the detailed access changes made:

One thing to point out here is that if the access has actually been modified, this will show the access in the source system and the access in the destination system:

Conclusion

I hope you find this application useful! If you have any issues or feature suggestions feel free to reach out to me via email at alex.itguy@gmail.com or submit the issue on the GitHub project itself.

The post Comparing Security Between D365FO Environments Solution Released appeared first on Alex Meyer.


This was originally posted here.

Comments

*This post is locked for comments