OAuth Issues when creating Microsoft credentials

Hi there, I have followed the steps to configure my Microsoft credentials and the initial OAuth step was triggered properly. However, when I’m sent back to the redirect URL, I am presented with an error:

{"code":0,"message":"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed."}

This is the callback URL with parameters:

https://<my-hosted-domain>/rest/oauth2-credential/callback?code=somecode&state=somestate%3d%3d

Does anyone know what is wrong?

A quick update with my current progress, I was able to configure this correctly.

1 Like

Hi @soba-james, welcome to the community :tada:

Glad to hear you figured it out, Microsoft’s OAuth2 credentials are rather tricky and not exactly self-explanatory.

In case anyone else stumbles across this, the thread over here has a number of screenshots that might help with setting this up.