Forum Discussion

d_u_a's avatar
d_u_a
Helper I
8 years ago
Solved

Report Embed to App for Customers

I have some questions that i didn't understand clearly from documentation. 


1) I 'm using Power Bi Pro with my company mail . Currently i can't access to our company Azure Active Directory with my company mail ([email protected]) because of security process so I opened an Azure acount with my individual account ([email protected]) and i will create an app in azure to get accessToken to embedding . 
My question : My Power Bi Pro acoount mail (company mail) is different from Azure account mail (individual mail) , Is it a problem for embedding my reports ? Should two mail be the same in Azure and Power Bi Pro account to embed my reports?

2)When embedding reports to App for customer can i use only Javascript Api or should i use Rest api and Javascript Api together ?
I made a demo project with using this link :  https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html  .
So i only used Javascript Api but if i develop for my customer is it enough to use Javascript Api like this example ?

2 Replies