You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The confidential.Client constructor confidential.New() doesn't require an authority and "common" is its default tenant. We could make calling New() without an authority argument a runtime error but making it a compile-time error requires a new constructor.
The text was updated successfully, but these errors were encountered:
Not that you can change the tenant id when making the request, you cannot throw in the confidential ctor. You can only throw after you resolve the tenant id.
Note that this validation needs to happen as part of AcquireToken* API, as the CCA object may be configurd with "login.microsoft.com/common" but the modified WithTenant used in the acquire method.
The
confidential.Client
constructorconfidential.New()
doesn't require an authority and "common" is its default tenant. We could make callingNew()
without an authority argument a runtime error but making it a compile-time error requires a new constructor.The text was updated successfully, but these errors were encountered: