Skip to main content

Notifications

Power Automate - General Discussion
Answered

Success creating a user using power automate - not all fields are exposed.

(1) ShareShare
ReportReport
Posted on by 95
So I am able to create a user in power automate. But a bunch of fields are not offered in the power automate action for Create user (Entra ID).
Tried to use Update user afterwards - still no joy.
 
Would like to populate the following fields but don't see how:
Company name  Employee ID  Employee Type  Employee Hire Date  Street address  City  State or province  Zip or postal code  Country or region  Email  Fax number  Usage location
 
Have a notion to tap into the Entra ID API by using the action named Invoke an HTTP request (Microsoft entra ID).
Used https://graph.microsoft.com for both URL and URI - seemed to get past the Get Resource - just don't know where to go from there.
 
I'm beginning to think I need to venture into power apps for this. 
 
Any ideas out there please?
 
Thank you.
 
 
Categories:
  • Verified answer
    FLMike Profile Picture
    FLMike 31,444 on at
    Success creating a user using power automate - not all fields are exposed.
    Hi 
     
    You need to use the HTTP Connector (Premium) and either write all the properties in the first call, or create them and then do a Patch with the rest. You can write to all those using Graph API.
     
    So you could use the Create User you are doing, then use the Output (ID) from Entra, to make a call using the HTTP Connector to patch the rest of the details you want.
     
    Even if you don't see them in an API etc, they are there, its really just... laziness in the documents to not show them all.
     
     
    And Like this for instance
    PATCH https://graph.microsoft.com/v1.0/users/{user-id}
    Content-Type: application/json
    Authorization: Bearer {token}
    
    {
      "employeeId": "12345"
    }
     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard