Skip to main content

Notifications

Power Automate - Building Flows
Answered

Create External Users in Entra External ID with Power Automate.

Like (0) ShareShare
ReportReport
Posted on 18 Dec 2024 15:28:07 by 22
I am trying to automate the enrollment process for Power Pages, so the users have much less to do. This means adding a user via Dataverse and linking it to a user 
 
As part of this I am looking to use Power Automate to create an EXTERNAL user in Entra. If I choose the 'Create User' function as part of Entra ID action, it tries to create a user in the host domain and since i am giving it an external email address. The error summary is:
 
"Action 'Create_user' failed: The domain portion of the userPrincipalName property is invalid. You must use one of the verified domain names in your organization."
 
This makes sense if you are creating users in Entra but i want Entra External ID's, where this contraint shouldn't be an issue.
 
When the Entra ID Connector sign's in, it doesn't ask for a tenant, and my external ID is the default. 
 
I can't seem to find a configuration for this 'action' that tells it to use the External Tenant. 
 
I can't find any direct information but i am getting some feedback that I should be using Graph? But that doesn't seem to fit well with Automate. 
 
Any idea?
  • JBC777 Profile Picture
    JBC777 22 on 18 Dec 2024 at 20:22:14
    Create External Users in Entra External ID with Power Automate.
    Thanks Pstork1, at least I know. 
     
    Back to good old CSV files then!
     
    • Entra External ID has a CSV template that can be used to bulk import users. 
    • The same CSV file can be used to create the 'contacts' in Power Pages Dataverse and i can use Power Automate for that.
    • there is some 'glueing' of the records together described ini this video here. https://www.youtube.com/watch?v=1onX66X7tBE
  • Verified answer
    Pstork1 Profile Picture
    Pstork1 64,161 on 18 Dec 2024 at 16:10:04
    Create External Users in Entra External ID with Power Automate.
    To the best of my knowledge you can't create external users directly. You can automate the creation of external user invitations, but the external user has to accept the invitation to create the external user in Entra.  Take a look at this article: invite guest users using power automate – Mohamed Ashiq Faleel
    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,161

Leaderboard
Loading started
Loading complete