cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
patrick_s
Level: Powered On

Add Guest user

I would like to create guest user with Flow but get badrequest on this http step:

Method Post 

URI         https://login.microsoftonline.com/common/oauth2/token

Headers Content-type  application/x-www-form-urlencoded

Body

{
"grant_type": "authorization_code",
"client_id": "Azure Application ID",
"client_secret":"Azure Application Secret Key",
"scope":"user.add",
"code":"req.query.code"
}

 

What's wrong?

3 REPLIES 3
v-zhos-msft
Level 10

Re: Add Guest user

Hi @patrick_s ,

Could you please share a screenshot of your flow's configuration?

Could you please share a screenshot of your flow's run history?

Then I can do more analysis for you.

 

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

patrick_s
Level: Powered On

Re: Add Guest user

patrick_s
Level: Powered On

Re: Add Guest user

@v-zhos-msft No news on this?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users Online
Currently online: 163 members 5,861 guests
Please welcome our newest community members: