This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Thanks for replying.
I have reviewed all of the links you provided.
I tried the suggestions in all, with no success.
I am first trying to disable a scheduled Direct Query Refresh in the Leaning Microsoft test page.
And this is also not working here either.
I am using the exact JSON body in the example:
Hi @mbutler71 ,
Make sure that your request contains all required parameters and that the access token used has the necessary permissions (The user must be the dataset owner).
There may be issues with the body of the request, be careful with how the attributes are set, make sure there are no trailing commas or syntax errors in the actual body of the request to be sent, and the JSON structure needs to conform to the API's expectations.
This is the related document, you can view this content:
Solved: Re: Power BI API doesn't disable Direct Query, but... - Microsoft Fabric Community
What is the correct JSON body to disable PowerBi Schedule Refresh via API - Stack Overflow
Solved: Keep getting a 400 Bad Request error when trying t... - Microsoft Fabric Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |