In order to connect Metaplane to your Power BI instance, you will need to create a service principal and give it Power BI admin API access so that Metaplane can access Power BI.
- Sign into Microsoft Azure
- Search for 'App registrations'
- Click 'New registration'
- Fill in required fields and register an application for Metaplane
- Copy the Application (client) id somewhere safe
- Find 'Certificates & secrets' in sidebar
- Click 'New client secret'
- Add a secret for Metaplane
- Copy the secret value somewhere safe
- Search for 'Azure Active Directory'
- Find 'Groups' in the sidebar
- Click 'New group'
- Create new group for the Metaplane application
- Click into the newly created group - you may need to refresh the page for it to show up
- Find 'Members' in the sidebar
- Click 'Add members'
- Find the previously created Metaplane application and add as a member
- Go to the Power BI Admin portal
- In Tenant settings, find 'Developer settings'
- Enable 'Allow service principals to use Power BI APIs' for your security group
- In Tenant settings, find 'Admin API settings'
- Enable 'Allow service principals to use read-only admin APIs' for your security group
- Enable 'Enhance admin APIs responses with detailed metadata' for your security group
- Enable 'Enhance admin APIs responses with DAX and mashup expressions' for your security group
- From the sidebar, click 'Workspaces' to open the Workspaces pane
- For each workspace you want Metaplane to have to access to, open the 'Access' panel by clicking the three vertical dots and selecting ' Workspace access'
- In the 'Access' panel, grant access to your service principal. Search by the application name to find the service principal.
Navigate to 'Add connection' and click the Power BI card under 'Business Intelligence'
Insert your tenant id, application client id and secret value
Updated about 2 months ago