aadsts900021: requested tenant identifier ‘00000000-0000-0000-0000-000000000000’ is not valid. tenant identifiers may not be an empty guid.

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

aadsts900021: 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 that required me to connect to an Azure SQL database from my Power BI desktop application. I encountered the above error when I attempted to provide my Azure credentials and clicked the sign-in button.

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 encountering this error because the user has not been set as an Azure Active Directory admin yet, with whom we are trying to connect to the Azure SQL database.

Solution

You can use the steps below to set the user as an Active Directory admin, which will quickly resolve this error.

  • Navigate to the SQL server and click on the Azure Active Directory link from the left navigation. You can see that the “No active Directory admin” option is enabled.
aadsts900021
  1. To set the admin, click on the Set Admin button.
00000000-0000-0000-0000-000000000000

2. Select the AAD DC Administrators option and click the Select button.

requested tenant identifier is not valid

3. Then, click the Save button to save the changes.

aadsts900021: requested tenant identifier '00000000-0000-0000-0000-000000000000' is not valid. tenant identifiers may not be an empty guid.

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

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 !!!

You may also like the following articles below

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!