Share via

Azure Salesforce Error Message

Amandeep Patro 21 Reputation points
2020-11-03T21:01:45.9+00:00

Hi Team,

Having an integration from salesforce to Azure AD. While performing the communication I am facing one error message. Because of which I am not able to get the Access token to proceed with my transaction.

The error message is - Confidential Client is not supported in Cross Cloud request

Is there any way to handle this error in the app permissions only while creating it in the Azure platform

As we are having an UAT soon please can you please with this ?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 19,511 Reputation points Moderator
    2020-11-05T23:39:47.087+00:00

    Hello @Amandeep Patro ,

    We are sorry are facing this issue. You're seeing this issue because the Azure AD authority URL for Azure US Government Cloud has been changed from login-us.microsoftonline.com to login.microsoftonline.us. All of the libraries default to using https://login.microsoftonline.com as the Azure Active Directory authority host.

    What you need to do is instantiate DefaultAzureCredential with the proper authority host for the cloud you are targeting. Run az cloud list to find the appropriate activeDirectory endpoint. You can set via the AZURE_AUTHORITY_HOST environment variable or use the AzureAuthorityHosts enums.

    Please follow the steps in this blog post to resolve the issue. Let us know if you have further questions

    Best,
    Grace

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.