Automation runbook for start/stop VM using Storage account blob
Hi, I am trying to deploy a powershell runbook in automation account which should read contents of CSV stored in storage account blob using system assigned managed identity of automation account. Looking for a piece of code as I don't want to use sas…
How to set up a automate rule to delete SharePoint site contact when it is expired.
Hi all, May I ask if there a way to create a Automate Flow to delete a site contact depends on the expire date? For example, I have added a column called Expire: Is there any way to get this file deleted when it is expired and send a notification out?…
New-AzureADApplicationKeyCredential - Thumbprint not available issue
Hi, We have noticed that when we try to upload azure self signed certificate to Azure AD App registration from powershell using the cmdlet New-AzureADApplicationKeyCredential, we are not able to see the certificate thumbprint in the portal, App…
![](https://techprofile.blob.core.windows.net/images/a1395d6d60e64acc8c1bfc104037f1aa.png)
Webhook payload runon Azure vs Hybrid worker
I am working with azure automation, triggered by webhooks. Typically this runs directly on Azure and works fine, the webhook data payload is received and handled as a PSCustomObject. I now need to run the same on a Hybrid Worker because of a OnPrem…
Azue runbook - Exchange PowerShell
We are trying to automate mail flow reporting via Azure runbooks using an app registration (service principal) to authenticate. The runbook will query Exhchange Online powershell modules for mailflow data. The only Entra permissions that seem to allow…
ExchangeOnlineManagement authentication broken in Azure Automation Runbook
Since the morning of Thursday 9 Feb 2023, I've not been able to successfully authenticate with ExchangeOnlineManagement via an Azure Automation runbook using either a credential flow or Managed Identity. I can replicate this issue across three different…
Auto restart the evicted VM
We have a spot virtual machine that gets deallocated or switched off when the eviction policy is triggered. I would like to automate the restart of the evicted virtual machine based on the trigger i receive . Is there any way i can acheive this…
![](https://techprofile.blob.core.windows.net/images/hAFzqf2_AwAAAAAAAAAAAA.png?8DB62B)
Convert text to speech and export to audio file Power Automate Flow
I'm trying to get the Azure Text to Speech Service in Power Automate to output to a audio file. Flow saving successfully and file is created, but the encoding must be incorrect:
![](https://techprofile.blob.core.windows.net/images/k3pGvNqV6k28ggaVHaTPrQ.png?8D803E)
Azure Automation Hybrid Worker "Failed to set folder access"
Hello, I am quite new to Azure Automation. At the moment I am trying to get a Hybrid Worker running my runbooks locally. I have set up the hybrid worker group inside my automation account and also added the desired server to the group via the…
IF statement not functioning in Azure runbook
I have a runbook with a PowerShell if statement to check if the input value of a received MAC address is in a valid format. If the format is not valid I am running a cmdlet which calls a function to update the MAC address and use the updated MAC. Else if…
Trying to deploy storage account and a lifecycle policy with ARM fails with Internal Server Error on policy
Hello, I am trying to deploy a storage account with an ARM template (generated from Bicep) with lifecycle management policy and the policy rule fails with Internal Server Error, without of course any details, so it is not possible to know if I am…
![](https://techprofile.blob.core.windows.net/images/b1ec4471f4c840e7994dcdeda51ccfdd.png)
![](https://techprofile.blob.core.windows.net/images/b1ec4471f4c840e7994dcdeda51ccfdd.png)
How to restart a VM in Automation State Configuration with latest configuration?
Hi. Let's say I've connected to a VM and enabled Azure Automation State Configuration. Then the VM stopped (for whatever reason). What should I do to restart the VM from the latest configurations? Can I just start it again or do I need to restore its…
Issue with Automation Account SourceControl autoSync
Hi, Has anyone else faced this issue with source control in Automation Accounts? From one day to the next, the auto-sync feature just stopped working, and when we try to enable it, we get the following error: We have a lot of source control configured…
Creating azure automation run book with PShell to deploy new instance of cloud compute solution and delete with other script
is it possible to azure automation run book using powershell to deploy new instance of cloud compute solution? and I want to run another run book to delete all the resources created by the first script with out any back up ? how do we do these 2, please…
Azure Automation Account Source Control Error
Hi there, I'm getting an error when using the Source Control for one of my runbooks. I'm getting the following error log everytime I try to turn on the 'Auto Sync' setting. Currently, I only have 1 runbook so I can't really test this out on another…
Receiving an error when trying to deploy ARM template
I created a runbook within an Automation Account to go out and grab logic app templates and send them to a blob storage container. Here is the powershell script that gets the templates # Ensure modules are imported, should already be imported via…
Unable to create automation account with customer-managed key
Hi, I am trying to deploy an automation account with a customer-managed key via Bicep but it keeps resulting in an Internal Server Error (HTTP Status Code: 500). I am using the bicep…
Azure Synapse LinkConnection template json
We have created a LinkConnection in Azure synapse, the source database is MS SQL Server and target database is Dedicated SQL Pool. We are trying to create powershell script to automate the creation of this LinkConnection for each environment - Testing,…
Azure Automation PowerShell - While trying to connect to AzureAD using 'Connect-AzureAD' it give me issue of cmdlet not recognized.
I am trying to get all the users in AD using PowerShell automation runbook. The modules are installed in the shared resources. Still when executing line : 'Connect-AzureAD' throws error of : I have tried options like : Importing the modules…
Help getting python runbook (azure automation) to access microsoft graph (sharepoint files)
Hi all, I would love some help trying to get my python runbook to access my microsoft graph. I have followed this tutorial (https://learn.microsoft.com/en-us/entra/id-governance/identity-governance-automation) and have tested my certificates with a…