I am getting "Invalid client secret provided" using the secret value and can authenticate with XrmToolbox with same credentials

Clint Woods 1 Reputation point
2022-09-13T20:28:42.503+00:00

This App Id/Secret work with tools such as XrmToolbox so I know it's correct. This is a .net 6.0 core Windows Service; powerplatform.datavers.client 1.0.9; client.Dynamics 1.0.9 (tried with/without this).

Connection String:
AuthType=ClientSecret;SkipDiscovery=true;url=https://[CORRECT INSTANCE NAME].crm.dynamics.com;Secret=[CORRECT SECRET APPEARS HERE];ClientId=[CORRECT CLIENTID APPEARS HERE];RequireNewInstance=true

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,202 questions
0 comments No comments
{count} votes