Forum Discussion

castrom's avatar
castrom
Frequent Visitor
1 year ago
Solved

Change data source connection strings in Power BI reports with PowerShell

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 c...
  • Anonymous's avatar
    Anonymous
    1 year ago

    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.