Search Results :

×

How to Embed Power BI Dashboards on a WordPress Site?

Organizations that need to display Power BI data in WordPress require a reliable way to connect their Microsoft Power BI environment with their site, especially because WordPress doesn’t offer a native solution for this.

The miniOrange WordPress Power BI plugin helps you integrate Power BI dashboards, reports, tiles, and datasets directly into WordPress pages or posts.

In this setup guide, we walk you through connecting WordPress to Power BI, configuring Azure AD permissions, enabling Row Level Security (RLS), and generating shortcodes to publish your Power BI reports smoothly.

Before starting the Power BI WordPress setup, make sure you have the following in place:

  • Azure AD Global Administrator access
  • miniOrange Power BI Embed plugin installed on your WordPress site
  • Power BI Pro or Premium account, depending on your embedding method
  • Log in to the Azure AD Portal as an Administrator.
  • The home screen of Azure Active Directory appears.
  • Under the Azure Services section, click Microsoft Entra ID.
Connect WordPress to Power BI |  New registrations

  • In the left navigation pane, under the Manage section, click App registrations.
Connect WordPress to Power BI |  New registrations

  • Click New registration.
Connect WordPress to Power BI |  New registrations

  • Enter a display name in the Name field and select the appropriate account type.
  • In the Redirect URI field, enter the URL of the WordPress site and click Register.
Connect WordPress to Power BI |  Register registrations

  • After registration, Azure AD assigns a unique application ID to the application.
  • Open the Overview tab in the left pane.
  • Copy the Application ID and Directory ID. These are used as the Client ID and Tenant ID.
Connect WordPress to Power BI |  Endpoints

  • In the left navigation pane, open Certificates & secrets tab.
  • Click on New client secret, provide a description and expiration period, and then click Add.
Connect WordPress to Power BI |  Client secret

  • Copy the Secret Value displayed on the screen. This value will no longer be visible once the page changes, so save it in a secure location.
Note and Contact Us - How to Embed Power BI Dashboard

Note: Confirm that the copied value is the Client Secret Value, not the Secret ID, as shown in the image.


Connect WordPress to Power BI | Secret Key

Add API Permissions to your Azure AD Application
  • In the left navigation pane, open API Permissions, then click Add a permission.
Connect WordPress to Power BI |  Add a permission

  • Select Microsoft Graph under the Microsoft APIs tab.
Connect WordPress to Power BI |  Add a permission

  • Select Application Permissions and search for User.
Connect WordPress to Power BI |  Select permission

  • Under User, select User.Read.All, then click Add Permissions (Microsoft Graph).
Connect WordPress to Power BI |  Select permission

  • Click Add a permission again.
Connect WordPress to Power BI |  Select permission

  • Click Power BI Service.
Configure Power BI for WordPress Website |  Select permission

  • Select Delegated Permissions and search for Report.
Configure Power BI for WordPress Website |  Select permission

  • Under Report, select Report.Read.All, then click Add Permissions.
Configure Power BI for WordPress Website |  Select permission

  • Click Grant admin consent for Default Directory.
Configure Power BI for WordPress Website |  Select permission

  • In the pop-up window, click Yes.
Configure Power BI for WordPress Website |  Select permission

  • Refer to the image below to confirm that all configured permissions match the required settings shown in the example.
Configure Power BI for WordPress Website |  Select permission

  • Now in the Azure AD Portal, navigate to Home >> Users tab, then select a specific user from the list.
  • In the user details pane, locate the User principal name (UPN) and Object ID. Keep these details for plugin testing. (You can also use your own office365 email in the UPN field.)
Configure Power BI for WordPress Website |  UPN

  • The Azure AD application is now successfully configured.
  • Go to the Power BI dashboard and log in as an Administrator.
  • The Power BI home screen appears.
  • In the top-right corner, click the Settings icon.
Setup guide for Power BI on WordPress | click on icon

  • Under the Settings pane, click Admin portal.
Setup guide for Power BI on WordPress | click on admin portal

  • In the Admin Portal section, scroll to Tenant settingsand locate the Developer settings area.
  • In the Tenant Settings section, under Developer settings, click Service principals can use Fabric APIs.
Setup guide for Power BI on WordPress | click on Sevice principal

  • Enable the toggle, select Apply to The entire organization, and then click Apply.
Setup guide for Power BI on WordPress | Enable service principal

  • Click Allow service principals to create and use profiles.
Setup guide for Power BI on WordPress | click on admin portal

  • Enable the toggle, select Apply to the entire organization, and then click Apply.
Setup guide for Power BI on WordPress | Enable the toggle

  • Return to the Home page, select Workspaces from the left pane, and then select your workspace from the list.
Setup guide for Power BI on WordPress | Select Workspaces

  • In the navigation bar, click Manage Access.
Setup guide for Power BI on WordPress | Navigate to access tab

  • When you click on Manage Access, you will be presented with a screen showing the current users and security groups having access to the workspace.
  • Next, click Add people/groups, search for the Azure AD application created earlier, and select it to provide access.

Note and Contact Us - How to Embed Power BI Dashboard

Note: In the setup guide, the sample application name is Test_application; replace this with the actual name of the configured Azure AD application to grant access.


Setup guide for Power BI on WordPress | Select dropdown option

  • After that, Select Admin from the dropdown list and click Add.
Setup guide for Power BI on WordPress | Select dropdown option

  • Once the application is added, open the report that needs to be embedded in a WordPress page or post.
  • Copy the Workspace_ID and Report_ID from the report URL (see image below), and keep them handy as they will be required later.
Setup guide for Power BI on WordPress | Copy the IDs


Step 3: Configure and View Power BI Content using SSO

  • Go to the Embed Power BI Reports plugin in your WordPress dashboard.
  • Under the Manage Application tab, enter the following details:
Setup guide for Power BI on WordPress | Click on Add New

Application ID Paste the Application ID from Azure AD App.
Client Secrets Paste the Client Secret from the Azure AD App.
Redirect URI Enter the URL of your WordPress site.
Tenant ID Paste the Directory ID from Azure AD App.
  • To test the connection, enter a User Principal Name (UPN) or Object ID in the Test UPN/ID field and click Save.
  • If the configuration is successful, the user attributes from Azure AD will be displayed.
  • Now you can enable Azure AD SSO into WordPress so that the users in your organization can view the Power BI content.
  • Enable the toggle Add a Single Sign-On button on the WordPress login page to activate Azure AD SSO for your organization’s users.
Setup guide for Power BI on WordPress | Click on Add New

Step 3: Configure and View Power BI Content using Customer Flow

  • Navigate to the Embed Power BI Reports plugin in the WordPress dashboard.
  • Under the Manage Application tab, enter the following fields:
Application ID Paste the Application ID from the Azure AD App.
Client Secrets Paste the Client Secret from the Azure AD App.
Redirect URI Enter the URL of your WordPress site.
Tenant ID Paste the Directory ID from the Azure AD App.
Setup guide for Power BI on WordPress | Configure Application

  • To test the connection, enter the UserPrincipalName (email) or Object ID in the Test UPN/ID field, then select Save followed by Fetch Attributes to load the user details.
Setup guide for Power BI on WordPress | Fetch Attributes

  • If the Azure AD connection is successful, the attribute window appears as shown below.
Setup guide for Power BI on WordPress | Test Connection

  • Navigate to the Embed Power BI Reports plugin in the WordPress dashboard.
  • Under the Manage Application tab, enter the following fields:
Application ID Paste the Application ID from the Azure AD App.
Client Secrets Paste the Client Secret from the Azure AD App.
Redirect URI Enter the URL of your WordPress site.
Tenant ID Paste the Directory ID from the Azure AD App.
Setup guide for Power BI on WordPress | Configure Application

  • Now, perform a test connection:
    • In the Test UPN/ID field, enter the UserPrincipalName (email) of a user with a valid Power BI license. This user will act as the master user.
    • Click Save, then click Fetch Attributes to initiate the connection and retrieve user attributes.
    Setup guide for Power BI on WordPress | Create Connection

  • Once Fetch Attributes is clicked, a window will appear as shown below. Select the Microsoft account under which a valid Power BI account exists.
Setup guide for Power BI on WordPress | Select Valid Power BI Account

  • If the connection is successful, the attribute window will appear as shown below, displaying the retrieved user attributes.
Setup guide for Power BI on WordPress | Test Configuration

Step 4: Embed Power BI report into WordPress

  • Navigate to the Embed Power BI tab in the plugin.
  • In the Select resource type to Embed dropdown, choose the appropriate resource type.
  • Enter the Workspace ID, Report ID, and define the Height and Width as per your requirement for the report.
  • Click Generate Shortcode.
Setup guide for Power BI on WordPress | Click on Add New

  • After successful shortcode generation, view the shortcodes in the ShortCodes Generated section.
  • Copy the shortcode by clicking the copy icon next to the generated shortcode.
Setup guide for Power BI on WordPress | Add shortcode

Note and Contact Us - How to Embed Power BI Dashboard

Note: You can generate multiple shortcodes for embedding different reports across your WordPress site.


  • To embed the report, click Add new page or Edit an existing page.
Setup guide for Power BI on WordPress | visit powerbi report

  • In the page editor, click the + icon and search for the Shortcode block.
Setup guide for Power BI on WordPress | visit powerbi report

  • Paste the copied shortcode, then click Publish/Update.
Setup guide for Power BI on WordPress | visit powerbi report

  • To view reports on WordPress, users must initiate SSO from Azure AD.
Setup guide for Power BI on WordPress | visit powerbi report

  • If a user is not logged in through Azure AD SSO, they will see a login notice inside the embed container.
Setup guide for Power BI on WordPress | visit powerbi report

Step 4: Embed Power BI report into WordPres

  • Go to the Power BI tab in the plugin and click the Add icon (+).
Connect WordPress to Power BI | Generate Report Shortcode

  • Enter the following details:
Report Name Enter a name for the report.
Workspace ID Copy from the Power BI workspace.
Report ID Copy from the Power BI workspace.
Type Select Report (default), Dashboard, or Tile.
Connect WordPress to Power BI | Enter Shortcode Details

  • Under Select Embed Mode, specify how the report should be embedded:
    • For Create/Edit mode, enter the Dataset ID.
    • For View mode, leave the Dataset ID field empty.
    Connect WordPress to Power BI | Select Embed Mode

  • In the Report has access to section:
    • Select the WordPress roles that should be allowed to view the embedded report.
    • For example, if Administrator, Contributor, and Subscriber are selected, only users with these roles can view the report.
    • This configuration applies only when you enable the Only Allow Logged In User Access option.
    Connect WordPress to Power BI | Report Access

  • To restrict report access to logged-in users, enable Only Allow Logged In User Access.
    • To allow public access to the embedded report, keep this option disabled.
    Connect WordPress to Power BI | Enable Logged In User Access

  • (Optional) If Row Level Security (RLS) is configured in Power BI:
    • Enable the RLS toggle.
    • Enter the Dataset ID required for RLS-based filtering.
    Connect WordPress to Power BI | Enable RLS

  • (Optional) Toggle on Enable User Email Domain-RLS Mapping to apply RLS based on the domain of the user’s WordPress email address.
Connect WordPress to Power BI | Enable User Email Domain-RLS Mapping

  • (Optional) When using RLS with WordPress roles, map each relevant WordPress role to the corresponding RLS role name (as defined on the Power BI side).
Connect WordPress to Power BI | RLS with WordPress roles

  • After completing the configuration, select Save.
Connect WordPress to Power BI | Save Configuration

  • Copy the generated shortcode.
Connect WordPress to Power BI | Copy Shortcode

  • Paste the shortcode into any WordPress page or post where the report should appear.
Connect WordPress to Power BI | Paste Shortcode

  • Select Publish/Update for the page. Use Preview to review the embedded report.
Connect WordPress to Power BI | Preview Page

Note and Contact Us - How to Embed Power BI Dashboard

Note: In this configuration, only data for Germany is visible because the Germany RLS role is mapped to the Administrator role, and the current user is logged in as an Administrator.


  • Navigate to the Power BI tab in the plugin and click the Add icon (+).
Connect WordPress to Power BI | Generate Report Shortcode

  • Enable the toggle Embed a report using the Power BI master user to allow embedding using the master user credentials.
Connect WordPress to Power BI | Embed a report using the Power BI master user

  • Enter the following details:
Report Name Enter a name for the report.
Workspace ID and Report ID Copy both values from the Power BI workspace.
Type Default is Report. Change to Dashboard or Tile if required.
Connect WordPress to Power BI | Enter Shortcode Details

  • Under Select Embed Mode, choose how the report should be embedded:
    • For Create/Edit mode, enter the Dataset ID.
    • For Viewmode, the Dataset ID field can be left empty.
    Connect WordPress to Power BI | Select Embed Mode

  • In the Report has access to section, select the WordPress roles allowed to view the report. For example, selecting Administrator, Contributor, and Subscriber ensures that only users with these roles will have access.
  • This setting is only applied if you enable the Only Allow Logged In User Access option.
Connect WordPress to Power BI | Report Access

  • Enable Only Allow Logged In User Access if you want to restrict report access to logged-in users only else turn it off if you want to embed the report publicly.
Connect WordPress to Power BI | Only Allow Logged In User Access

  • (Optional) If Row-Level Security (RLS) is configured in Power BI:
    • Enable the RLS toggle.
    • Enter the RLS Table Name: Specify the name of the table in your dataset that contains the RLS role mapping logic. For example: EmployeeData
    • Enter the RLS Column Name: Provide the column name that contains the identifier used to filter the data (e.g., email, role, or user ID). For example: UserEmail
    • Enter the Dataset ID for RLS-based filtering.
    Connect WordPress to Power BI | Enable RLS Toggle

  • (Optional) Enable Enable User Email Domain-RLS Mapping to apply RLS based on the WordPress user’s email domain.
Connect WordPress to Power BI | Enable User Email Domain-RLS Mapping

  • (Optional) Map WordPress roles to corresponding Power BI RLS role names defined in the dataset.
Connect WordPress to Power BI | RLS with WordPress roles

  • Click Save to apply the configuration.
Connect WordPress to Power BI | Save Configuration

  • Copy the Generated Report Shortcode.
Connect WordPress to Power BI | Copy the Generated Shortcode

  • Paste the shortcode into any WordPress page or post where the report should appear.
Connect WordPress to Power BI | Paste the Generated Shortcode

  • Click Publish/Update the page.
  • Use Preview to verify the embedded report.
Connect WordPress to Power BI | Preview the Page

Note and Contact Us - How to Embed Power BI Dashboard

Note: In this configuration, only data for France is visible because the France RLS role is mapped to the Administrator role, and the currently logged-in user has Administrator access.


Power BI is now successfully connected with WordPress, enabling the embedding of interactive reports, charts, and dashboards. With row-level security enabled, data can be filtered based on user roles or email domains, allowing for secure and granular data access.

  • To further customize the embedded Power BI content, navigate to the Settings tab in the plugin and configure the following options:
Setup guide for Power BI on WordPress | Click on Add New

  • Filter Pane : Enables or disables the display of the filter pane in the embedded report.
  • Page Navigation : Enables or disables the page navigation bar shown below the report.
  • Language : Sets the display language for the embedded content.
  • Format Locale : Adjusts locale-specific formatting, such as numbers and dates.
  • Mobile Breakpoint : Defines the screen width at which the report switches to a mobile layout. Any width below this value activates the mobile view.
  • Mobile Height : Sets the height of the report when displayed in the mobile layout.
  • Mobile Width : Sets the width of the report when displayed in the mobile layout.

These settings can be configured as required to suit different display needs and user environments.


Power BI is now successfully connected to WordPress, with Azure AD SSO enabled for your embedded reports. This configuration ensures that users access Power BI content based on their assigned roles, keeping everything aligned with your organization’s permissions. If you run into any issues during setup or integration, the support team is available at info@xecurify.com to help.


There are many benefits of using the miniOrange WordPress Power BI plugin, like:

  • Strong security with Azure AD authentication
  • Seamless access through Single Sign‑On (SSO)
  • Role‑based visibility with Row Level Security (RLS)
  • Easy embedding of reports, dashboards, and tiles using shortcodes
  • Smarter decisions with Copilot AI to search, analyze, and uncover insights directly in WordPress

You can embed reports, dashboards, tiles, and datasets. The miniOrange plugin generates shortcodes that make it easy to place this content inside posts, pages, or custom layouts.

Yes. Embedded Power BI content adapts to different screen sizes, ensuring a smooth experience across desktop, tablet, and mobile.


WordPress Dynamics 365 Integration | DCRM Copilot Integration

Power BI with Copilot Integration for Fast Data Search and Clear Insights

Connect Microsoft Copilot with Power BI to bring natural language interaction directly into WordPress sites. Users can ask questions using natural language, and Copilot uses Gemini to interpret the prompt, review the underlying Power BI reports, dashboards, datasets, or tiles, and deliver clear insights, summaries, or visual outputs based on the data.

Know More   


 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again



ADFS_sso ×
Hello there!

Need Help? We are right here!

support