Issue with running an Automation Account Runbook
Hi. I'm following this article to rotate a secret that's about to expire, and the example works fine.I've made the following changes: param ( [Parameter (Mandatory = $false)] [object] $WebhookData ) if ($WebhookData) { $vaultName = $null …
Azure Automation
I need to delete an orphaned automation account
I deleted a log analytics workspace before unlinking an automation account. I have exhausted options trying to delete the resource so now I think I need microsoft to delete it in the backend. PS C:\Windows\system32> Remove-AzAutomationAccount -Name…
Azure Automation
Runbook Not Processing Emails Correctly
The runbook is not processing all emails as expected, even when the volume of emails is lower than usual. What steps can be taken to troubleshoot this issue?
Azure Automation
How to connect SharePoint online using certificate?
Hi I want to execute my code using azure runbook. I am trying to connect the SharePoint using below command $application = "" $certificateThumbprint = "" Connect-PnPOnline -ClientId $application -Thumbprint $certificateThumbprint…
SharePoint Server
Microsoft Graph
Azure Automation
SharePoint
PowerShell
import-pnponline error in azure automation runbook
Hi, I am new with Azure automations. I have created one runbook in an azure automation account. The runbook is using PowerShell 7.2. I have added the pnp module from the "Browse Gallery". Set it for PowerShell 7.2. When running a simple…
Azure Automation
Managed Identity with Sites.Selected permission
Hello, is it possibile to use a system assigned managed identity with the Sites.Selected permission? I was not able to find a clear answer for this and all my tests failed with an 401 error. What I have tested so far: Environment Azure Automation…
Microsoft Graph
Azure Automation
SharePoint
How to check permissions assigned to Managed Identity Access Token?
Hi, I have an automation account on which system-assigned managed identity is enabled. In Powershell, I can fetch the access token for this MI (by running run-job and during which fetching the MI's token) and later do actions on behalf of the identity…
Azure Automation
Exporting Power BI Reports as PDFs and Sending to Recipients Using Logic Apps
How can I use Logic Apps to export Power BI reports as PDFs and send them to different recipients? Specifically, I need to export the reports based on specific dimensions (such as filters or categories) and automate the process of emailing the PDFs to…
Azure Logic Apps
Azure Automation
Defender for Cloud - Disabled accounts with read and write permissions on Azure resources should be removed - removing permissions from accounts automatically
Hello, To complete recommendation from DfC "Disabled accounts with read and write permissions on Azure resources should be removed", I'd like to set autoschedule to remove permissions assigned to disabled accounts, which sign-ins aren't logged…
Azure Automation
Microsoft Defender for Cloud
Microsoft Entra ID
TLS 1.3 Support in Azure Automation Sandbox
I was wondering if anyone has any insight on when Azure Automation Sandboxes will support TLS 1.3 for PowerShell runbooks. Microsoft and by extension Defender are pushing TLS 1.3 across all Azure resources, but I can’t connect to them using runbooks…
Azure Automation
Connect-AzureAD using Managed Identity without Azure AD Graph Token
Recently, we received an email in regards to the retirement of Azure AD Graph. We understand that the retirement has been postponed to December 31, 2022. I use connect-azuread powershell cmdlet to connect to AzureAD in Azure Automation using the…
Azure Automation
Microsoft Entra ID
Strange auto-generated resources appeared in Azure
This week in one of the tenants we manage something strange happened. On Tuesday on 5:40 am (CET) suddenly all subscriptions got resources deployed. The resource groups which were deployed are attached as a screenshot. One of the resource groups is…
Azure Automation
Microsoft Entra ID

Unable to delete automation account
We have an automation account that we cant delete because it says "Automation account is linked to a workspace". But when we go to "unlink workspace" this fails with "failed to delete workspace because couldnt not be found".…
Azure Automation
How to pass parameter from webhook to a python runbook.
Hi I have a python script which i want to run using Azure automation. I have added a webhook for this runbook and i am able to run the scipt using webhook url from ADF. The problem is I want to pass a parameter to the script. Could someone help on…
Azure Automation
PowerShell script at azure storage account getting failed
Hello everyone, I've developed a PowerShell script that copies appended blocks into a block blob in a new container. It worked well in my POC environment and even ran successfully from a local PowerShell client in production. However, when I tried it on…
Azure Automation
Power Automate - One Drive for Business Convert File has stopped working
I use this to convert files to PDF. It has worked with no issues for several years. Yesterday it started timing out and now today it says PDF is not a supported format. Furthermore the action still shows PDF as an option in Power Automate…
Microsoft Graph
Azure Automation
Can I use an automation account wuth DSC across vnets?
I trying to come up with a hub and spoke model for our environments. They would all be in different vnets. I'm trying to use an automation account in one vnet (vnet1) to utilize DSC on a windows machine in a second vnet( vnet2). My first question is, is…
Azure Automation
Migrating from Automation Account to Automation State Configuration
I had an configuration working with an automation account, but I cannot seem to get it to operate on the automation stage configuration side. I was in the process of developing this using an Azure AA account, but with it becoming EOL, I wanted to see…
Azure Automation
Run a Python Runbook on a Linux virtual machine during Azure Recovery Site failover
Hello everyone, I'm currently trying Azure Site Recovery to replicate a VMware virtual machine into Azure. I've done the test failover successfully but now I'm trying to execute a Python script onto my replicate VM during the failover phase. I tried to…
Azure Automation
Azure Site Recovery
is it possible to save a PowerShell script output in azure storage blob?
Is it possible to run a cmdlet like Get-AzureADUser in PowerShell and then store the returned output in Azure Storage Blob? I can use the cmdlets below to upload files from my local machine to my storage account $localDirectory =…