Forum Discussion
dkDinesh2810
1 year agoFrequent Visitor
How to Register Service Principle in Tenet level Power BI Admin
Hi, How to register a Service Principal at the tenant level instead of the workspace level in power Bi? For example, we have a Service Principal created for three connections: DEV connection Pre...
Poojara_D12
Super User
1 year agoHi dkDinesh2810
To register a Service Principal at the tenant level in Power BI, follow these steps:
Key Steps:
Enable Service Principal for the Tenant:
- In the Power BI Admin Portal, under Tenant Settings, enable Allow service principals to use Power BI APIs.
- Specify security groups containing the Service Principals for proper scoping.
Grant API Permissions:
- In Azure Active Directory (Azure AD), locate the Service Principal.
- Assign the required Power BI API permissions (e.g., Power BI Service.Read.All, Dataset.ReadWrite.All) and grant admin consent.
Configure Data Source Connections:
- Service Principals work at the tenant level, not workspace-specific, for API calls and automations.
- However, data source-specific configurations (e.g., DEV, Pre-Prod, Prod) are still managed within respective workspaces or datasets.
- Use automation scripts (via PowerShell or REST APIs) to assign Service Principal permissions to individual workspaces and configure their connections.
Alternative: Use a centralized workspace or a deployment pipeline to manage DEV, Pre-Prod, and Prod connections with the Service Principal.
Important Notes:
- Power BI currently doesn’t offer direct tenant-level configuration for connections. Each connection must be set up per workspace or dataset.
- Use tools like PowerShell and APIs to automate and streamline the configuration across environments.
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂
Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Please Subscribe my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS