Skip to content

After importing the latest solution - toolkit stopped working for test automation #155

@Arpit-Patel-01

Description

@Arpit-Patel-01

After upgrading the Toolkit solution to the latest version, the authentication stopped working when testing the agent. I’m using the same configuration as before — Manual Authentication via Entra ID V2 — which worked fine in the previous version.

While investigating the "Test Automation | Run Agent Tests" flow, the error occurred during the user authentication step.

It appears the upgraded version is handling authentication differently, possibly treating the app as a public client but still attempting to send a client_secret.

Please advise if there's a configuration change required for the new version or if this is a bug.

Error Details:

{
"@odata.context": "https://co********.crm4.dynamics.com/api/data/v9.1/$metadata#Microsoft.Dynamics.CRM.cat_AuthenticateEndUserResponse",
"cat_Response": "Error: Token exchange failed. Status: Unauthorized, Response: {
"error": "invalid_client",
"error_description": "AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented.",
"trace_id": "*******-44ba-a2fd-443c450b6b00",
"correlation_id": "***********4bb3-8e0b-a31def0",
"timestamp": "2025-04-10 16:04:47Z"
}"
}

Image

Image

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions