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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Kudoed Authors