Announcements
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.
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.
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?
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
Register steps on Systemuser entity and message is create post operation.
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.
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/
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator