cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JamieMesser2
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. 

JamieMesser2_0-1666603552505.png

 

Any assistance would be appreciated! 

 

Kind Regards, 

 

Jamie Messer

2 REPLIES 2
Sundeep_Malik
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)

 

Sundeep_Malik_0-1666604223194.png

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

 

 

Password should be in this format:

Sundeep_Malik_1-1666604276642.png

 

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:

 

https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/add-users-azure-active-directo...

 

JamieMesser2
New Member

Hi Sundeep, 

 

Thanks for the quick response, I have just checked and confirmed the user principal name is set to: First.surname@domname.com

 

Please see the flow below in more detail:

JamieMesser2_1-1666605654056.png

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

Helpful resources

Announcements
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)