Skip to main content

AADSTS700025: Public client sent a credential it should not send

A public client sent a credential it should not send.

What to check​

  1. Remove the secret or client assertion from the public client flow and keep confidential credentials on a server.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: A public client sent a credential it should not send.

Microsoft does not provide a separate remediation in the lookup.

Open AADSTS700025 in Microsoft’s lookup