Restart a service from an Azure Alert using Log Analytics and Azure Automation

This sample automation runbook is designed to take the payload from an Azure Alert based on a Log Analytics query for stopped services. It leverages the change tracking capabilities in Azure Automation to identify services that are stopped in your environment.

 
 
 
 
 
5 Star
(1)
1,012 times
Add to favorites
Windows Azure
10/2/2018
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • But how would this script will perform the admiistrative task on HRW
    1 Posts | Last post December 03, 2018
    • But how would this script will perform the administrative task on HRW.
      
      This might fail with error :- 
      
      Access is denied. For 
      more information, see the about_Remote_Troubleshooting Help topic.
          + CategoryInfo          : OpenError: (MachineName:String) [], PSRemotingTransportException
          + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken