Closed victorfrye closed 3 days ago
I opened a draft PR because this seems like a simple fix with a potentially newer EndpointType of OAuthEndpointType.ProductionMSIdentityV2_MSScope
wasn't included in the conditionals to replace common tenant with the actual.
I just merged the PR. Thank you for fixing it!
Describe the bug When trying to request an access token for
msads.manage
scope and a tenant other than `common``, the request is using the common endpoint and may fail if the application is registered in a single tenant.To Reproduce
RequestAccessAndRefreshTokensAsync
with the following example error message:Additional context