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 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

A summary about Optimized.Aza PowerShell module for Azure REST API

Optimized.Mga > Optimized.Aza? WARNING: The module is still under construction. Please leave feedback @ Github or in a comment below the post. No it’s not a new name, but a new module. The module is a copy of the main cmdlets from Optimized.Mga though. It will take care of your OauthToken and Throttling. For direct … Continue reading A summary about Optimized.Aza PowerShell module for Azure REST API

Delegated permissions with a Client Secret by adding roles to a Service principal

AzureAD Apps & Service Principals Within Azure AD you have App Registrations. You can do a lot with App Registrations. I mainly use it for automating tasks. Application or Delegated Permissions? A big disadvantage is that you cannot always choose Application Permissions with API Permissions. Here you can only choose Delegated Permissions. For example, the … Continue reading Delegated permissions with a Client Secret by adding roles to a Service principal