Flow create guest

%3CLINGO-SUB%20id%3D%22lingo-sub-383954%22%20slang%3D%22en-US%22%3EFlow%20create%20guest%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-383954%22%20slang%3D%22en-US%22%3E%3CP%3EI%20would%20like%20to%20create%20guest%20user%20with%20Flow%20but%20get%20badrequest%20on%20this%20http%20step%3A%3C%2FP%3E%3CP%3EMethod%20Post%26nbsp%3B%3C%2FP%3E%3CP%3EURI%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Ftoken%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Ftoken%3C%2FA%3E%3C%2FP%3E%3CP%3EHeaders%26nbsp%3BContent-type%26nbsp%3B%26nbsp%3Bapplication%2Fx-www-form-urlencoded%3C%2FP%3E%3CP%3EBody%3C%2FP%3E%3CP%3E%7B%3CBR%20%2F%3E%22grant_type%22%3A%20%22authorization_code%22%2C%3CBR%20%2F%3E%22client_id%22%3A%20%22Azure%20Application%20ID%22%2C%3CBR%20%2F%3E%22client_secret%22%3A%22Azure%20Application%20Secret%20Key%22%2C%3CBR%20%2F%3E%22scope%22%3A%22user.add%22%2C%3CBR%20%2F%3E%22code%22%3A%22req.query.code%22%3CBR%20%2F%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat's%20wrong%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-383954%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-383986%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20create%20guest%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-383986%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7598%22%20target%3D%22_blank%22%3E%40Patrick%20Sanouiller%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'd%20recommend%20you%20post%20this%20question%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FMicrosoft-Flow-Community%2Fct-p%2FFlowCommunity%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EFlow%20Community%3C%2FA%3E%20as%20you%20will%20likely%20get%20a%20quicker%20reply%20there.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EDoug%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

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?

1 Reply

@Patrick Sanouiller 

 

I'd recommend you post this question in the Flow Community as you will likely get a quicker reply there. 

  

Doug