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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Create User from dynamics crm plugin or workflow

(0) ShareShare
ReportReport
Posted on by 25

Hi,

Can any one help me how to create crm user from plugin or workflow using c#

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: Create User from dynamics crm plugin or workflow

    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  

  • gdas Profile Picture
    50,091 Moderator on at
    RE: Create User from dynamics crm plugin or workflow

    May I know why do you want to create User using plugin or workflow ?

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Create User from dynamics crm 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.

Helpful resources

Quick Links

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans