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.
Hi I am trying to generate PPT and Image from the Power BI Report (Embbed in Web Page). I have gone through the below video and following the provided the Steps.
https://www.youtube.com/watch?v=ybWWTVt_guA
I am facing some issues. Please help me out
Question No-1. Where can I find the "public-application-id" ?
Question No-2. Where can I find the "tenant-name" but I have found "tenant id" in azure portal ?
Question No-3. Where can I find the "confidential-application-id" but I have found "application-id" in azure portal ?
Question No-4. Where can I find the "confidential-application-secret" ?
Question No-5. When I pass the workspaceName ,it does not accept and shows the Inner Exception Number 1 and 2 ?
Question No-6. where can I find paginatedReportName?
Inner Exception 1:
AggregateException: One or more errors occurred. (A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000215: Invalid client secret is provided.
Trace ID: c8fd414b-c070-452d-bf63-c689b67af700
Correlation ID: 83b02cb2-2f8e-4ca8-b8cc-70a6844bfe35
Timestamp: 2022-01-14 12:22:56Z)
Inner Exception 2:
MsalServiceException: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000215: Invalid client secret is provided.
Trace ID: c8fd414b-c070-452d-bf63-c689b67af700
Correlation ID: 83b02cb2-2f8e-4ca8-b8cc-70a6844bfe35
Timestamp: 2022-01-14 12:22:56Z
With Regards
Bipin Kumar
Email Id - bipinksingh82@gmail.com
Mobile Number - 8860191188
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @spc-powerb
There are two kinds of Embed solutions. One is called Embed for your customers, and another is called Embed for your organization. To learn the differences between these two solutions to help you make a better choice, you can read this official document. And both of them have some requirements, and you can refer to Prerequisites for Embed for your customers and Prerequisites for Embed for your organization.
And the Embed processes are always like this.
Question No-1. Where can I find the "public-application-id" ?
As mentioned above, you need register an application in Azure portal. Once you complete the register, you can get it in it by Home>App registrations>Find your application and its application id.
Question No-2. Where can I find the "tenant-name" but I have found "tenant id" in azure portal ?
You can search Azure Active Directory in Azure portal and go to the Overview page or your tenant. Then, you will see it.
Question No-3. Where can I find the "confidential-application-id" but I have found "application-id" in azure portal ?
If you are embedding for your customers and you determine they need to be authenticated with a service principal. Normally, you need do an operation called Create Client secret. And the Secret ID should be the confidential application id.
Question No-4. Where can I find the "confidential-application-secret" ?
It should be the Client secret Value in the following screenshot.
Question No-5. When I pass the workspace Name ,it does not accept and shows the Inner Exception Number 1 and 2 ?
As the error information said you don’t provide invalid client secret. Please check according to the Embed processes above to provide proper information to run it.
Question No-6. where can I find paginated Report Name?
You can find the name of your report or Paginated report in its workspace in Power BI service(app.powerbi.com) if you have publish it to Power BI service(app.powerbi.com).
If you don’t have paginated report, you can download a sample paginated file for test by this link.
In addition, please refer to this blog to learn how to use Power BI Rest API to export your report to PDF.
Best Regards,
Community Support Team _ Caiyun