Hi, I have a requirement for automatically without user interaction exporting and saving a powerbi paginated report to a shafed drive path. For this, i performed all these steps,
i am using powerbi SDK in my C# consile application which is using three Api calls ExportToFileInGroup(), ExportToFileStatusInGroup(), GetFileOfExportToFileInGroup().
I have created a service principal with Tenant.Read.All application permissions and other delegated permissions too.
I have added the service principal in a security group and enabled api authentication in power bi tenant settings.
Added service principal as a admin in workspace.
Workspace is of premium capacity.
Issue: when i am calling ExportToFileInGroup(), it is returning a Export object with status 'NotStarted' but in next line
when i am asking for ExportToFileStatusInGroup(), it is giving 'Failed' status without any runtime error.
Please help me with this issue if you have any solution.
Hi @Codehustler ,
Is there any error message details? Please check if you hit any following limitations:
Please help with solutions.
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.