Loading

MuleSoft Azure Key Vault Connection Fails with 'AADSTS900382: Confidential Client is not supported in Cross Cloud request'

Дата публикации: Dec 29, 2025
Описание

The MuleSoft Azure Key Vault Connector connection fails with "AADSTS900382: Confidential Client is not supported in Cross Cloud request" because the connection authorization request is going to Azure Commerce cloud instead of Gov cloud.

Caused by: com.mulesoft.connector.lib.keyvault.error.AuthenticationException: com.microsoft.aad.msal4j.MsalServiceException: AADSTS900382: Confidential Client is not supported in Cross Cloud request.
  Trace ID: e3549bf8-7470-4937-ba22-faa105020300
  Correlation ID: b0dce0e2-f609-4263-bd10-b91bcb3f2623
  Timestamp: 2023-10-24 00:07:01Z
  	at com.mulesoft.connector.lib.keyvault.client.KeyVaultClientImpl.testConnection(KeyVaultClientImpl.java:132)
  	at com.mulesoft.connector.keyvault.internal.connection.AzureKeyVaultConnection.lambda$testConnection$4(AzureKeyVaultConnection.java:72)
  	at com.mulesoft.connector.keyvault.internal.connection.AzureKeyVaultConnection.execute(AzureKeyVaultConnection.java:38)
Решение

In order to resolve the MuleSoft Azure Key Vault Connector connection failure, perform the following:

1) Please make sure to copy and paste as it is from your Azure Vault API endpoint URL into the connector Uri Override field.
Please refer Connection - Connection Type section of the following documentation.
https://docs.mulesoft.com/azure-key-vault-connector/1.1/azure-key-vault-connector-reference

If you configure the "Uri override" field, then the value for the Vault Name field is not considered for the connection configuration. If the key vault is not located on Azure Commercial Cloud, then configure this field.

2) Please configure the following Mule runtime JVM command line system property also
This value is for GovCloud:  AZURE_AUTHORITY_HOST="https://login.microsoftonline.us"
Please review:
https://docs.mulesoft.com/mule-runtime/4.5/mule-app-properties-system

Disclaimer: This article involves products and technologies which do not form part of the MuleSoft product set. Technical assistance for such products is limited to this article.

Номер статьи базы знаний

001117461

 
Загрузка
Salesforce Help | Article