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 :
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,985 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,514 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 166

#2
ManoVerse Profile Picture

ManoVerse 54 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans