Welcome to the Alteryx Knowledge Base
Created/Edited -
Any Microsoft or Power BI connection in Alteryx One may fail during authentication with an OAuth error.
When a user creates or uses a Microsoft or Power BI connection, the connection fails with one of the following errors:
Error: An error happened while getting auth code & requestId={request id}
AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented
Alteryx One
Microsoft Entra is treating the Azure app registration as a public client, but the OAuth request from Alteryx One includes a client secret.
Microsoft does not allow a public client to send a client secret, so the token request fails.
This usually happens when the Azure app registration was created as an SPA, mobile, native, or public client instead of a web client.
Create or update the Azure app registration as a web client. Do not configure the app registration as SPA, mobile, native, or public client.
After updating the app registration, create the connection again and test the authentication.