Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I'm trying to automate PowerBI reports deployment using Azure Pipelines and PowerShell.
I am able to connect to PowerBI using Connect-PowerBIServiceAccount and a service principal.
I also can list workspaces and existing reports.
My next task is to change the data source connections. I have been following this MS documentation https://learn.microsoft.com/en-us/power-bi/report-server/connect-data-source-apis but when I try the following:
Solved! Go to Solution.
Hi, lbendlin .Thanks for your concern about this issue.
Your answer is excellent!
And I would like to share some additional solutions below.
Hello,@castrom .I am glad to help you.
It looks like you are trying to implement a report data source change on Power BI Service (not Report Server)
Hopefully the following API link will help you out
URL:
Gateways - Update Datasource - REST API (Power BI Power BI REST APIs) | Microsoft Learn
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, lbendlin .Thanks for your concern about this issue.
Your answer is excellent!
And I would like to share some additional solutions below.
Hello,@castrom .I am glad to help you.
It looks like you are trying to implement a report data source change on Power BI Service (not Report Server)
Hopefully the following API link will help you out
URL:
Gateways - Update Datasource - REST API (Power BI Power BI REST APIs) | Microsoft Learn
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @lbendlin ,
I think I just realised that the instructions here are for a PowerBI on prem setup.
We are using the PowerBI app in Azure, so I don't think we have a PowerBI Reports Server.
I will try another approach now, by using the PowerBI Rest APIs.
Thanks for coming back to me though.
Please confirm if you indeed are attempting to do this for Power BI Report Server.
User | Count |
---|---|
3 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
9 | |
4 | |
3 | |
3 | |
2 |