Calum Harrison logo
  • Home 
  • Tags 
  • About Me 
  1. Home
  2. Posts
  3. Availability monitoring for Power Pages 🌍

Availability monitoring for Power Pages 🌍

Posted on November 22, 2024  (Last modified on November 29, 2024) • 2 min read • 425 words
Power Pages   Azure   Application Insights  
Power Pages   Azure   Application Insights  
Share via
Calum Harrison
Link copied to clipboard

On this page
  • Why bother with monitoring as Microsoft hosts Power Pages?
  • 1) Azure setup
  • 2) Test the availability
  • Conclusion
Availability monitoring for Power Pages 🌍
Photo by Luke Chesser on unsplash

Thankfully with modern technology, we do not need to keep checking that our Power Pages sites are up and running as we can let Azure availability tests do the work for us.

Let’s configure a solution that allows us to monitor Power Pages sites and be more proactive if a site is not available.

Why bother with monitoring as Microsoft hosts Power Pages?  

There are a couple of reasons why it’s a good idea to monitor Power Pages sites.

  • Be proactive - we can configure instant alerts to resolve problems sooner.
  • More control - we can view the collected data and diagnose the problem to prevent it from happening again.
  • Balance - monitoring can be configured to run against multiple regions to make sure the website is running smoothly across the world.

1) Azure setup  

Inside your Azure resource group add an Azure Application insights resource.

  Tip

Check out Marvin Conejo’s article if you haven’t created Azure Applications Insights resource before.

  • Add an availability rule by creating a standard test.
Image of the left hand menu in Azure to demonstrate where the availability option is.
Image of the left hand menu in Azure to demonstrate where the availability option is.
Image of how to select the standard test option.
Image of how to select the standard test option.
  • Inside the URL field add your Power Pages site. Also, select the regions to monitor and set the frequency. The shorter the frequency the more it costs to run in Azure.
Image of the standard test creation form.
Image of the standard test creation form.
  • Open the alert from the availability rule.
Image highlighting the Open Rules option.
Image highlighting the Open Rules option.
  • Edit the alert and configure the condition. In this example, if one or more of the locations returns an issue from the availability result an alert will be created.
Image of a alert condition.
Image of a alert condition.
  • Under actions select manage actions groups and create a new one so that the alert sends an email.
Image a email alert for the notification of the rule.
Image a email alert for the notification of the rule.

2) Test the availability  

On a developer environment, shut down your Power Pages site and after the duration of the frequency set in the standard test, an alert should be created. You can view the alert in Azure and view the email you have received from Azure.

  Note

In your project if there is a support or monitoring mailbox its worth pointing the action group email to this so that it can be picked up by support.

Image of the alerts dashboard showcasing one critical alert.
Image of the alerts dashboard showcasing one critical alert.

Conclusion  

😁Thanks for reading, we created a monitoring solution so that we can be alerted if the Power Pages site is down.

Have a great day!

 FREE custom Bootstrap themes for Power Pages 🎨
3 tips for YAML Azure pipelines πŸš€ 
On this page:
  • Why bother with monitoring as Microsoft hosts Power Pages?
  • 1) Azure setup
  • 2) Test the availability
  • Conclusion
Follow me on LinkedIn

 
Copyright Β© 2025 Calum Harrison. | Powered by Hinode.
Calum Harrison
Code copied to clipboard