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, ...
Answered

automatic authorization

(1) ShareShare
ReportReport
Posted on by 97
Hello,
 
When I create a new user, is there any way to automatically assign an authorization?
  • Verified answer
    Martin Dráb Profile Picture
    241,637 Most Valuable Professional on at
    Do you mean to assign a security role? If so, there is a standard feature for it - see Manage users and security roles > Automatically assign users to roles. You could also develop something custom.
  • metehandanyal Profile Picture
    97 on at
    Yes, security role. 
     
    I create a new security role.  I want, when  active a new user, the securiy role automatically assign the user.
  • Olayinka Komolafe Profile Picture
    29 on at
    Hi MD,
     
    I am having a hard time understanding you. You want an "automatic" assignment of roles to users?
  • Raj Borad Profile Picture
    1,590 on at
    Hi,
    Users Information and Security Roles are System documentation Tables. I think we can't automatically assign the Security role to User using X++.
     
  • Verified answer
    NikolajSorensen Profile Picture
    1,839 on at
    Martins suggestion is the right one for this type of scenario.
     
    If you want to assign the same role to every single user in the application, then setup an automatic assignment rule for the role in question. 
    There is even a standard query for "Select all users". 
     
    Make sure that the batchjob "Automatic role assignment" runs with whatever frequency you this is suitable,. Then it will assign the role to every user when the batchjob runs.
  • Verified answer
    André Arnaud de Calavon Profile Picture
    308,234 Super User 2026 Season 2 on at
    Hi metehandanyal,

    Next to the suggestions from Martin and Nikolaj to use automatic role assignment, you can also consider using the Entra ID integration. I wrote a blog about this a while ago when Entra ID was named Azure AD: How to use Azure Active Directory for managing users and security in Dynamics 365 for Finance and Operations - Dynamicspedia
     
    In addition, I contributed to an open source project where you can use the Entra ID integration as input for automatic role assignment: Enhanced Entra ID group integration in D365FO Admin Toolkit - Dynamicspedia

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... 271 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans