Showing results for 
Search instead for 
Did you mean: 
New Member

New User Flow BadRequest Error

Hi All, 


I'm currently battling a BadRequest error which isn't letting up and I'm wondering if one of you lovely people would be able to point out where I am going wrong! 


I have created a flow to create a new user upon approval, the approval process works but when reaching the Create user section of the flow it either times out or gives the BadRequest error. 



Any assistance would be appreciated! 


Kind Regards, 


Jamie Messer

Community Champion
Community Champion

Hey @JamieMesser2 


Can you show the flow in edit mode?? I am sure you are making a mistake in filling one of the important fields like User Principal Name.


Like username should be in this format: (User Principal Name)



No spaces allowed. After @ you should write your domain properly.



Password should be in this format:



Make sure you are following the above methods.


Also make sure the member is not already there and you are sending unique things to azure.


You can check out the link as well:


New Member

Hi Sundeep, 


Thanks for the quick response, I have just checked and confirmed the user principal name is set to:


Please see the flow below in more detail:


I have also set the password to a random value containing numbers or characters

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,344)