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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Graph API Create User ...
Power Automate
Answered

Graph API Create User errors

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Please HELP!

 

I have been working through many issues for a few weeks now. To help explain I am building a Power App that will create users within our Azure AD or O365 utilizing Graph API. I know that you can create users with Graph API, i have even had this work (at random and a one off, haven't gotten it to work since. Even when i tested it immediatly after) But no matter how many things i try PA is not giving me clear errors to work with. Has ANYONE ever created a user using the graph.microsoft.com/v1.0/users POST . It should be easy... 

 

Info: I am pulling string variables from Powerapps. A couple of objects i have pulled from a JSON object all the needed address data, language, and country data i need to also place in the user object. I know if you look up this post it does not show all data, but the user object accepts all of it. 

 

Can anyone help? 

Categories:
  • PiebePost1 Profile Picture
    61 on at

    Had similar issues but am using the HTTP with Azure AD connector now, seems to eliminate all those buggy experiences. Are you using that connector too?

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I was actually able to get it to work. I wanted to try and keep the connectors to a minumum so i don't have to make sure every user has access to those connectors. 

     

    I found that the cryptic errors i was getting about validity came from the fact my On-prem account creation was synced up to the cloud and it could not create the new user. It was doing an "update" not a "new" when running the post /users for the graph API. 

    Once i kept track of those details the Graph call is working perfectly. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard