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.
Table of Contents
- aadsts900021: requested tenant identifier ‘00000000-0000-0000-0000-000000000000’ is not valid. tenant identifiers may not be an empty guid.
- Why this error?
- aadsts900021: requested tenant identifier ‘00000000-0000-0000-0000-000000000000’ is not valid. tenant identifiers may not be an empty guid.[Solution]
- Wrapping Up
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 where I was supposed to connect to the Azure SQL database from my Power BI desktop application. I got the above error when I tried to provide my Azure credentials and hit 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

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.
aadsts900021: 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 quickly fix this error.
- Navigate to the SQL server and click on the Azure Active Directory link from the left navigation. You can see the “No active Directory admin” option is enabled.

- To set the admin, click on the Set Admin button.

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

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

Now, you have set the Azure Active Directory admin successfully. Then try to sign in again from the Power BI Desktop application to connect to the Azure SQL database; this time, you won’t get the above error.
You may also like following the articles below
- An error happened while reading data from the provider: While connecting to Azure SQL Database from Power BI
- Cannot Open Server Requested By The Login Azure SQL
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 !!!

I am Rajkishore, and I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machine, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.