Forum Discussion
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.
That's likely not what you are after.
Datasets - Get Refresh Schedule In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
3 Replies
- lbendlinSuper 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.
- ANA_3BRUMFrequent 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-group
- lbendlinSuper User
That's likely not what you are after.
Datasets - Get Refresh Schedule In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn