1,356 questions with Azure Automation tags

Sort by: Updated
1 answer

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-05-23T14:29:40.4+00:00
Hugo 20 Reputation points
edited an answer 2025-05-23T16:17:22.8433333+00:00
Ashok Gandhi Kotnana 7,750 Reputation points Microsoft External Staff Moderator
0 answers

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-05-17T19:06:44.91+00:00
Simon Taylor 0 Reputation points
commented 2025-05-23T13:36:39.3266667+00:00
Simon Taylor 0 Reputation points
1 answer

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-05-07T09:12:31.7766667+00:00
Abdulaziz Yassin 0 Reputation points
commented 2025-05-23T12:49:09.5766667+00:00
Ashok Gandhi Kotnana 7,750 Reputation points Microsoft External Staff Moderator
1 answer

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
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,422 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,614 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,229 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,953 questions
asked 2023-06-27T18:55:35.22+00:00
Khushboo Kumari 107 Reputation points
commented 2025-05-21T17:02:05.1633333+00:00
0 answers

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-05-13T10:46:12.0066667+00:00
Adri 0 Reputation points
edited a comment 2025-05-21T01:25:26.6733333+00:00
Naveena Patlolla 2,800 Reputation points Microsoft External Staff Moderator
1 answer

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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,614 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,229 questions
asked 2023-06-26T13:29:37.64+00:00
martin 16 Reputation points
edited a comment 2025-05-15T16:28:02.4633333+00:00
Rachael Singleton 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-05-14T07:32:35.1033333+00:00
Najam ul Saqib 420 Reputation points
accepted 2025-05-15T07:26:43.4766667+00:00
Najam ul Saqib 420 Reputation points
1 answer

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 Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,496 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-02-12T05:59:25.84+00:00
Azure Subscription 0 Reputation points
commented 2025-05-13T20:43:30.12+00:00
deLiKeith 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,545 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,690 questions
asked 2025-01-08T13:11:15.56+00:00
SS97 40 Reputation points
edited an answer 2025-05-13T14:06:42.6166667+00:00
Ryan Hill 30,266 Reputation points Microsoft Employee Moderator
1 answer

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-04-17T20:30:29.19+00:00
Matthew Dowst 0 Reputation points MVP
answered 2025-05-12T11:10:03.8433333+00:00
Madugula Jahnavi 495 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,690 questions
asked 2022-04-14T17:12:28.343+00:00
Jesus Chao 156 Reputation points
commented 2025-05-07T14:29:14.8066667+00:00
Jesus Chao 156 Reputation points
3 answers One of the answers was accepted by the question author.

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,690 questions
asked 2023-05-11T09:10:40.96+00:00
Yashas Manjunath 96 Reputation points
answered 2025-05-06T02:35:04.9166667+00:00
Omar Teodoro Oropeza 0 Reputation points
2 answers

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-04-04T09:52:28.35+00:00
Grant McGregor 0 Reputation points
answered 2025-05-05T12:02:09.1566667+00:00
Blaise Sculier 5 Reputation points
1 answer

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2024-10-16T22:58:19.99+00:00
Arun M K 0 Reputation points
commented 2025-05-01T23:33:50.36+00:00
Satish Naidi 0 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-04-12T14:32:33.16+00:00
Tabish Ahmed Shaikh 20 Reputation points
accepted 2025-04-30T15:06:30.9566667+00:00
Tabish Ahmed Shaikh 20 Reputation points
0 answers

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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,614 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-01-08T14:41:06.26+00:00
Christopher Roos 25 Reputation points
commented 2025-04-29T20:18:59.38+00:00
Brady, Shaun (CMS/OACT) 0 Reputation points
1 answer

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-04-23T22:15:20.48+00:00
Kevin Blackwell 0 Reputation points
commented 2025-04-29T06:34:15.8933333+00:00
Vinod Pittala 2,320 Reputation points Microsoft External Staff Moderator
1 answer

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2025-04-24T22:13:11.1866667+00:00
Kevin Blackwell 0 Reputation points
answered 2025-04-25T10:39:54.8733333+00:00
Ashok Gandhi Kotnana 7,750 Reputation points Microsoft External Staff Moderator
0 answers

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 Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
802 questions
asked 2024-07-02T12:29:37.53+00:00
Antoine Davis 0 Reputation points
commented 2025-04-24T12:32:35.7633333+00:00
Andrew Coughlin 240 Reputation points Microsoft Employee
2 answers

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

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
asked 2022-11-06T23:59:56.62+00:00
RADical 6 Reputation points
answered 2025-04-23T09:24:44.89+00:00
Andre++ 21 Reputation points