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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
rohith351
Regular Visitor

Error while calling Dataflow: schedule refresh API using service principle..

I created an application in the azure active directory and created a secret principle for it. And I created a new security group and added the new applications secret as a member. And these pre-requirements are for calling a rest API on power Bi.
I then added the security group to the required workspace by assigning a role as admin in the workspace, so that the app can able to edit the objects in the workspace.

Coming to API calling with the app, everything went fine like dataset and group level except DATAFLOW level.

Coming to the Dataflow level, refresh API works fine but schedule refresh API  is returning an error, and the status code of error is 500 and the message of the error is "An error occurred."

And the same thing happened for Dataflow update API"  also does not work with service principle and returned an error and the error message for this API is "DataflowUnauthorizedError".

Note:  we should not use a username and password for calling API. 

Please Help I tried my level best But it is taking a too long time. 

 

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hi @rohith351 ,

 

You could try to create a support ticket. If you have a Pro account it is free.

https://powerbi.microsoft.com/en-us/support/ 

Support_Ticket.gif

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

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.

Top Kudoed Authors