Loading

Salesforce Files Connect External Data Source error for Files Connect with Sharepoint Online, Invalid client secret provided

Udgivelsesdato: Aug 18, 2026
Beskrivelse

You may see this error when logging into an External Data Source for Files Connect with SharePoint Online:

Unable to Access Page
The value of the "ErrorDescription" parameter contains a character that is not allowed or the value exceeds the maximum allowed length.

 

And the URL of the error page contains the error message:
Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app.

 

For example:
https://mydomain.my.salesforce.com/_nc_external/identity/sso/ui/AuthorizationError?ErrorCode=No_Oauth_Token&ErrorDescription=invalid_client+AADSTS7000215%3A+Invalid+client+secret+provided.+Ensure+the+secret+being+sent+in+the+request+is+the+client+secret+value%2C+not+the+client+secret+ID%2C+for+a+secret+added+to+app

Løsning

Cause

This error occurs when an incorrect value is entered in the Consumer Secret field of the Authentication Provider created in Salesforce for the external data source.

Resolution

A value and secret ID are created when a new client secret is saved in the Azure Management Console. The value needs to be saved in the Consumer Secret field — not the secret ID. The value is only visible in the Azure Management Console immediately after the client secret is saved, so create a new client secret if the value is no longer visible.

Frequently Asked Questions

Where do I find the client secret value in Azure?

The value appears in the Azure Management Console only at the moment a new client secret is created and saved.

What if I can't see the client secret value anymore?

Create a new client secret in Azure and copy the value immediately — it won't be shown again after you navigate away.

Vidensartikelnummer

000394730

 
Indlæser
Salesforce Help | Article