Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / automatic authorization
Finance forum
Answered

automatic authorization

Posted on by 58
Hello,
 
When I create a new user, is there any way to automatically assign an authorization?
  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,802 Super User 2024 Season 2 on at
    automatic authorization
    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
  • Verified answer
    NikolajSorensen Profile Picture
    NikolajSorensen 1,659 on at
    automatic authorization
    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.
  • Raj Borad Profile Picture
    Raj Borad 432 on at
    automatic authorization
    Hi,
    Users Information and Security Roles are System documentation Tables. I think we can't automatically assign the Security role to User using X++.
     
  • automatic authorization
    Hi MD,
     
    I am having a hard time understanding you. You want an "automatic" assignment of roles to users?
  • metehandanyal Profile Picture
    metehandanyal 58 on at
    automatic authorization
    Yes, security role. 
     
    I create a new security role.  I want, when  active a new user, the securiy role automatically assign the user.
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 229,129 Most Valuable Professional on at
    automatic authorization
    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.

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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,129 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans