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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.