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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

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

Hi,

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.

1 REPLY 1
jimmcslim
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

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.