Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I am trying to export a power BI embedded report to pdf or pptx.
I am following this link of the documentation:
https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to
It seems to fit what i need but there are some complications i don't understand.
It doesn't seems to address the complexity of creating the object Client:
// The 'Client' object is an instance of the Power BI .NET SDK
var export = await Client.Reports.ExportToFileInGroupAsync(groupId, reportId, exportRequest);
this seems to be an object of the class PowerBIClient, that to be instanziated needs a Uri and a TokenCredential.
For obtaining this token it seems that the only way is to have the report as an app on Azure AD.
Here my question: is this true? The only way to authenticate is to have an app on Azure AD, or i can export the report even without it?
Solved! Go to Solution.
Hi @gbiscini
Export report from Power BI Embed need authentication.
You can authenticate using a user (or master user) or a service principal.
For reference: Export Power BI embedded analytics reports API - Power BI | Microsoft Docs
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.
Hi @gbiscini
Export report from Power BI Embed need authentication.
You can authenticate using a user (or master user) or a service principal.
For reference: Export Power BI embedded analytics reports API - Power BI | Microsoft Docs
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.
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
3 |
User | Count |
---|---|
14 | |
9 | |
5 | |
5 | |
4 |