Enable-AzureDiagnostics

1.1

This script configures Azure Diagnostics and Log Analytics to receive Azure Automation logs containing job status and job streams.
The logs will be sent from the specified Automation account to a generated storage account and OMS workspace.  

This script should run locally (outside of Azure Automation) and requires you to interactively authenticate to your Azure acc
This script configures Azure Diagnostics and Log Analytics to receive Azure Automation logs containing job status and job streams.
The logs will be sent from the specified Automation account to a generated storage account and OMS workspace.  

This script should run locally (outside of Azure Automation) and requires you to interactively authenticate to your Azure account.  
To use this script in Azure Automation, use a run-as account or an Automation credential to authenticate and remove all references to Read-Host.  
See https://azure.microsoft.com/en-us/documentation/articles/automation-sec-configure-azure-runas-account/ for more information on authentication to Azure.  


Installation Options

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

Install-Script -Name Enable-AzureDiagnostics

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)

AzureAutomationTeam

Version History

Version Downloads Last updated
1.1 (current version) 55 9/12/2018
1.0 383 8/3/2016