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
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.
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.
The value appears in the Azure Management Console only at the moment a new client secret is created and saved.
Create a new client secret in Azure and copy the value immediately — it won't be shown again after you navigate away.
000394730

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.