Requested tenant identifier ‘00000000-0000-0000-0000-000000000000’ is not valid.

In this Azure article, we will discuss how to fix the error “Requested tenant identifier ‘00000000-0000-0000-0000-000000000000’ is not valid. Tenant identifiers may not be an empty GUID” which I got while trying to connect to Azure SQL Database from the Power BI desktop application.

Requested tenant identifier ‘00000000-0000-0000-0000-000000000000’ is not valid. Tenant identifiers may not be an empty GUID

Recently, I was working on a task where I suppose to connect to the Azure SQL database from my Power BI desktop application. The moment I tried to provide my Azure credentials and hit on the sign-in button, I got the above error.

Below is the complete error message that I got.

Sorry, but we’re having trouble signing you in.

AADSTS900021: Requested tenant identifier ‘00000000-0000-0000-0000-000000000000’ is not valid. Tenant identifiers may not be an empty GUID.

You can see it here

Requested tenant identifier '00000000-0000-0000-0000-000000000000' is not valid.

Why this error?

We are getting this error because the user is not set as Azure Active Directory admin yet with whom we are trying to connect to the Azure SQL database.

Requested tenant identifier ‘00000000-0000-0000-0000-000000000000’ is not valid. Tenant identifiers may not be an empty GUID [Solution]

You can use the below simple steps to set the user as the Active Directory admin which will quikly fix this error.

  • Navigate to the SQL server and click on the Azure Active Directory link from the left navigation. You can able to see the “No active Directory admin” option is enabled.
Tenant identifiers may not be an empty GUID
  1. To set the admin, click on the Set admin button.
Requested tenant identifier '00000000-0000-0000-0000-000000000000' is not valid

2. Select the AAD DC Administrators option, click on the Select button.

Requested tenant identifier '00000000-0000-0000-0000-000000000000' is not valid. Tenant identifiers may not be an empty GUID

3. Then make sure to click on the Save button to save the changes.

Requested tenant identifier '00000000-0000-0000-0000-000000000000' is not valid error solved

Now, you have set the Azure Active Directory admin successfully. Then go and try sign in again from the Power BI Desktop application to connect to the Azure SQL database and this time you won’t get the above error.

You may also like following the below articles

Wrapping Up

This is the way you can fix the error Requested tenant identifier ‘00000000-0000-0000-0000-000000000000’ is not valid. Tenant identifiers may not be an empty GUID” using the above instructions. Thanks for reading this article !!!