The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi Team,
I need help with power bi embeding using only semantic model and service principle Name for security , need to use different visual than power bi in external site, any suggestions much appreciated.
Hi @pbidaxlearner ,
Using service principals and semantic models is ideal for secure, scalable embedding in enterprise-grade applications.Ensure the service principal has at least viewer or contributor access to the workspace hosting the semantic model. You can enforce RLS by passing the effective identity of the user when generating embed tokens. This ensures users only see data they’re authorized to view.
Refer- Security in Power BI embedded analytics - Power BI | Microsoft Learn
If you want to render visuals using a different visualization library (e.g., D3.js, Chart.js, Plotly), consider this approach:
1.Query Semantic Model via XMLA or REST API:
Use the XMLA endpoint to query the semantic model directly.
Extract the data using PowerShell, Azure Logic Apps, or custom client apps.
Semantic model connectivity and management with the XMLA endpoint in Power BI - Microsoft Fabric | M...
Automate Power BI Premium workspace and semantic model tasks with service principals - Microsoft Fab...
I hope this helps!
Hi @v-sdhruv ,
Thank you so much for reply, can you please tell in simple steps my plan is to get data from semantic model -(API) then how to connect to charts > (e.g., D3.js, Chart.js, Plotly)-then external website.
Thank you