Forum Discussion
Power BI workspace creation using API
- 1 year ago
HI jaineshp
We have achieved the target.
Please note that Power BI roles renamed to Fabric.
https://powerbi.microsoft.com/en-us/blog/power-bi-administrator-role-will-be-renamed-to-fabric-administrator/
Steps performed is
1. Workload identity configuration in AKS cluster2. Assign Fabric Administrator role
3. Tenant Setting Location
The setting "Allow service principals to use Power BI APIs" is found at:
- Power BI Admin Portal → Tenant settings → Developer settings
- Look for "Allow service principals to use Power BI APIs"
4. Add UAMI to capacity group in azure
Thank you all..
Hey Koteswara,
Let me clarify the same.
1. Power BI Service Administrator Role
This is not an Azure AD role but a Power BI-specific admin role. Your IT team needs to:
- Go to Microsoft 365 Admin Center → Roles → Role assignments
- Look for Power BI Administrator (not "Power BI Service Administrator")
- Or assign Global Administrator which includes Power BI admin rights
2. Tenant Setting Location
The setting "Allow service principals to use Power BI APIs" is found at:
- Power BI Admin Portal → Tenant settings → Developer settings
- Look for "Allow service principals to use Power BI APIs"
- This must be enabled and the UAMI should be added to the security group allowed to use this setting
3. Alternative Approach - API Permissions
Instead of Power BI admin role, you can assign Microsoft Graph API permissions to the UAMI:
Required API Permissions:
- Tenant.Read.All (for reading tenant info)
- Dataset.ReadWrite.All (for dataset operations)
- Dashboard.ReadWrite.All (for dashboard operations)
- Report.ReadWrite.All (for report operations)
Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
Best regards,
Jainesh Poojara / Power BI Developer
HI jaineshp
We have achieved the target.
Please note that Power BI roles renamed to Fabric.
https://powerbi.microsoft.com/en-us/blog/power-bi-administrator-role-will-be-renamed-to-fabric-administrator/
Steps performed is
1. Workload identity configuration in AKS cluster
2. Assign Fabric Administrator role
3. Tenant Setting Location
The setting "Allow service principals to use Power BI APIs" is found at:
- Power BI Admin Portal → Tenant settings → Developer settings
- Look for "Allow service principals to use Power BI APIs"
4. Add UAMI to capacity group in azure
Thank you all..