Set up the Power BI dashboard
The Microsoft Power BI dashboard provides a holistic overview with visualizations and insights into the resources of your tenant: environments, apps, Power Automate flows, connectors, connection references, makers, and audit logs. Telemetry from the audit log is stored when you set up the Center of Excellence (CoE) Starter Kit, so you can identify trends over time.
Watch a walk-through (video) on how to set up the Power BI dashboard.
Which dashboard should I use?
You can get the CoE Power BI dashboard by downloading the CoE Starter Kit compressed file (aka.ms/CoeStarterKitDownload).
This file contains some Power BI template files:
- Production_CoEDashboard_MMMYY.pbit - Use this file if your Power Platform inventory data source is from cloud flows.
- BYODL_CoEDashboard_MMMYY.pbit - Use this file if your Power Platform inventory data source is from Data Export.
- PowerPlatformGovernance_CoEDashboard_MMMYY.pbit - Use this file in addition to the above dashboards to gain further actionable governance and compliance insights into your adoption.
Prerequisites
- Install the CoE core components solution.
- Set up the solution with the CoE Setup and Upgrade Wizard.
- Allow the core components solution sync flows to complete their runs.
- Configure the Audit Log solution area to see data about app usage, for example last launched.
Get the environment URL
You need the URL of the Power Platform environment where the CoE Starter Kit is installed. Power BI connects to Dataverse tables in that environment.
Go to the Power Platform admin center.
Select Environments, then choose your environment where your CoE solution is installed.
Copy the organization URL in the details window, including the
https://
prefix and the ending slash/
.If the URL is truncated, you can see the full URL by selecting See all > Environment URL.
Configure the Production and Governance Power BI dashboard
You can configure and modify the Power BI dashboard by working directly with the Power BI pbit file and Power BI Desktop. The Power BI Desktop allows you to customize your dashboard to your own branding and select only the pages or visuals you want to see.
Download and install Microsoft Power BI Desktop.
In Power BI Desktop, open the pbit file found in the CoE Starter Kit you downloaded from aka.ms/CoeStarterKitDownload.
Enter the URL of your environment instance. Include the
https://
prefix for OrgUrl. The Production_CoEDashboard_MMMYY.pbit has a Tenant Type parameter. If you're a regular commercial tenant, leave the dropdown as the default Commercial, otherwise pick your sovereign cloud.If prompted, sign in to Power BI Desktop with your organization account, containing the CoE Starter Kit environment.
Save the dashboard locally or select Publish, and choose the workspace where you want to publish your report.
Tip
If you're publishing and wish to retain the URL after each upgrade, select a name to copy over each month. For example, use Contoso CoE Governance.
Configure scheduled refresh for your Power BI Dataset to update the report daily.
You can find the report later by going to app.powerbi.com.
Configure the BYODL Power BI dashboard
Copy Azure Storage account URL
- Navigate to the Azure portal.
- Search for or select the storage account configured to receive Data Export data.
- Select Endpoints.
- Copy the Data Lake Storage URL.
- Append
/powerplatform
to the URL.
Import Power BI dataflows
Power BI dataflows can transform data from the Azure Storage account into tables that get used by the dashboard. But first, you must configure the Power BI dataflows.
Navigate to app.powerbi.com.
Select Workspaces > Create a workspace.
Provide a name and description, select Advanced, and choose Premium per user or Premium per capacity depending on what’s available in your tenant.
Select Large dataset storage format. You can also use an existing premium workspace, if available.
Note
A Power BI Premium trial is sufficient if you are only testing the integration of the Data Export feature with the CoE Starter Kit.
Select + New > Dataflow. If prompted, select No, create dataflow instead of a datamart.
Select Import Model and upload the PowerPlatformAdminAnalytics-DF.json file, which can be found in the CoE Starter Kit you downloaded.
From the workspace, select Datasets + Dataflows to see your imported dataflow.
Paste the Azure Storage account URL and make sure it ends with
/powerplatform
(no trailing slash/
).From the Queries view, select one table after the other to configure connections and sign in with your account. If creating the connection fails, try selecting Source under Applied steps to retry configuring the connection.
Select Continue when you see a notification about connecting data from multiple sources.
Select Save and Close and wait for the validation to finish.
Select Close to close the Edit tables view.
Select the overflow menu … > Settings on the dataflow.
Configure a daily schedule refresh. A good time to refresh your dataflow is just after files write to your storage account by the Data Export feature. Therefore, your dataflow runs after data is exported to your storage account.
Refresh the dataflow manually. The initial refresh might take one to two hours to run, depending on the size of your inventory. Check the Refresh history to see when the refresh completes.
Copy the Power BI workspace and dataflow ID contained in the URL. Parts of the ID are removed for security purposes in the example images, but you should see a full ID number in your URL.
Configure the Power BI dashboard
In Power BI Desktop, open the BYODL_CoEDashboard_MMMYY.pbit file found in the CoE Starter Kit you downloaded.
Enter your URL and ID.
- Enter the URL of your environment instance, including the
https://
prefix for OrgUrl. - Enter the ID to your Power BI Workspace for Power BI Workspace ID.
- Enter the ID to your Power BI Dataflow for Power BI Dataflow ID.
- If you're a regular commercial tenant, leave the Tenant Type dropdown to default, otherwise pick your sovereign cloud.
- Enter the URL of your environment instance, including the
If prompted, sign in to Power BI Desktop with your organization account that has access to your CoE Starter Kit environment.
Save the dashboard locally or select Publish and choose the workspace where you want to publish your report.
Configure scheduled refresh for your Power BI Dataset to update the report daily.
You can find the report later by going to app.powerbi.com.
Configure embedded apps in the CoE dashboard
The Production_CoEDashboard_MMMYY.pbit and BYODL_CoEDashboard_MMMYY.pbit dashboards can be configured to use embedded apps to enable you to drive action based on insights you find. With the embedded apps, you can grant yourself access to resources, delete apps and flows, and reach out to the maker through email. You must configure the Power Apps visuals in the Power BI dashboard before you can use them.
Prerequisites to configure embedded apps
- You must be an owner or co-owner of the Admin – Access this app and Admin – Access this flow apps to be able to embed them.
- Because this app uses Microsoft Dataverse, end-users must have a Power Apps Per User license, the app must be assigned a Power Apps Per App license, or the environment must be covered by pay-as-you-go.
- The user must be assigned the Power Platform Service Admin role or have admin permissions, since the app is for admins only.
Embed the apps
Open the CoE Power BI dashboard in Power BI Desktop.
Go to the Manage App Access page.
Select the existing Power Apps visual, then choose Format visual and select Reset to default.
Select Choose app.
Select the environment of your CoE, where you imported the apps.
Search for and select Admin – Access this App [works embedded in Power BI only].
Tip
The app doesn't work when browsing directly to the page, but only works when an app is sent in via a drill through.
Go to the Manage Flow Access tab and repeat the previous steps, but selecting the Admin - Access this Flow [works embedded in Power BI only] app this time.
Republish the dashboard, and view it under app.powerbi.com.
Troubleshooting
Unable to connect (provider Named Pipes Provider, error: 40 – Couldn't open a connection to SQL Server)
This error message means the connector failed to connect to the tabular data stream (TDS) endpoint. This error can occur when the URL used with the connector includes https://
and/or the ending slash /
. Remove the https://
and ending slash /
so the URL is in the form orgname.crm.dynamics.com
.
A connection was successfully established with the server, but an error occurred during the handshake before you sign in
This error message means the connector failed to connect to the TDS endpoint. This error can occur if the ports, the TDS endpoint uses, are blocked. For more information, see Ports required for using SQL to query data.
Unable to open document: The queries were authored with a newer version of Power BI Desktop and might not work with your version
This error message means you're on the current version of Power BI Desktop, select Close to continue, and set up the latest version.
Sign-in issues
When you see sign-in issues, your data source settings might be cached to the wrong user or tenant. Here are a few examples of what that might look like:
The solution in this case is to clear the permissions:
- Open Power BI Desktop.
- Select File > Options and settings > Data source settings.
- Select the data source for the connection, for example
https://mycoe.crm.dynamics.com
, then select Clear Permissions. - Try to open the Power BI template file again.
Not prompted for parameters
If you're not prompted for the input parameters like OrgURL when you open the pbit files, clear the cache:
Reopen the pbit file.
You're prompted for the input parameters.
Data source error: Information is needed in order to combine data
This error message might appear when you're using the BYODL Dashboard. The privacy settings likely aren't configured correctly. As a result, Power BI can't combine data from the Azure Storage account and Dataverse.
Change the privacy level and update the credentials to resolve the issue:
Open Power BI Desktop.
Select File > Options and settings > Options.
Select Global > Privacy and set the privacy level to Always combine data according to your Privacy Level settings for each source.
Select OK, and then select File > Options and settings > Options again.
Select Current File > Privacy and set the privacy level to Combine data according to your Privacy Level settings for each source.
Select OK.
Select File > Options and settings > Data source settings.
Select Edit Permissions and set the privacy level to Organizational for both data sources.
Save and refresh the report in Power BI Desktop.
Select Publish.
Navigate to app.powerbi.com and select your workspace.
Select Datasets + dataflows.
Select Data Source Credentials.
Select Edit credentials, set the privacy level to Organizational for both data sources, and select Sign in for each data source.
I found a bug with the CoE Starter Kit. Where should I go?
To file a bug against the solution, go to aka.ms/coe-starter-kit-issues.