Add a Power BI View to Dynamics 365
You embed a Power BI view by referencing the Power BI element id. If you, as recommended, embed views from a group workspace you also need to reference the group id.
The easiest approach to find elements you have access to and the required CRM configuration is by going to the solution configuration page.
The configuration page lists available reports, dashboards and tiles. Both those you have access to through your personal workspace and those through group membership(s). Click preview to see how the view looks inside Dynamics 365 (note: previews are shown inside the configuration page).
On-premise and using Edge? The security in Edge prevents communication between the webresource and the authentication popup if they are not in the same security zone You have two options; 1: Add “https://login.microsoftonline.com” to the same zone as your CRM instance, or 2: Disable protected mode on the security zone. This must be changed for all users.
The following example uses a report, but the exact same procedure applies to dashboard and tiles.
When you have found the report you want to use you need to copy the configuration values. Click the clipboard icon to copy the configuration values to the clipboard.
- Next create a new dashboard and add the web resource named ‘his_/powerbi/viewer.html’.
- Give the resource a meaningful name and label.
Paste the configuration from step 1 into ‘Custom parameter (data)’.
- Save and publish the dashboard.
- You are done! The result should be similar to the image below.
The parameter constructs are:
Remove groupid including brackets when embedding a personal view.