I have followed all of the steps in the Admin guide to configure Email Configuration with OAUTH. I can send emails fine, so I know my Azure AD setup, Client ID and Secret are all correct.
I then followed the steps for Administration | Email and Documents | OAuth 2.0 Settings for Importing Contacts and Emails. When I try and Import Emails on a Company record, I get the error messages below. What's odd is that the error message is telling me to use the "client secret value, not the client secret ID". So I tried entering the value but I get the same error message.
|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 'xxxx'.
Trace ID: <xxxx>
Correlation ID: <xxxx>
Timestamp: 2022-12-05 13:19:28Z
|CompactToken parsing failed with error code: 80049217|