This post was originally published here

The Azure Logic Apps team announced the preview version for Azure Logic Apps OMS Monitoring. Microsoft terms this release as “New Azure Logic Apps solution for Log Analytics”. The basic idea behind this brand new experience is to monitor and get insights about the Logic App runs with Operations Management Suite (OMS) and Log Analytics.

The new solution is very similar to the existing B2B OMS portal solution. Azure Logic Apps customers can continue to monitor their Logic Apps easily either via the OMS portal, Azure or even on the move with the OMS app.

What’s new in the preview of Azure Logic Apps OMS Monitoring Portal?

  • View all the Logic Apps run information
  • Status of Logic Apps (Success or Failure)
  • Details of failed runs
  • With Log Analytics in place, users can also set up alerts to get notified if something is not working as expected
  • Easily/quickly turn on Azure diagnostics in order to push the telemetry data from Logic App to the workplace

Enable OMS Monitoring for Azure Logic Apps

Follow the steps as listed below to enable OMS Monitoring for Logic Apps:

  1. Log in to your Azure Portal
  2. Search for “Log Analytics” (found under the list of services in the Marketplace), and then select Log Analytics.
  3. Click Create Log Analytics
  4. In the OMS Workspace pane,
    1. OMS Workspace – Enter the OMS Workspace name
    2. Subscription – Select the Subscription from the drop down
    3. Resource Group – Pick your existing resource group or create a new resource group
    4. Location – Choose the data center location where you want to deploy the Log Analytics feature
    5. Pricing Tier – The cost of workspace depends on the pricing tier and the solutions that you use. Pick the right pricing tier from the drop down.
      Azure Logic Apps OMS Monitoring
    6. Once you have created the OMS Workspace, create the Logic App. While creating the Logic App, enable Logic Analytics by pointing to the OMS workspace. For existing Logic Apps, you can enable OMS Monitoring from Monitoring > Diagnostics > Diagnostic settings.
      Azure Logic Apps OMS Monitoring
    7. Once you have created the Logic App, execute the Logic App with some run information
    8. Navigate back to the OMS Workspace that you created earlier. You will notice a message at the top of your screen asking you to upgrade the OMS workspace. Go ahead and do the upgrade process.
    9. Click Upgrade Now to start the Upgrade process
      Azure Logic Apps OMS Monitoring
    10. Once the upgrade is complete, you will see the confirmation message in the notifications area.
      Azure Logic Apps OMS Monitoring
    11. Under Management section, click OMS Portal
      Azure Logic Apps OMS Monitoring
    12. Click Solutions Gallery on the left menu
      Azure Logic Apps OMS Monitoring
    13. In the solutions list, select Logic Apps Management solution
      Azure Logic Apps OMS Monitoring
    14. Click Add to add the Logic Apps monitoring view to your OMS workspace. Note that this functionality is still in preview at the time of writing this blog.
      Azure Logic Apps OMS Monitoring
    15. You will see the status of your Logic App (No. of Runs, count of succeeded, running, and failed runs)
      Azure Logic Apps OMS Monitoring
      NOTE: The Logic Apps run data did not appear immediately for me. I could see this data only in my third attempt (after selecting the region as West Central US, thanks to the tip from Steef-Jan Wiggers). Steef has also written a blog post about the Logic Apps and OMS integration capabilities. Therefore, please be ready to wait for some time to see the Logic App status on the OMS dashboard.
    16. Click the Dashboard area to view the detailed information
      Azure Logic Apps OMS Monitoring
    17. You can drill down the report by clicking on a particular status and viewing the detailed information
      Azure Logic Apps OMS Monitoring
    18. Click the record row to examine the run information in detail
      Azure Logic Apps OMS Monitoring

Therefore, you can now configure Monitoring and Diagnostics for Logic Apps directly into the OMS Portal which is very similar to the B2B messaging capabilities that existed earlier. I hope you found this blog useful in setting up Azure Logic Apps OMS Monitoring. I’m already excited for the next preview features to be rolled out from the Azure Logic Apps team.

Author: Sriram Hariharan

Sriram Hariharan is the Senior Technical and Content Writer at BizTalk360. He has over 9 years of experience working as documentation specialist for different products and domains. Writing is his passion and he believes in the following quote – “As wings are for an aircraft, a technical document is for a product — be it a product document, user guide, or release notes”. View all posts by Sriram Hariharan