1,493 questions with Azure Automation tags

Sort by: Updated
1 answer

Calendar Access full transfer using power automate and azure automation

I have a SharePoint list and I'm updating the details like Owner Email , EA Email and Back Up EA Email , StatrtDate , EndDate , remove EA access now when create a item in SharePoint list flow should trigger it should check if EA is having access to…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-04-06T17:20:18.49+00:00
upendar naik 0 Reputation points
commented 2026-04-20T18:41:43.9666667+00:00
Siva shunmugam Nadessin 8,405 Reputation points Microsoft External Staff Moderator
1 answer

azure automation runbook 404 error when connecting to sharepoint online

Hi, I have a Powershell script that runs fine in my local ISE, but fails with a 404 in the Azure Automation runbook. The script checks a specific inbox in Exchange online for new emails with attachments, saves and renames the attachments to a specific…

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

7,122 questions
Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
Microsoft 365 and Office | SharePoint | Development
Windows for business | Windows Server | User experience | PowerShell
asked 2024-09-22T01:43:00.1233333+00:00
Brad 0 Reputation points
answered 2026-04-20T17:22:05.0233333+00:00
Amira Bedhiafi 41,376 Reputation points Volunteer Moderator
2 answers One of the answers was accepted by the question author.

Automated way to activate PIM roles.

Hi, I am looking for an automated or script way to activate the PIM contributor or owner roles for a resource in azure instead of doing it via GUI.

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-04-20T16:21:31.26+00:00
Naga 20 Reputation points Microsoft External Staff
edited an answer 2026-04-20T17:20:51.0166667+00:00
Siva shunmugam Nadessin 8,405 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Automating the Azure Resource Inventory tool

I have been using the AzureResourceInventory tool manually for the last few months and now have investigated setting this up via Azure Automation as per this guide - https://github.com/microsoft/ARI/blob/main/docs/advanced/automation.md Each time I run…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-04-16T15:42:55.84+00:00
Steve Harrison 40 Reputation points
accepted 2026-04-20T08:30:10.1433333+00:00
Steve Harrison 40 Reputation points
1 answer

Default Path location differences between Powershell 7.2 and Powershell 5.1 environments

Hi, I am in the process of moving our runbooks to use a PowerShell 7.2 environment and in the process of that migration we noticed that the default path for the runbooks are different when running on the Hybrid Worker. Can anyone tell me why the change…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2024-06-10T15:17:17.3333333+00:00
Jesus Chao 161 Reputation points
answered 2026-04-17T19:55:49.24+00:00
Amira Bedhiafi 41,376 Reputation points Volunteer Moderator
1 answer

Automation Startup Task Fails

Automation startup task fails - Bad Request Status 400 code { "Cache-Control": "no-cache", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains",…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2024-09-25T20:19:58.0833333+00:00
CoreyWhitney-1573 0 Reputation points
commented 2026-04-17T19:55:25.8766667+00:00
CoreyWhitney-1573 0 Reputation points
1 answer

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

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2024-07-09T10:37:31.8866667+00:00
Varma 1,560 Reputation points
answered 2026-04-17T19:07:32.8066667+00:00
Amira Bedhiafi 41,376 Reputation points Volunteer Moderator
1 answer

Can't make Automation account.

Hi, So I'm trying to make an automation account. I should be able to make an account in these given regions: ["polandcentral","swedencentral","uaenorth","switzerlandnorth","germanywestcentral"]. I…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-04-16T12:10:44.8966667+00:00
Sem van Deventer 0 Reputation points
commented 2026-04-17T16:15:15+00:00
Suchitra Suregaunkar 12,330 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

How do I find available versions for an Azure Verified Module (AVM) in Bicep?

I am learning a Azure verified modules using biceps, I am going through a sample biceps registry GitHub repo https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/resources/resource-group, I'm able to see a quick example to start with…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-04-08T23:44:43.8+00:00
Uziel Jude 20 Reputation points
answered 2026-04-09T00:29:42.82+00:00
Siva shunmugam Nadessin 8,405 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Cannot login to azure using a managed user identity

Trying to login using the following command using the Azure CLI v2.9: - az login --identity --username [my-clientid] However, fails with the following error message Failed to connect to MSI. Please make sure MSI is configured correctly and check the…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2024-08-12T14:28:04.24+00:00
Andrew HB 361 Reputation points
edited a comment 2026-04-08T05:12:47.7233333+00:00
TS 0 Reputation points
2 answers One of the answers was accepted by the question author.

resource group in Deleting state for long time

my resource group in Deleting state for long time how can I debug?

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-03-27T16:47:31.0133333+00:00
Vladimir Tsitovtsev 30 Reputation points
accepted 2026-03-31T09:56:03.5033333+00:00
Vladimir Tsitovtsev 30 Reputation points
1 answer

Azure Automation Runbook jobs randomly failing with error "The decryption operation failed, see inner exception."

Powershell automation jobs are randomly Failing with an exception "The decryption operation failed, see inner exception". No way to gather any details about what the inner exception is. Details below. Fails in azure when starting jobs manually…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-03-26T12:34:48.42+00:00
REAutomation 0 Reputation points
edited a comment 2026-03-31T09:35:50.1066667+00:00
Siva shunmugam Nadessin 8,405 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Last logon details of VMs in Azure

Hi there, We’re looking to implement an automation solution to audit last login details in our Azure estate having hundreds of VMs. The goal is to capture the latest login time and associated user profile from each VM. We've experimented a solution using…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2025-07-31T13:07:13.2266667+00:00
mosho 20 Reputation points
accepted 2026-03-18T12:57:48.7866667+00:00
mosho 20 Reputation points
3 answers

Unable to connect to Exchange Online and Graph in same runbook

I'm having issues getting an Azure Automation to connect to both Exchange Online and Graph in the same runbook. I've tested connecting to Exchange Online only and that works, I've tested connecting to Graph only and that also works. This is the simple…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-03-17T11:52:51.4433333+00:00
Jon Kilner 96 Reputation points
recommended 2026-03-17T12:28:50.9333333+00:00
Vasil Michev 126K Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

Unable to use imported MSGraph Commands in Automation Runbook

I have developed a powershell runbook and I want to use the commands from these modules: Microsoft.Graph.Authentication 2.35.1 Microsoft.graph.Groups 2.35.1 I am using the 7.2 runtime version. My issue is that I am unable to use this…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-03-12T10:58:23.6233333+00:00
Tristan Marzec 20 Reputation points
accepted 2026-03-17T07:14:12.3266667+00:00
Tristan Marzec 20 Reputation points
0 answers

Automation action is failing with unknown error from action group

Automation action is failing with unknown error from action group

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-02-24T04:00:22.6033333+00:00
Sapna Maid 0 Reputation points Microsoft Employee
edited the question 2026-03-13T13:13:49.3966667+00:00
Suchitra Suregaunkar 12,330 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Need help keeping certain emails in Distribution Group while add or removing other emails with Azure Automation

Hello, I have a few administrator emails that were added into each DG and stayed there until I starting using this new code. Now they are not there anymore because they are not in the list the automation runbook is using. Is there away in the code to…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-03-12T18:48:22.56+00:00
Tyler Johnson 120 Reputation points
answered 2026-03-12T19:42:38.59+00:00
Suchitra Suregaunkar 12,330 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Help deleting members from Distribution Group using Azure Automation

Hello, I have class lists where sometimes the child moves to a different class. The list updates on my computer automatically, this code takes that list and updates the distribution group with the newly added parents, but does not remove them from the…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-03-09T12:15:56.35+00:00
Tyler Johnson 120 Reputation points
accepted 2026-03-11T14:43:24.33+00:00
Tyler Johnson 120 Reputation points
1 answer One of the answers was accepted by the question author.

Graph on dashboard does not show historic results if there are no current results for the query shown

I created a dashboard to show overviews for the multiple products we have on our backlog. So for every product I made a query to show all bugs that don't have status closed or removed with that specific product name in their title. These query's I then…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-03-05T13:16:20.62+00:00
Sandra Buster 20 Reputation points
accepted 2026-03-05T13:19:55.8066667+00:00
Sandra Buster 20 Reputation points
1 answer

Windows server 2025 supports Azure extension-based Hybrid worker v2

Windows server 2025 supports Azure extension-based Hybrid worker v2. please provide the Microsoft documentation link for reference

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,493 questions
asked 2026-02-26T13:36:31.37+00:00
VARCHINI V C 5 Reputation points
commented 2026-03-05T05:20:46.8633333+00:00
Balasundaram, Prabakaran (Admin3) 0 Reputation points