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

  • Sandro Pereira
  • May 5, 2017
  • 4 min read

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.

📝 One-Minute Brief

A hands‑on guide showing how to enable the BizTalk operational data feed and use Microsoft’s Power BI template to publish and visualize operational metrics from a BizTalk Server 2016 environment using Feature Pack 1.

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 the Windows PowerShell option and select Run as administrator.
BizTalk operational data: run PowerShell as administrator
  • Browse to the BizTalk Server 2016 installation folder, normally:
    • C:\Program Files (x86)\Microsoft BizTalk Server 2016.
  • And run the following command. Be sure to update your website, domain\user, password, and domain\group with your values:
    • Service: The service to be configured: Management or OperationalData.
    • WebSiteName: The existing website where the service will be configured. The default value is Default Web Site.
    • ApplicationPool: The Application Pool to be used by the service. If it exists, it 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 goes 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 downloaded.

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 the OperationalDataService folder under the BizTalk Server 2016 installation folder, normally:
    • C:\Program Files (x86)\Microsoft BizTalk Server 2016\OperationalDataService
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, subject to permissions.

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

  • Save the file by selecting the menu File and clicking 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 to will be presented so you can select the destination where you want to publish the 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
  • 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 have access to PowerBI.com, you will see the BizTalk Operational Data (BizTalk Operational Data 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 loaded and published by the Power BI desktop.

BizTalk operational data: OperationalDataService Power BI online report Data

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

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

Related Links

Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son. 

Thanks for Buying me a coffe
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.

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

  1. Hi Sandro,

    Thank you! i have a problem here. once i complete running the command successfully and when try to browse the site it gives me Access denied error. I have all rights on the server and when i tried to change the account type for particular app on IIS it gives same error. Do we have any checks for this ?

  2. Hi Sandro,

    Thanks for your blog, this is really very helpful.
    I have configured the Management service and operational data service successfully, however i am getting the error just before step 3 while i am browsing the operational data service. below is the error:

    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: The compiler failed with error code -532462766.

    It would be really helpful if you can provide me with the solution.

    Thanks,
    Rahul

  3. Hello Sandro,
    Thanks for your blog, this is really very very helpful.

    How can I configure this in Bzt 2020 ¿?

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top