March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
6 | |
3 | |
2 | |
2 | |
2 |