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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Issue with azure resource graph query

I'm logged into powerBI and connected, I got perms within azure too. When I run this on azure query - it gives me all the virtual machines.

resources
 where type == "microsoft.compute/virtualmachines"

But when I run it powerBI I get - Details: "Please provide below info when asking for support: timestamp = 2024-06-21T13:00:47.9217043Z, correlationId = 70c68028-ee7c-46b9-93a3-c1ccbb0bf481. Details: There must be at least one subscription that is eligible to contain resources. Given: ''."
I am really unsure why, I gave it a subscription ID and it is logged into my azure.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

There must be at least one subscription that is eligible to contain resources. Given: ''." This problem generally occurs on the Azure side rather than Power BI.
Ensure that the subscription ID you're using in Power BI matches exactly with one of the subscriptions you have access to in Azure. Although you mentioned having permissions within Azure, it's worth re-verifying that your account has the necessary permissions to access the resources via Azure Resource Graph in both Azure and Power BI contexts. Specifically, ensure you have the 'Reader' role or higher on the subscription or resource group you're querying. 

And here I find some links which maybe helpful:
Troubleshoot no eligible subscriptions in the Azure portal - Microsoft Cost Management | Microsoft L...
There must be at least one subscription that is eligible to contain resources. · Issue #385 · Azure/...
Response 400 : There must be at least one subscription that is eligible to contain resources. · Issu...

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

There must be at least one subscription that is eligible to contain resources. Given: ''." This problem generally occurs on the Azure side rather than Power BI.
Ensure that the subscription ID you're using in Power BI matches exactly with one of the subscriptions you have access to in Azure. Although you mentioned having permissions within Azure, it's worth re-verifying that your account has the necessary permissions to access the resources via Azure Resource Graph in both Azure and Power BI contexts. Specifically, ensure you have the 'Reader' role or higher on the subscription or resource group you're querying. 

And here I find some links which maybe helpful:
Troubleshoot no eligible subscriptions in the Azure portal - Microsoft Cost Management | Microsoft L...
There must be at least one subscription that is eligible to contain resources. · Issue #385 · Azure/...
Response 400 : There must be at least one subscription that is eligible to contain resources. · Issu...

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.