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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Cannot find newly created security roles / duty / privileges in AOT ? and how is the naming ?

(0) ShareShare
ReportReport
Posted on by 311

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,

  • Martin Dráb Profile Picture
    241,655 Most Valuable Professional on at

    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.

  • Axel Cage Profile Picture
    311 on at

    So in other word, securities created from UI also not useful for technic POV ? I mean we cannot reach / reuse in Visual Studio ?

    Thanks

  • Martin Dráb Profile Picture
    241,655 Most Valuable Professional on at

    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.

  • André Arnaud de Calavon Profile Picture
    308,274 Super User 2026 Season 2 on at

    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. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 266 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 164 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans