Hi,
I tried to follow the article to migrate power bi collection to power bi embedded (article link https://docs.microsoft.com/en-us/power-bi/developer/migrate-from-powerbi-embedded). However, I got stuck very quickly.
For example, in our app, we use this nuget package (Microsoft.PowerBI.Api and powerbi.core), and these are some of our usages:
client.Reports.GetReportsAsync(this.workspaceCollection, this.workspaceId)
client.Reports.DeleteReportAsync(this.workspaceCollection, this.workspaceId, report.Id);
client.Imports.PostImportFileWithHttpMessage(this.workspaceCollection,this.workspaceId,File.OpenRead(localPath), "Main Report");
client.Datasets.GetGatewayDatasourcesAsync(workspaceCollection, workspaceId, dataset.Id);
client.Gateways.PatchDatasourceAsync(workspaceCollection,workspaceId,datasources.Value[0].GatewayId,datasources.Value[0].Id,
delta);
client.Datasets.GetDatasetsAsync(workspaceCollection, workspaceId);
As workspace collection will be retired, will we still be able to use above methods? If not, are there any alternative functions to use?
Many Thanks