cancel
Showing results for 
Search instead for 
Did you mean: 

Getting 401 when trying to Authorize OAuth2 in Cloud Integration Tenant in CF

shahbhat
Product and Topic Expert
Product and Topic Expert
0 Kudos

The requirement is to use OAuth2 Authorization Code in an iFlow where we are using IMAP sender adapter to connect to Microsoft 365 mailbox

We are using the following Blog to help with the steps.

After completing the Azure steps and the steps in the Cloud Integration tenant, we are getting the following error when trying to authorize the OAuth Authorization Code credential:

Here are more screenshots:

When we hit 'Authorize, we get the following prompt to enter mailbox credentials which we enter and hit sign in and then it gives the error:

The Azure team has tested the IMAP protocol using Modern Authorization(OAuth) successfully with the Microsoft testing tool but that tool doesn't ask for any client id or secret or for any URLs, so not sure if that is relevant to this scenario.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

shahbhat
Product and Topic Expert
Product and Topic Expert
0 Kudos

We have resolved this issue.

We were using Client Secret ID instead of Client Secret Value.

Thanks

Tri
Participant
0 Kudos

Hi shahbhat,

I'm getting the same error message.

What do you mean you were using client secret ID instead of client secret value?

Regards,

Tri

Answers (0)