How to use Key Vault Secrets in Azure Automation PowerShell

Azure Key Vault > Azure Automation Credential Manager Azure Automation has its own Credential Manager.This is the easiest to use, but has no history or version control.So you can’t see when the value was last changed, or who made the change within the portal (this can be done via Log Analytics). The Azure Key Vault … Continue reading How to use Key Vault Secrets in Azure Automation PowerShell

How to build a Request Body when the MS Docs fail you Azure REST API

Or when you fail yourself… | Intro I was creating schedules in Azure Automation and creating job schedules with parameters via the Azure REST API. Strangely enough, it looked like the JSON from the example was wrong. But unfortunately it turned out to be less true and I made a mistake myself. However, it has … Continue reading How to build a Request Body when the MS Docs fail you Azure REST API

How to start a Runbook on specific Hybrid Worker Azure Automation

Disclaimer: this is a work around that is not always useful I am currently hired by a client who has one Hybrid Worker Group (and to whom we are not allowed to make any adjustments). There are runbooks that have to work with the data from other runbooks, but because the data is so much … Continue reading How to start a Runbook on specific Hybrid Worker Azure Automation

How to download a file from an Azure Storage Blob PowerShell

Intro We are setting up a completely new Azure Automation environment for a new customer. This is all done through Azure DevOps CI/CD. Static files such as an html or zip file are no longer on an on-premise server, but from now on in an Azure Storage Blob. We have all documented the script parts … Continue reading How to download a file from an Azure Storage Blob PowerShell

How to upload a file to an Azure Storage Blob PowerShell

Intro We are configuring an Azure Automation environment. This is all done through Azure DevOps CI/CD. We won’t use a static files server for files like html content or zip files, but we will upload them to an Azure Storage Blob instead. We been working on uploading files to the Azure Storage Blob in a … Continue reading How to upload a file to an Azure Storage Blob PowerShell

FIX: The agent could not connect to the Microsoft Operations Management Suite service.

“Please check that the system either has internet access, or that a valid HTTP proxy has been configured for the agent.“ This blog post is about resolving a problem with the Microsoft Monitoring Agent that is not connected to the Operation management Suite in Azure. Today I had another great error message. Colleagues were unable … Continue reading FIX: The agent could not connect to the Microsoft Operations Management Suite service.

FIX: A DNS CAA record exists for domain(s) bwb.cloud which forbids the issuance of this certificate

Disclaimer This is an error message that my colleague Remco Bruijstens got while trying to re-new a certificate in an Azure WebApp. He resolved the issue by himself. I simulated the error and created a blog post in consultation with Remco. The error message: A DNS CAA record exists for domain(s) bwb.cloud which forbids the … Continue reading FIX: A DNS CAA record exists for domain(s) bwb.cloud which forbids the issuance of this certificate

FIX: The request was discarded by a third-party extension DLL file

RDS with Azure MFA as extra security layer. Yesterday I had a wonderful problem again! It was about Remote Desktop Service again, but this time at one of our customers. We use an RDS environment with Azure Multi Factor Authentication as an extra security layer. When logging in, we were asked to enter our credentials … Continue reading FIX: The request was discarded by a third-party extension DLL file

FIX: New folders aren’t showing in DevOps Repository

Where is my directory structure in Azure DevOps? This was a nice one. I was asked to create a new repository in Azure DevOps and to think about the structure. I started in good spirits with creating the repository and started organizing the folder structure and the ideas I had. I then tried to sync … Continue reading FIX: New folders aren’t showing in DevOps Repository

FIX: The current subscription type is not permitted to perform operations on any provider namespace

Please use a different subscription? One of my automated scripts suddenly stopped working. I saw the following error message in Azure Automation: Get-AzureRmStorageAccount : The current subscription type is not permitted to perform operations on any provider namespace. Please use a different subscription. I was surprised because this script has been running daily for more … Continue reading FIX: The current subscription type is not permitted to perform operations on any provider namespace