FIX: Importing Azure SQL database OK button does nothing

Import Azure SQL Database does nothing and does not show any error We work in the form of development, test, accept, and production, where the dev is on your local device or in a development tenant. We can roll out a new environment whenever we want and as a result, I am often busy exporting … Continue reading FIX: Importing Azure SQL database OK button does nothing

FIX: Get-AzContext missing ‘subscription’ Az.Accounts PowerShell

Get-AzContext missing a ‘subscription’ while using Set-AzContext We use the command below as standard in our scripts, but I have also discovered that this is not entirely useful. But for more about that you should go to another section on this blog (see the Table of Contents). You probably found this blog cause of an … Continue reading FIX: Get-AzContext missing ‘subscription’ Az.Accounts PowerShell

FIX: Please remove the lock and try again ScopeLocked Azure

‘The scope cannot perform delete operation because following scope(s) are locked‘ The tutorial works for all Azure resources that have a lock. I ran into it while working on Azure Automation runbooks, where I try to delete runbooks, so I’ve used this in my screenshots and error messages. There is a lock on your Azure … Continue reading FIX: Please remove the lock and try again ScopeLocked Azure

How to fix ‘CliXml’ in parameter input Azure Automation

Azure Automation, Start-AutomationRunbook, parameters, & CliXml… I’m not going to explain what Clixml is, or what it means, nor am I going to explain exactly why this issue is happening (mainly because I don’t have a clear answer for you). I’ll give you the solution and a possible way to make this easier for you. … Continue reading How to fix ‘CliXml’ in parameter input Azure Automation

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

Download a file from Storage Blobs with Rest API’s and PowerShell 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 … Continue reading How to download a file from an Azure Storage Blob PowerShell

How to upload a file to an Azure Storage Blob PowerShell

Upload files to A storage blob using powerShell 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 … 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.