Hi,
Can any one help me how to create crm user from plugin or workflow using c#
*This post is locked for comments
Hi Santhosh,
its not possible creating a system user in dynamics crm online as compare to dynamics crm onpremise because there are many manual steps requred outside dynamics crm:
have a look here : stackoverflow.com/.../unable-to-create-a-systemuser-in-dynamics-crm-365-online
docs.microsoft.com/.../create-users-assign-online-security-roles
another way powershell as mentioned here : community.dynamics.com/.../104204
May I know why do you want to create User using plugin or workflow ?
Hi
As you may already be aware, CRM online users are Office 365 users, you cant create them from within CRM.
If you do have the need to create user on a CRM record event, it is possible using plugin or workflow but there are lot of hoops to jump through.
I would suggest you look into using Flow with Office Graph Api to create and assign crm license to a user.
www.lee-ford.co.uk/using-flow-with-graph-api
community.dynamics.com/.../microsoft-graph-api-assign-dyn365-license-to-aad-user
Once you created the user, unless the user was created as a global admin or service admin, you have to assign security role to the user otherwise they wont be able to login or access CRM.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 2
HR-09070029-0 2
UllrSki 2