powerbi embedded aad token
3 TopicsPowerBI Embedded Multi Factor Authentication
Hi all, Recently I am try PowerBI Embedded. However, I followed the instructions online about setting up environment, and right now I am in the embed content for customer. I am getting a error where it says: "Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000009-0000-0000-c000-000000000000". My company have a policy to turn on the multi factor authentication so disable it is not a option in this case. Is there other ways I can work with this either within Azure or simply add a line of code in my Web.config script in Visual Studio. Thank you!! Zee1.5KViews0likes1CommentAssistance Configuring PowerBI Embedded for Azure Hosted SharePoint - multi domain users
Hi all valued community members, I need some assistance configuring, publishing and embedding a report into SharePoint. I've been researching quite a bit. We have followed a lot of the steps in this tutorial: https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-customers - We have a dashboard and report already created and published in an App workspace. The app is published and got some test account permissions. - We purchased an Embedded license and did setup the server and the resource is good to go in Azure. - I did register a new App. - However I'm not sure if that is needed, because the App I need to publish to it is a SharePoint environment which is also hosted in the same Azure tenant. Meaning that we have an registered app called "SharePoint" that is not "Native", it is a "Web App/API". - I did register a new App using the Native as we wanted only one account /Master Account that has the PowerBI license to read the content. I'm not familiar with Rest API's or how to configure it. The two things are totally disconnected right now - The published app workspace under that master account and the Registered app... My questions are: - How do I connect the two? I need a step by step? and if there is code involved, where do I place that code if it needs to be into SharePoint Page or something? - Then how do I embed the report into sharepoint??? I tried to take the link off of the report which is under File -> Embed (securly embed this report in a website or portal). The link is fine but when the users try to access it, it keeps asking them to login and purchase a PowerBI Pro license. We don't want the users to purchase a license, that's why we purchases the embedded license in the first place. - I think I'm missing the access token but with all the reading I did, I couldn't figure where and how and why! It is all new to me and my team. I know I'm missing something or there is a link or step there that needs to be configured, but not sure what it is.. for SharePoint. Assistance pleeeeaaaaase... Thank you so much in advance! -728Views0likes0CommentsSharing a PowerBI Report for Embedding JS API
Hi guys, I am new in microsoft technologies and I am trying to embed my reports in a web application. As far as I understood reading the documentation it pass through 1. Create and retrieve a token from a Registered Application in my AAD (what I did and I am able to retrieve a token) Application was created and full access to Power BI service has been granted. I also created a key I used to retrieve the token 2. Use Javascript PBI SDK to retrieve my report following the wiki https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embedding-Basics I probably missed something in my object declaration var config = { type: 'report', tokenType: models.TokenType.accessToken, accessToken: {access_token}, embedUrl: {url}, id: {report_id}, permissions: permissions, settings: { filterPaneEnabled: true, navContentPaneEnabled: true } }; Can you please confirm with me some points ? access token is the token I retrieved from my AAD created app url is the one I see when I look at my report in my pbi web interface : https://app.powerbi.com/groups/xxxxxxxx/reports/yyyyyyyyy/ report id is the yyyyyyyyy of my url Maybe I forgot an abvious step so do not hesitate to comment please. Regards533Views0likes0Comments