AcquireTokenForManagedIdentity should throw if a user-assigned managed identity clientID or resourceID is supplied when not supported #7198
Labels
bug
A problem that needs to be fixed for the feature to function as intended.
confidential-client
Issues regarding ConfidentialClientApplications
p2
P1 and P2 are priorities of the bug. P2 bugs should get fixed/closed within 3 months.
The following ManagedIdentitySources do not currently support user-assigned managed identities:
AzureArc, CloudShell, ServiceFabric
If a user-assigned clientId or resourceId is specified for these sources, we should throw with a message similar to:
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/5c7c527b173b5f2a719926fb89ccd68bc55d1b3e/src/client/Microsoft.Identity.Client/MsalErrorMessage.cs#L424
This behavior should be consistent cross-language.
Original issue:
AzureAD/microsoft-authentication-library-for-dotnet#4837
The text was updated successfully, but these errors were encountered: