Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Taking over the Paginated report removes the gateway settings

Hi, 

 

We are working on a script to update data source connections of multiple reports.  When we use the below API to take over the report and update data sources, the gateway settings are reset. Is there any way to add gateway to the paginated report data source from PowerBI rest api.

 

Reports - Take Over In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

1 ACCEPTED SOLUTION

Hi, @Anonymous 

In my understand about the "The user must be the data source owner." , you can try to ask the data source owner give you also the "Owner" role for this data source to check if it can be modified.

vyueyunzhmsft_0-1691113175699.pngvyueyunzhmsft_1-1691113187063.png

vyueyunzhmsft_2-1691113231620.png

For this , you can also refer to :
Add or remove a gateway data source - Power BI | Microsoft Learn

Additional gateway security roles for Power BI | Microsoft Power BI Blog | Microsoft Power BI

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

hi @v-yueyunzh-msft

 

I tried using the update data source api, but its not allowing me to update the data source without taking over the report.  It mentions a limitation that only the data source owner cant update the data source.

 

rajeshrj84_0-1691112367575.png

 

Hi, @Anonymous 

In my understand about the "The user must be the data source owner." , you can try to ask the data source owner give you also the "Owner" role for this data source to check if it can be modified.

vyueyunzhmsft_0-1691113175699.pngvyueyunzhmsft_1-1691113187063.png

vyueyunzhmsft_2-1691113231620.png

For this , you can also refer to :
Add or remove a gateway data source - Power BI | Microsoft Learn

Additional gateway security roles for Power BI | Microsoft Power BI Blog | Microsoft Power BI

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

v-yueyunzh-msft
Community Support
Community Support

Hi , @Anonymous 

Based on my test and research, whenever we took over one dataset from one user to another user, the dataset setting won't be saved for the previous user and we need to configure them again for the security reason, so if there's a chance to skip the take over dataset process but directly using the update data sources/ update gateway kind of these rest APIs and checking if they can meet your automatic requirement?

Reports - Update Datasources In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Gateways - Update Datasource - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors