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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
po
Post Prodigy
Post Prodigy

401 unauthorized message when try refresh power bi app via azure data factory/logic apps with prms

Hi,

 

Have set up logic app which allows me to refresh power bi dataset via logicapp (http request calling action refresh power bi dataset.

 

Can see it triggered and passing in 2 parameters Workspace and Dataset but says 401 unauthorized.

 

If I set up a workflow where the Workspace and Dataset are simply select in the logic app as opposed to being passed as parameters then it works o.k on same dataset.

 

Why an I getting 401 unauthorized message when try and pass the Workspace and Dataset as parameters bit not when select in teh workflow manually and how can we resolve this?

 

Thanks

 

2 REPLIES 2
GilbertQ
Super User
Super User

Hi @po 


Can you make sure that you have the right permissions and that the data source credentials are validated?

 

Can you try it with Power Automate to see if that works. If that works you can then use that same process in logic apps?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi,

 

Thanks

 

I tried calling the logic app passing the workspace and datast as guids and worked. 

 

Would have been better if could have passed them as names and logic apps caling power automate when look at the json 

 

Thanks

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.

Top Kudoed Authors