microsoft / Analysis-Services

Git repo for Analysis Services samples and community projects
MIT License
607 stars 416 forks source link

AADSTS900023: Specified tenant identifier 'authorize' is neither a valid DNS name, nor a valid external domain. #194

Closed fassetar-work closed 3 months ago

fassetar-work commented 1 year ago

https://github.com/microsoft/Analysis-Services/blob/2e3df0061de5c5c181ac0fcfe0f344779cc893a5/RestApiSample/RestApiSample/Program.cs#L70

Error: Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: 'AADSTS900023: Specified tenant identifier 'authorize' is neither a valid DNS name, nor a valid external domain.

I get this error when I place my tenant id.

andrew-collset commented 1 year ago

I am experiencing the same error. Could anyone advise?

andrew-collset commented 1 year ago

?

I took oauth2/authorize";

off the end of the URL and it worked.

christianwade commented 3 months ago

Sorry I missed this. If problem still persists, please open a CSS ticket as this is core AS functionality.