The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
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?
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