BizTalk Server 2016 Feature Pack 1: How to publish BizTalk operational data on Power BI – Step-by-step configuration (Part 2)

BizTalk Server 2016 Feature Pack 1: How to publish BizTalk operational data on Power BI – Step-by-step configuration (Part 2)

Following the sequence of my last post: BizTalk Server 2016 Feature Pack 1: How to publish BizTalk operational data on Power BI – Step-by-step configuration (Part 1), here we will see how we can enable BizTalk operational data feed and how we can use the BizTalk Server Operational Data Power BI template provided by Microsoft to easily publish the report to Power BI.

Step-by-step Configuration to Enable BizTalk Server 2016 Operational Data Feed

Second step: Enable BizTalk operational data feed

To enable BizTalk Server 2016 operational data feed, you should:

  • Run Windows PowerShell as Administrator by:
    • Press the “Windows key” to open the Start menu and type “PowerShell”
    • Right click on “Windows PowerShell” option and select “Run as administrator”.

BizTalk operational data: run PowerShell as administrator

  • Browse to the BizTalk Server 2016 is installation folder, normally:
    • C:Program Files (x86)Microsoft BizTalk Server 2016
  • And run the following command. Be sure to update your website, domainuser, password, and domaingroup with your values:
    • Service: The service to be configured: “Management” or “OperationalData”.
    • WebSiteName: The existing Web Site where the service will be configured. The default value is “Default Web Site”
    • ApplicationPool: The Application Pool to be used by the service. If exists, will not be created. The default value is “DefaultAppPool”
    • ApplicationPoolUser: Configures the application pool to run as this user identity. Must have BizTalk Server Operator or higher privileges.
    • ApplicationPoolUserPassword: Password for the ApplicationPoolUser
    • AuthorizationAccount: List of authorized Groups or Users to use this service

FeaturePack.ConfigureServices.ps1 -Service operationaldata -WebSiteName ‘<Default Web Site>’ -ApplicationPool <operationalDataServiceAppPool> -ApplicationPoolUser <domain><user> -ApplicationPoolUserPassword <password> -AuthorizationRoles ‘<domain><group>, <domain><user>’

If everything go well, after you run the script, if you browse the new IIS Application by:

  • Open your web browser
  • Go to http://localhost/BizTalkOperationalDataService

You will see a JSON file – BizTalkOperationDataService.json – being download.

BizTalk operational data: BizTalkOperationDataService

Third step: Use the BizTalk Server Operational Data Power BI template to publish the report to Power BI

To access the Power BI Template file, and use the provided visualization from Microsoft, use the following steps:

  • Browse to “OperationalDataService” folder under the BizTalk Server 2016 is installation folder, normally:
    • C:Program Files (x86)Microsoft BizTalk Server 2016OperationalDataService

BizTalk operational data: OperationalDataService Power BI Template file

  • And double click to open the “BizTalkOperationalData.pbit” file.
  • When prompted from Power BI Desktop, paste the http://<BizTalkServer>/BizTalkOperationalDataService URL that you created for your OData feed.
    • Normally: http://localhost/BizTalkOperationalDataService

BizTalk operational data: OperationalDataService Power BI Template OData URL

  • And then click “Load” to populate the fields in your Power BI report.

BizTalk operational data: OperationalDataService Power BI Template OData Load

The Template file automatically generates the information and tables available from the OData feed.

BizTalk operational data: OperationalDataService Power BI Template

The operational data is exposed through the computer and can be accessed and executed by other applications based on permissions.

Publishing your reports to the Power BI service is fast and easy. Once the data have been load you need to:

  • Save the file by selecting the menu “File” and click “Save”
  • And then select the “Publish” button on the Home tab in Power BI Desktop, and the process begins.

BizTalk operational data: OperationalDataService Power BI Template Publish

  • The first step, of course, is to provide your Power BI account

BizTalk operational data: OperationalDataService Power BI Template Publish Autentication

  • After you authenticate on Power BI, a list of destinations that you have access will be presented so you can select the destination to where you want to publish BizTalk Operational Data report.
    • Select your destination, in my case, “My workspace”
    • and then click “Select”

BizTalk operational data: OperationalDataService Power BI Template Publish destination

  • The then the publishing process will start

BizTalk operational data: OperationalDataService Power BI Template Publish starting

  • Once the upload is complete, a dialog box tells you the publishing process succeeded and a link is provided in that dialog to take you directly to your report in the Power BI service, in a web browser.

BizTalk operational data: OperationalDataService Power BI Template Publish Complete

  • If you access to PowerBI.com you will see that you will have BizTalk Operational Data (BizTalk Operational Data report) report available.

BizTalk operational data: OperationalDataService Power BI online report

And if you click on it, you will be able to see the data that was load and publish by the Power BI desktop.

BizTalk operational data: OperationalDataService Power BI online report Data

But the most important question is: Are this data being updated?

And the answer is: No. For that, you will need additional steps.

Related Links

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community. View all posts by Sandro Pereira

BizTalk Server 2016 Feature Pack 1: How to publish BizTalk operational data on Power BI – Step-by-step configuration (Part 1)

BizTalk Server 2016 Feature Pack 1: How to publish BizTalk operational data on Power BI – Step-by-step configuration (Part 1)

Recently, the product team released a first feature pack for BizTalk Server 2016 (only available for Enterprise and Developer edition) and I am trying all these features and at the same time trying to help a little Microsoft BizTalk team improving their documentation, special regarding to these new features that appear with BizTalk Server 2016 Feature Pack 1. In this post, we will address the new Analytics feature of BizTalk Server 2016 associated with BizTalk operational data:

  • Leverage operational data – View BizTalk operational data from anywhere and with any device using Power BI.

What is BizTalk Operational Data?

Operational data, as you can read on Microsoft official documentation here, is all the information on the instances and messages flowing through your BizTalk Server environment. The operational data feed is the same data you get looking at Group Hub in the BizTalk Server Administration console. The feed includes the following data tables:

  • Application data
  • AS2 Status Records
  • Batching information
  • Instance information
  • Interchange Aggregations Records
  • Interchange Status Records
  • Messages
  • Subscriptions
  • Tracked Events
  • Transaction reports
  • Transaction sets

These data can be accessed and queried using visualization tools, including Power BI.

System Requirements to Enable BizTalk Server 2016 Operational Data

For enable BizTalk Server 2016 Operational Data feature available in Feature Pack, you need:

  • Download and install Power BI Desktop on any computer that has network access to your BizTalk Server
  • Install and configure a Power BI Gateway to connect your on-premise BizTalk Server environment. (optional)
  • Install Feature Pack 1 on your BizTalk Server 2016 Developer or Enterprise Edition
  • Install IIS on the BizTalk Server 2016.

Important note: is required to restart BizTalk Server machine to finish the FP1 installation process.

Note: Feature Packs are not supported in BizTalk Server 2016 Standard Edition.

Step-by-step Configuration to Enable BizTalk Server 2016 Operational Data Feed

First step: Install Microsoft Power BI Desktop

So, the first “new thing” here that we need to install, assuming that we already have Feature Pack 1 and IIS installed, is Power BI Desktop tool. After you download the version of Power BI Desktop that matches the architecture (x86 or x64) of your Windows OS, you should:

  • Run the downloaded .MIS file – in my case: PBIDesktop_x64.msi – from your hard drive.
  • In the “Welcome to the Microsoft Power BI Desktop Setup Wizard” screen, click “Next”

BizTalk Operational Data - Microsoft Power BI Desktop Setup Wizard welcome

  • In the “License agreement” screen, select the option “I accept the terms in the License Agreement” and then click “Next”

BizTalk Operational Data - Microsoft Power BI Desktop Setup Wizard license agreement

  • In the “Destination Folder” screen, review or change the installation path and then click “Next”

BizTalk Operational Data - Microsoft Power BI Desktop Setup Wizard Destination folder

  • In the “Ready to Install Microsoft Power BI Desktop” screen, click “Install” to continue with the installation.

BizTalk Operational Data - Microsoft Power BI Desktop Setup Wizard Ready To Install

  • In the “Completed the Microsoft Power BI Desktop Setup Wizard” screen, click “Finish”

BizTalk Operational Data - Microsoft Power BI Desktop Setup Wizard Finish

For more information about Power BI check https://powerbi.microsoft.com/en-us/.

Related Links

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community. View all posts by Sandro Pereira