Warning "Have not filtered by tenant ID. This can happen in OBO scenario where authority is /common or /organizations. Please use tenanted authority." #2563
Unanswered
curiouscatgithub
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using TokenAcquisition.GetAccessTokenForUserAsync in OBO flow I'm seeing a warning as above. The token retrieval succeeds after that. The request is sent to:
GET https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fconsumers%2Foauth2%2Fv2.0%2Fauthorize
which is composed by the library, we specify "https://login.microsoftonline.com/" as Instance, "consumers" as TenantId in the confidentialClientApplicationOptions. How can we correct our settings not to hit this warning?
Beta Was this translation helpful? Give feedback.
All reactions