[Bug] TenantId Not Overridden in AcquireTokenInteractive When Using Public Client with WithTenantId #5258
Labels
needs attention
Delete label after triage
Possible-Solution
public-client
Similar-Issue
untriaged
Do not delete. Needed for Automation
Library version used
4.69.1.0
.NET version
.NET 8.0.8
Scenario
PublicClient - desktop app
Is this a new or an existing app?
The app is in production, I haven't upgraded MSAL, but started seeing this issue
Issue description and reproduction steps
When using the AcquireTokenInteractive method in MSAL.NET and passing the TenantId (either organisation or consumers), the expected behavior of overriding the tenant ID does not occur. The authentication flow defaults to the common tenant, even when a specific TenantId is passed during the interactive token acquisition.
Relevant code snippets
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response
The text was updated successfully, but these errors were encountered: