Issues with MS Outlook, Office, Oauth2 and gov cloud Issues.. CAUSE

There needs to be an option to select gov cloud or commercial cloud for N8N when trying to use MSFT authentication… otherwise N8N cannot handle them.

Describe the problem/error/question

I’ve seen comments about the following error:
“AADSTS900382: Confidential Client is not supported in Cross Cloud request”

When users are trying to use Microsoft Auth (Oauth2, Outlook, etc, etc). I believe the cause is related to the following (Gov Cloud vs. Regular Azure/Cloud).

What is the error message (if any)?

AADSTS900382: Confidential Client is not supported in Cross Cloud request

Information on your n8n setup

  • n8n version: Lastest
  • Database (default: SQLite): Postgresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Linux (Ubuntu)

Is there a known workaround?

Not that I am aware of, I have changed this to a feature request though so we can pick it up soon.

1 Like

Thanks @Jon as you know, many customers in the states use the “gov cloud”.

Hi. Is there an update to this?

Hey @CyberBeach,

Not yet, it looks like there is still 0 votes for this so it hasn’t been picked up.

I will bring it up during our next node team meeting so we can get it prioritised manually rather than basing it on community requests.

Thanks! As you can guess, the Microsoft API and controls are difficult… with Govcloud, they are even moreso.