New-ChangeReportEmail

1.2

This runbook generates a report of changes from the past week and emails it. Note: This script requires two modules:
the AzureRM.OperationalInsights module. In order for the script to work, both modules must first be imported into
the Automation account.

The major steps of the script are outlined below.

1) Define parsing function
2) Connect to the Azure account
3)
This runbook generates a report of changes from the past week and emails it. Note: This script requires two modules:
the AzureRM.OperationalInsights module. In order for the script to work, both modules must first be imported into
the Automation account.

The major steps of the script are outlined below.

1) Define parsing function
2) Connect to the Azure account
3) Set the subscription context
4) Prepare email HTML
5) Define, run, and parse Log Analytics queries for the report
6) Send the email


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name New-ChangeReportEmail

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Azure Automation Team

Copyright

Microsoft Corporation. All rights reserved.

Owners

Tags

Azure Automation Change Tracking Email Report

Functions

Get-ParsedResult

Dependencies

Release Notes

1.2 - 5/10/2018
-- EDITED BY Jenny Hunter
-- previous version was outdated and missed key bug fixes
1.1 - 5/9/2018
-- EDITED BY Jenny Hunter
-- modified to use the new Log Analytyics module in the AzureRM.OperationalInsights module
1.0 - 4/5/2018
-- CREATED BY Jenny Hunter
-- added base script to send email report and to include link to dashboard if AA info is provided

Version History

Version Downloads Last updated
1.2 (current version) 29 5/10/2018
1.0 12 4/5/2018