Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
we are deploying our PowerBI Reports / Datasets via DevOps and using a Service Principal. This works fine.
I am developing the reports locally with my personal organization account. We are connecting to an Azure SQL Database as a source in import mode.
Once I use the service principal for the deployment, the service principal takes ownership of the dataset i.e. I can't perform any refreshes as the service principal can't access the connection string information.
I receive "Scheduled refresh is disabled because at least one data source is missing credentials."
My idea was to use the same service principal to change the connection string in the dataset automatically after the deployment. Is there a nice way to do that ? I found this resource:https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/setalldatasetconnections but it's deprecated.
Solved! Go to Solution.
Hi yingyinr,
the issue could be resolved by manually taking ownership and change the data source connection manually.
Hi @Anonymous ,
Please check if hit any following limitations when using Service Principal:
In addition, hope the following documentations can help you.
Dataset refresh error Service principal
Best Regards
Rena
Hi yingyinr,
the issue could be resolved by manually taking ownership and change the data source connection manually.
Hi @Anonymous ,
Thanks a lot for sharing your solution. It will be very helpful for the others in the community when they face the same problem with you.
Best Regards
Rena
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.