Forum Discussion

Dasher123's avatar
Dasher123
Frequent Visitor
4 years ago

Paginated Report Gateway Connection update using REST API

Is there a way to update Gateway Connection datasource for paginated report using Power BI REST API?
I can do this manually when logged into Power BI platform(screenshot below), but if I have over 100 reports and I need to change gateway connection data source for each report it will take a long time and can introduce human error.

For Dashboard datasets I can do this using this REST API call: https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/bind-to-gateway-in-group

Is there something similar that can be used for Paginated reports?

7 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Dasher123 ,

       

      Datasets - Bind To Gateway In Group API needs datasetID in REST API URL Parameter.

      Since paginated reports (RDL) don't have a dataset, there is not dataset ID value in paginated reports.

      As far as I know, Power BI doesn't support us to update Gateway Connection datasource for paginated report by Power BI REST API.

       

      Best Regards,
      Rico Zhou

       

      If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

      • Dasher123's avatar
        Dasher123
        Frequent Visitor

        Hi Anonymous,

         

        Thank you for the reply.

        If there isn't any REST API for paginated reports what is the best way to update Gateway if I have over 100 reports?
        Are there any PowerShell scripts?
        Are there plans to have REST API for this functionality in the future?

  • I have the same requirement - cannot find any information for how to do this - but surely it should be possible?

  • Anonymous's avatar
    Anonymous
    Not applicable

    hi i spoke with Microsoft regarding this issue last month they said that they don't have the api that doing binding between paginated report and power bi gateway

  • Anonymous's avatar
    Anonymous
    Not applicable

    Any upadte on this ?

    or any workaround?