Step 7

  1. Create Azure Automation runbook: From the Azure portal, navigate to the already created Vaultmonitoring resource group by clicking on the Resource Groups icon in the left-hand menu:
    1. Click on the already provisioned Azure Automation account, MonitoringKeyVault, click on Runbooks in the left-hand menu, and click on +Add a Runbook from the top menu.
    2. Click on Create a new Runbook. Provide a name. Let's call this runbook CheckExpiredAssets, and set the Runbook type as PowerShell:
  1. Code the runbook: Declare a few variables to hold subscription ID, tenant ID, application ID, and certificate thumbprint information. These values are already ...

Get Azure for Architects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.