How to Test Role Access Without a Test Account in D365FO


This article discusses how to test role access in Dynamics 365 for Finance and Operations (D365FO) without a test account. The author shares a solution they came up with, which involves creating a custom form to assign and revoke the SysAdmin role from a user. This allows for testing of role access by assigning desired roles to the user, revoking the SysAdmin role, and then testing the role access. After testing, the SysAdmin role can be assigned back to the user. The article provides step-by-step instructions on creating the custom form and includes code snippets. The author also mentions considerations and future steps for enhancing the solution.


Article 17m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time