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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Nestor_Mendez
Frequent Visitor

Unable to connect to Kusto (ADX) "Access to the resource is forbidden."

I am trying to connect to my Azure Data Explorer database. My user is an Admin on the ADX database as assigned within the Azure Portal and I can run queries fine from within the ADX Queries window. When I sign in via Power BI and try to connect I can see the ADX cluster but not the databases

Nestor_Mendez_2-1686574462189.png

Nestor_Mendez_0-1686575070970.png

 

 

and If I specify the database directly in the Power BI Connection window, I get the following error...

 

Nestor_Mendez_1-1686574355139.png

 

 

Unable to connect

We encountered an error while trying to connect.

Details: "Access to the resource is forbidden."

 

Nestor_Mendez_0-1686574163703.png

 

 

1 ACCEPTED SOLUTION
Nestor_Mendez
Frequent Visitor

I found this post

https://stackoverflow.com/questions/58802770/azure-data-explorer-cluster-details-access-to-the-resou...

 

and that led me to this Azure Documentation

https://learn.microsoft.com/en-us/azure/data-explorer/kusto/management/referencing-security-principa...

 

and basically, this is what I did to solve the problem which is to add my user as an Azure Active Directory of my database, I don't understand why because I was already an admin user, but I hope this could be useful for someone else.

Nestor_Mendez_0-1686583593784.png

.add database MyDatabase users ('aaduser=MyUser@MyOrganization.com') 'User (AAD)'

View solution in original post

1 REPLY 1
Nestor_Mendez
Frequent Visitor

I found this post

https://stackoverflow.com/questions/58802770/azure-data-explorer-cluster-details-access-to-the-resou...

 

and that led me to this Azure Documentation

https://learn.microsoft.com/en-us/azure/data-explorer/kusto/management/referencing-security-principa...

 

and basically, this is what I did to solve the problem which is to add my user as an Azure Active Directory of my database, I don't understand why because I was already an admin user, but I hope this could be useful for someone else.

Nestor_Mendez_0-1686583593784.png

.add database MyDatabase users ('aaduser=MyUser@MyOrganization.com') 'User (AAD)'

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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