Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
How to Login automatically the PowerBI embedded using LDAP (active directory) credentials. Using Power BI JavaScript API. I am using below embed code. (Iframe embedding) I want to avoid Login button and popup. Please help.
url = "https://app.powerbi.com/reportEmbed?reportId=GUID&autoAuth=true&ctid=GUID"
document.write(
"<iframe class='hero' title='Power BI Dashboard' id='myiframe' src='"+ url +"' frameborder='0' allowFullScreen='true'></iframe>"
)
Thanks
Solved! Go to Solution.
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi, @abksharma
I share the same view as lbendlin and additionally recommend using a service principal for the Power BI embedded solution to “Embed for your customers”.
1.Here are the differences between “Embed for your customers” and “Embed for your organization”:
“Embed for your customers” perfectly avoids the need for Power BI account authentication, making it more suitable for your needs.
For detailed information, please refer to:
2.Below are the differences between service principal and master user authentication methods:
Therefore, we recommend using service principal authentication.
For detailed information, please refer to:
3.Please note that what you are currently using is only suitable for testing. For production use, you will need to upgrade your capacity:
For detailed information, please refer to:
Capacity and SKUs in Power BI embedded analytics - Power BI | Microsoft Learn
4.Of course, we also provide convenient testing tools:
Power BI Playground - Explore our APIs
For detailed information, please refer to:
What is the Power BI embedded analytics playground - Power BI | Microsoft Learn
Of course, if you have any new ideas, you are welcome to contact us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi, @abksharma
I share the same view as lbendlin and additionally recommend using a service principal for the Power BI embedded solution to “Embed for your customers”.
1.Here are the differences between “Embed for your customers” and “Embed for your organization”:
“Embed for your customers” perfectly avoids the need for Power BI account authentication, making it more suitable for your needs.
For detailed information, please refer to:
2.Below are the differences between service principal and master user authentication methods:
Therefore, we recommend using service principal authentication.
For detailed information, please refer to:
3.Please note that what you are currently using is only suitable for testing. For production use, you will need to upgrade your capacity:
For detailed information, please refer to:
Capacity and SKUs in Power BI embedded analytics - Power BI | Microsoft Learn
4.Of course, we also provide convenient testing tools:
Power BI Playground - Explore our APIs
For detailed information, please refer to:
What is the Power BI embedded analytics playground - Power BI | Microsoft Learn
Of course, if you have any new ideas, you are welcome to contact us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
One More Question, Will RLS (row level security) work in this case or it will stop working?
Thanks in advance.
Hi,@abksharma
Thank you for your prompt response.
Your question is excellent, and it has indeed been considered by our clever engineers.
Below are the relevant documents, which I hope you find helpful:
Using standard cloud based row-level security with embedded content in Power BI embedded analytics -...
Of course, if you have any new ideas, you are welcome to contact us.
Best Regards,
Leroy Lu
Power BI embedded analytics overview - Power BI | Microsoft Learn
You would have to use the actual Embedded setup, not just the iframe.
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |