Hello guys,
When we create new Security roles \ duty \ privileges in D365 F&O (UI), where is this newly created can be found in AOT Visual Studio ?
And how exactly the naming / description ? as in UI we can only type the name / description in "humanized" word whereby usually from technical POV inside Visual Studio we usually create it by more technical word like prefix of our model with underscore etc then we give them the easy to understand description.
Thanks,
Hi Axel,
The development environment and application have been split in Dynamics 365 F&O. When you publish the security configuration changes, it will create runtime objects on that specific environment only.
Alex Meyer created a tool to bring configurations to the AOT: Moving D365FO security from user interface to AOT - Alex Meyer (alexdmeyer.com)
Anyway, I would suggest using Visual Studio directly if you want to reuse elements in your customizations.
Well, it's the same with any other data. You can use code to access data in database, but you won't see individual table records as elements in AOT.
If you want roles, duties etc. in AOT, define them in AOT, not as data.
So in other word, securities created from UI also not useful for technic POV ? I mean we cannot reach / reuse in Visual Studio ?
Thanks
If you define these elements in UI, they're stored as data in database, not in AOT. If it created AOT elements, they would be overwritten on ther next deployment, therefore it wouldn't be very useful for end users.
André Arnaud de Cal...
292,111
Super User 2025 Season 1
Martin Dráb
230,934
Most Valuable Professional
nmaenpaa
101,156