AADSTS7000215: Invalid client secret provided

STRATTFORT 0 Reputation points
2024-06-28T23:33:51.6266667+00:00

I got this error setting up ODOO Outlook Connector: An error occurred when fetching the access token. AADSTS7000215: 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 '08520c3e-80a1-48cd-b87a-bf425fd54973'. Trace ID: f38c62c0-6359-422e-8a0e-16bcf7bb8e00 Correlation ID: 96c639cb-eecf-4178-b6ab-67fc74d56749 Timestamp: 2024-06-28 23:26:05Z

Secure ID is correct - I tried to regenerate man y times. There is no + or = signs. Still not working - please help ?

Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,495 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andriy Bilous 11,176 Reputation points
    2024-06-30T08:57:13.41+00:00

    Hello STRATTFORT

    The "invalid client secret" error typically occurs if the secret is invalid, expired, or has a special character in it.

    There are couple of solutions:

    Client Secret Format:

    Check Encoding:

    • Avoid encoding the secret; provide it as-is. Encoding might cause issues, especially if there are special characters involved.

    Plus Sign Issue:

    0 comments No comments