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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
ANA_3BRUM
Frequent Visitor

Semantic Model Scheduling API

I'm making a call to the REST API to get the scheduled refresh time, but it's giving me an invalid credential error, but I'm the Power BI administrator and it looks like I have the required permissions. Any suggestions?
Details in the REST API Give it a try and the query will run normally.

ANA_3BRUM_0-1726658609509.pngANA_3BRUM_1-1726658650541.png

 

1 ACCEPTED SOLUTION
3 REPLIES 3
ANA_3BRUM
Frequent Visitor

I don't have the skills to create the connector, but the token appears to be correct, as other queries work.
look:

The api i´m trying to connect to is https://learn.microsoft.com/pt-br/rest/api/power-bi/datasets/get-direct-query-refresh-schedule-in-gr...

lbendlin
Super User
Super User

evaluate the token with jwt.io - most likely the scope is missing.

 

Warning: Power BI REST API calls usually require a custom connector that understands AAD.

https://github.com/migueesc123/PowerBIRESTAPI

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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