When attempting to use the
remote backend with Terraform Cloud / Enterprise on Azure, the "Confidential Client is not supported in Cross-Cloud request" error occurs.
remote backend workspace is missing the Azure environment. If you're using China, German, or Government Azure Clouds, then the
ARM_ENVIRONMENT needs to be set.
ARM_ENVIRONMENT environment variable with the proper value to the workspace.
An example would be
ARM_ENVIRONMENT = usgovernment.
Note: Possible values are
stack , and
This will allow the environment to be set in the provider.