Power BI – Connection

Estimated reading time: 4 min
Banners power BI Power BI - Connection

Microsoft Power BI is a business analytics tool that helps organizations visualize and interpret their data. It allows users to create interactive reports, dashboards, and data visualizations from various data sources, making complex data easier to understand and analyze. With Power BI, businesses can track key metrics, uncover insights, and make informed decisions based on real-time data.

Integrating Power BI with Wiresk brings significant advantages. By combining the data automation and workflow management capabilities of Wiresk with Power BI’s powerful data visualization features, businesses can enhance their decision-making process.

This integration allows for easy access to up-to-date data insights, helping teams monitor performance, analyze trends, and make quick, data-driven decisions.

  • On the MS Azure Portal, select Microsoft Entra ID.
Screenshot of Microsoft Azure welcome page. Red arrow shows to click on Microsoft Entra ID.

On the Overview page, The Tenant ID is displayed.

Remember the Tenant ID for future reference.
Screenshot Entra ID overview page. Red arrows point to Tenant ID and Add application registration.
  • On the bottom page of the overview page, select Add application registration.
Screenshot of registration application page, arrows shows how to fill it, add name, enter the redirect URI.
  • Give a name to the App, we will named it “Wiresk”.
  • For the support account types, select “Accounts in any organizational directory (Any Microsoft Entra ID tenant – Multitenant)”.
  • Enter the Redirect URI: Web | https://api.wiresk.com/api/auth/callback
  • Then, click on Register button.

On your Wiresk app overview screen, your App ID and tenant ID are displayed.

Screenshot of application overview, arrows shows the application ID and the link to get the app secret.
Remember the App ID for future reference.

From the step before, click on the link next to “client credentials” or on the left side bar menu “Certificates & Secrets”

Screenshot of certificates & secrets pages. Red arrows shows to click on new client secret, then enter descriptions, expires, and click on Add button.
  1. Select New client secret.
  2. Write the client’s description or name.
  3. Select the client secret expiration period. It is strongly advised to set the maximum period which is 2 years. This will prevent you from having to renew it too quickly.
  4. Click on Add button.
Screenshot of Microsoft client secret of Wiresk test client.
it shows the description, expires, value and secret ID fields.
The “Value” field, represents your App secret, remember the App secret for future reference.
Screenshot of Microsoft API permissions page.Numbered red arrows are pointing to different location on the screen. It shows how to set up the api permissions for Microsoft applications that is required for Wiresk connection.
  1. Select API permissions.
  2. Click on add a permission.
  3. Select the Microsoft app that you want to set permissions, in our case choose Power BI service.
Screenshot of Request API permissions page for Power BI. Red arrows points to check the specific permission then add permissions button.
  1. Select Delegated permissions, you must:
    • Be assigned a role (Member, Contributor, Admin) in the target Power BI workspace.
    • Have permission to access or modify the datasets in that workspace.
  2. Set the needed permissions, refer to the permissions list below.
  3. Click on add permissions.
Azure portal screenshot showing API permissions setup for a Wiresk app registration. The left panel lists options such as Overview, Certificates & secrets, API permissions, and Owners. The main section displays configured permissions including Dynamics 365, Dynamics CRM, and Microsoft Graph (User.Read). On the right, the “Request API permissions” window for Power BI Service is open, highlighting Delegated permissions (arrow 1), the selected permission “App.Read.All – View all Power BI apps” (arrow 2), and the “Add permissions” button (arrow 3).

Optionally, repeat the same process to add permissions for other Microsoft apps.

Now that you have in hand the Tenant ID, the App ID, and the App Secret, lets create a Microsoft connection.

There are two ways to connect your app to Wiresk:

  • In “My apps” section, where you can manage your connections (select or create your group first to get access to this section, refer to the Group system ).
  • While building your Flow, you can easily establish a connection to your app directly within the Flow builder. This can be done during the setup of either a Trigger or a Method.

In this guide, we will explain how to create a connection in “My apps” section, it is essentially the same as when creating it on-the-go.

  • On your Wiresk’s Dashboard, select your Group.
  • On the left panel, go to “My apps” and select Screenshot 2025 04 08 at 9.58.41 in the morning Power BI - Connection
  • Search the app name in the search field or select it in the apps list.
Animated image GIF, showing the step of how to create an app connection. First, select the group then select My Apps tab, and click on the "+ create" button.

There are 2 types of connections available:

  • Client Credentials connection
  • OAuth connection
Screenshot of Add apps screen, this show the setting for Microsoft connection with numbered red arrows pointing to different fields.
  1. Give a name to your connection, here we will name it “Microsoft OAuth”
  2. Select the OAuth connect tab
  3. Enter your Tenant ID (Mandatory for work or school account) that you saved from How to get the Tenant ID
  4. Enter your App ID from Get the App ID
  5. Enter your App secret “value” from How to get the App Secret
  6. Select Microsoft application for the authorization (don’t forget to set the API permissions for those applications):
    • Select a single Microsoft app for specific functionality, in our case, Microsoft Power BI.
    • Grant access to all Microsoft apps for this connection, allowing broader use of your account.
  7. Click on Authorize button
You can optionally upload a certificate instead of using only a client secret. Certificates provide stronger security for authentication and are recommended for enterprise setups.

You will be redirected to Microsoft “Pick an account” page.

  • Select your connected account or choose another one.
Screenshot of Microsoft pick an account. shows account that was previously connected or use another account button.
  • Then you will be asked to give permissions to Wiresk, click on Accept button and you will be redirected to Wiresk connection panel settings
  • Save the connection.
Screenshot of Microsoft permissions screen for Wiresk. show button accept with a red arrow pointing to it.
Screenshot Wiresk add apps screen. it shows the setting for Microsoft Client Credentials connection type. numbered red arrows are pointing to specific fields like name, tenant id, app id, app secret, and button create app.
  1. Name your connection, for example, “Microsoft Client Credentials”
  2. Select Client Credentials connection type
  3. Enter your Tenant ID that you saved from How to get the Tenant ID
  4. Enter your App ID from Get the App ID
  5. Enter your App secret “value” from How to get the App Secret
  6. Create your Microsoft connection by clicking on the “Create” button.
You can optionally upload a certificate instead of using only a client secret. Certificates provide stronger security for authentication and are recommended for enterprise setups.

Voila! Your Microsoft Power BI connections are ready. You can now use it to build your Flows.

Now that your app is linked to Wiresk, you’re ready to start building Flows.

Simple steps to create a Flow ↓
  • Select your Group, then on the Flow management screen click on “Create Flow”.
  • On the new screen, name the new Flow.
GIF animated screen of Wiresk, showing the way to create a new Flow.

Add a Trigger that will start your Flow

Flows can be executed by multiple Triggers, depending on the desired workflow. For example, you could use scheduled Triggers with different recurrence rules alongside a Webhook Trigger for immediate, event-driven runs of the Flow. If you choose to “Run Once“, the Flow will execute using only one Trigger and its sample data.
  • Click on the (+) button to open the Trigger settings side panel.
  • On the settings side panel, click on the “+ Add” button.
Screenshot of the Wiresk side panel titled “Trigger.” The panel shows a section labeled “All Triggers” with a blue “+ Add” button for inserting a new Trigger.
  • On the Trigger selection screen, search your app or select it from the list below the screen.
Screenshot of Wiresk Trigger setting screen. Red arrows shows that you can wether search your app in the search or or select it in the list below.
  • Select your preferred Trigger on the next screen and customize its settings.
As mentioned in “How to connect your app to Wiresk” above, during your Trigger settings, you can create a new connection to your apps at this stage.

Add a Method that will execute a task

The Method will perform a specific task on a particular app or service you’ve connected to Wiresk like get info or send emails.

You can add at least 1 or multiple Methods for complex Flows (a maximum of 255 Methods).
  • On the Flow builder, select the (+) plus button next the Trigger button.
  • Search or scroll down to select the app that will perform a task.
  • Configure the Methods settings, refer to it documentation in our Help Center.
Screenshot of Wiresk Flow Builder with a Flow named “Flow Example.” The canvas shows a Gmail Trigger on the left connected to an empty step placeholder marked with a plus icon in the center. On the right, the panel lists available apps and tools. A search bar is displayed at the top of the panel for filtering apps. Red arrows highlight the empty step placeholder, the search bar, and items in the app list.

Add Wiresk Tools to your Flow

If you want to build a complex Flow, Wiresk offers a selection of tools at your disposal. Refer to Wiresk’s Tools

To add Tools in your Flow, Follow the same step as adding the Methods.

  • On the Flow builder screen, click on the plus button (+) then just click on the “Tool” tab and select the Tool that you want to add.
Screenshot of Wiresk Flow Builder showing a Gmail Trigger connected to an empty Method placeholder. A red arrow points to the empty step circle with a plus sign where the next action will be added. On the right side, the “Tool” tab is selected in the panel. Another red arrow highlights the “Tool” tab label at the top. A search bar is shown above a list of available tools.

You can refer to “How to Create a Flow” tutorial for more detailed instructions, including step-by-step guidance on mapping and configuration.

When you configure a Trigger or Method in Wiresk, the settings panel lets you define how data is collected or sent, and the type of values you enter depends on the field.

Field TypeDescriptionExample Value
AuthenticationSecure access credentials that connect Wiresk to the app.Wiresk connection, API Key or OAuth Token
Filters or searchCriteria that narrow which records are retrieved.Search =”QUERY”, Status = “Active” or Type = “Email”
LimitsMaximum number of records to process in one run.Records number = 100
Page number = 1
Field MappingDefines how fields in one step map to another. Can be static or dynamic.Static: Subject = “Report”
Dynamic: Recipient = value from Trigger

Make sure you enter the right values so your Flow works the way you expect and gives the right results. If you need step-by-step details on setting up Microsoft Power BI, check the Triggers and Methods Settings documentation.

Important 01 Power BI - Connection