Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
SBDEV
Regular Visitor

tenant identifier 'authorize' is neither a valid DNS name, nor a valid external domain error

Hi,

 

I'm hoping someone has some ideas, we started having this problem about a week ago.  We cannot access https://analysis.windows.net/powerbi/api used for integration to acquire a token.

 

The error message is:

AADSTS900023: Specified tenant identifier 'authorize' is neither a valid DNS name, nor a valid external domain. Trace ID: 7c84e182-7173-47de-9737-4cc3cebb4700 Correlation ID: b2eabff7-593f-4909-980f-6dfa709310ef Timestamp: 2022-09-02 02:43:25Z

 

Here is the c# code:

var authenticationContext = new AuthenticationContext("https://login.windows.net/common/oauth2/authorize/");
var authenticationResult = authenticationContext.AcquireTokenAsync("https://analysis.windows.net/powerbi/api", settings.ApplicationId, credential).GetAwaiter().GetResult();

 

Any advice would be appreciated.

 

Thanks!

4 REPLIES 4
lbendlin
Super User
Super User

You can raise an issue at https://issues.powerbi.com . If you have a Pro license you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/

Appreciate the help, I did create a ticket and they suggested I contact the community.  They are now going to assign a developer to contact us.

 

Thanks

Did you ever get a response, I am getting the same error after updating to Microsft.PowerBI.Api v 4.10.0

If this is in a corporate environment, you need to specify the corporate domain you are authenticating against.  if my user is joeblogs@contoso123.com ..... use contoso123.com in the tenant field. It worked for me. Hope it helps someone else. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.