Recently I had a requirement to automatically configure Activity Logs from multiple subscriptions to send their logs to a Log Analytics workspace. I am talking about this setting here… There are many ways how to achieve this goal. If you are into PowerShell you could use this cmdlet New-AzureRMOperationalInsightsAzureActivityLogDataSource (I like the name ), this […]
ARM
Azure DevOps – Commit URL On Azure Resource Tag (Part 2)
In my previous part I built a solution where I used https://rebrandly.com service to shorten the commit URL and add to a tag on a storage account. The problem might be, that you don’t want to us a public link shortening service like https://rebrandly.com or any other like https://bit.ly etc. you might be afraid of […]
Azure DevOps – Commit URL on Azure Resource Tag (Part 1)
When you deploy an Azure resource like VM, storage account etc. via Azure DevOps you don’t know from which commit in your repository it had been deployed. The only thing you can assume that it was probably the latest run of your pipeline which deployed that resource. There is no obvious connection between the ARM […]
ARM Template – Deployment Error “[Subscription().SubscriptionId]” The request is invalid…
Recently I authored some ARM stuff in Visual Studio and I had a need for getting the current subscription ID the template is being deployed to. So there is a helper function you can call like this… “subscriptionId”: “[subscription().subscriptionId]” I used it in the template like this… …but as soon I tried to deploy the […]