microsoft-authentication-library-for-java icon indicating copy to clipboard operation
microsoft-authentication-library-for-java copied to clipboard

[Bug] Managed Identity: In the Machine Learning source, the client id is sent incorrectly in the network request

Open Robbie-Microsoft opened this issue 8 months ago • 0 comments

Library version used

latest

Java version

latest

Scenario

ManagedIdentityClient - managed identity

Is this a new or an existing app?

None

Issue description and reproduction steps

The Machine Learning source is based off of App Service 2017 (MSALs do not support this App Service 2017 version, only 2019). In the 2017 API, the client id should be passed to the network request as "clientid" instead of "client_id".

This bug was identified recently after Azure-SDK-for-JS removed their App Service 2017 implementation in favor of MSALJS's (msal-node) Machine Learning implementation. An Azure-SDK-for-JS customer is seeing network errors due to the incorrect way client id is being passed to the network request.

Relevant code snippets


Expected behavior

No response

Identity provider

Other

Regression

No response

Solution and workarounds

No response

Robbie-Microsoft avatar Mar 10 '25 23:03 Robbie-Microsoft