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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Is it Possible to automate security roles to the users?

(0) ShareShare
ReportReport
Posted on by 233

Hello Experts,

Requirement is while adding user to the crm or creating users it should automatically assign security roles and field security roles to the user , please suggest me.

I have the same question (0)
  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    Hi Amrutha,

    A relatively simple way is to assign security roles to the organization team.

    Each D365 organization has a team with the same name as the organization, and it contains all users in the organization. New users will also be automatically added to this team.

    3276.pastedimage1602485115413v1.png

    So we only need to assign security roles to this organization team, this way whenever a new user is created, the user will have these security roles.

    Reference: https://ledgeviewpartners.com/blog/quick-tip-quickly-assign-roles-users/

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    HI,

    You can write plugin to assoctiate role to use.

    docs.microsoft.com/.../sample-associate-security-role-user

    Code  to associate field security profile to user

    www.ais.com/.../

    Register steps on Systemuser entity and message is create post operation.

    Please mark my answer verified if i were helpful

  • Joost Cuppes Profile Picture
    5 on at

    Hello, i've tried doing this, but new users are still not getting the group? What do i need to change to get it to work?

  • Suggested answer
    CRMJetty Profile Picture
    3,512 on at

    Hello Amrutha B K

    Yes, Using power automated and Azure ID it can be done.

    Follow this link : iiu.dk/.../

    Please mark the answer as verified if that's helpful for you.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 49 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans