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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Not applicable

New Power BI REST API Get Available Features randomly returns 401 Unauthorized


I'm trying to call the new Get Available Features REST API method but it randomly returns 401 unauthorized. 


I have no problem calling the other methods but this one 90% of the time fails with 401 and when it doesn't fail always shows me 0 as a capacity consumption.


Any clue?


Thank you.

Helper III
Helper III

Hey sgiovinetti,


I can't help, but I can confirm that I have the same issue.


If I call another REST API with the same bearer token (e.g. GetCapacities) I get the response I expect. GetAvailableFeatures always returned 401.


You have a 90% failure rate... I say you're lucky, mine is 100%!


Edit: I did consider that maybe a new permission needs to be provisioned in Azure AD. There are two new permissions, 'View all datapools' and 'Read and write all datapools'. I've added and granted them, but hasn't had an impact on my 401 responses.

Helpful resources

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


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.