Logging Azure Cleanup Workflows to Custom Tables in Log Analytics

Building on my previous article about using Azure Automation to clean up orphaned resources, this is Part 2. Here, I'll show you how to send the collected logs to a Log Analytics workspace using the newer Log Ingestion API. The Log Analytics HTTP Data Collector API was the original method for sending custom data to …

Continue reading Logging Azure Cleanup Workflows to Custom Tables in Log Analytics

Automating Azure Resource Cleanup with Azure Automation Notebooks

The aim of this post is to present an approach to cleaning up orphaned resources in Azure to prevent unnecessary costs and improve the maintainability of the cloud environment. Azure Automation lets you streamline and orchestrate repetitive tasks across your Azure environment. Whether you're cleaning up orphaned resources, rotating secrets, or enforcing compliance, Automation gives …

Continue reading Automating Azure Resource Cleanup with Azure Automation Notebooks

Creating custom roles in Azure

Recently, I've been working on an Azure Function that'll automate the creation of a resource group and a Cosmos DB account within that resource group. The function app was configured to use MSI(Managed Service Identity). The function app will run under this identity and the MSI needs to have access to perform the required operations …

Continue reading Creating custom roles in Azure

Azure ARM Templates – Api versions of resources

When you are working with ARM templates you might want to quickly check the latest API version for different resources. This information is scattered across multiple help pages. You can use the PowerShell command Get-AzureRmResourceProvider to get the latest API version for a particular resource. The below snippet gets the latest API version for the …

Continue reading Azure ARM Templates – Api versions of resources