cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Update credentials using API after PostImportWithFileInGroup

Hi!
I am attempting to copy a PowerBI report & datasource that successfully connects to Azure Table & Blob data sources.

After retrieving the file with ExportReportInGroupWithHttpMessagesAsync() and posting back with PostImportWithFileInGroup(), I can see the file in the workspace.

Programatically calling RefreshDatasetInGroupAsync() fails however because the credentials for the datasources have not been copied as well? Is there a way to do this using the SDK and without resulting to manually calling the REST APIs?

 

I see threads like this https://community.powerbi.com/t5/Developer/Unable-to-update-dataset-credentials-after-uploading-a-pb... indicating the solution is to use the REST APIs but that's three years old.

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021