1,487 questions with Azure Automation tags

Sort by: Updated
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,487 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,487 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 125.6K 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,487 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,487 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 10,425 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,487 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 10,425 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,487 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

How to get the Logic App back

I have a account on free trial for 30 days, I made a logic app on that account and after the trial ended my azure logic app disappeared automatically, even after selecting the monthly payment after billing pay as per you go setup as well it did not…

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-03-09T13:25:24.0966667+00:00
SSingh 0 Reputation points
commented 2026-03-09T14:22:02.99+00:00
Bharath Y P 6,560 Reputation points Microsoft External Staff Moderator
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,487 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,487 questions
asked 2026-02-26T13:36:31.37+00:00
VARCHINI V C 0 Reputation points
commented 2026-03-05T05:20:46.8633333+00:00
Balasundaram, Prabakaran (Admin3) 0 Reputation points
1 answer One of the answers was accepted by the question author.

Can Runbook script have multiple file lists in it?

Hello, I'm back! haha. This script works to update a Distribution group from a list. However, I have like 20 different lists, so is there a way to add all the file paths in one code and it work? I just tried running with 2 lists and it updated the 2nd…

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-03-02T15:21:12.74+00:00
Tyler Johnson 120 Reputation points
accepted 2026-03-04T14:02:03.0666667+00:00
Tyler Johnson 120 Reputation points
1 answer

Unable to Setup the Automation Task - Start and Stop for Azure VM

I am trying to create a start VM task under a Virtual Machine. After trying to run the task I am getting the below error: Note, if the subscription is transferred to another tenant there is no impact to the services, but information about could take…

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-02-05T11:17:35.4633333+00:00
Pironada Nako 0 Reputation points
commented 2026-03-04T09:48:36.8733333+00:00
kagiyama yutaka 1,320 Reputation points
2 answers

PowerShell Runbooks convert string-inputs with leading zeros as octal and convert them to deca

Hi all. There's a weird behavior in Azure Runbooks, where string inputs get converted as octa to deca-numbers although their are defined as string-parameters. When calling the runbook from the Azure-UI it all works as expected. But when calling it…

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-03-03T12:26:09.6166667+00:00
Frank Muraschow 0 Reputation points
commented 2026-03-04T08:15:40.8133333+00:00
Siva shunmugam Nadessin 7,070 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Help Updating Distribution Group with members already in it using Azure Automation Runbook

Hello, I need to be able to create an Azure Automation Runbook that when new parents are added to my Excel list on my computer, it updates the Distribution Group. The code below works, but only if there are no members in the distribution group. If the…

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-02-26T21:53:04.5+00:00
Tyler Johnson 120 Reputation points
edited an answer 2026-02-27T16:03:47.56+00:00
Bharath Y P 6,560 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

I need to create an automated Powershell

Hello, I'm new to using Powershell and Azure Automation. I have code that I can manually run in Powershell, but I need to create an automation process, which I think is done in Azure Automation. Here is my code. The files are on my local drive. It…

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-02-12T14:52:43.84+00:00
Tyler Johnson 120 Reputation points
accepted 2026-02-26T21:48:10.84+00:00
Tyler Johnson 120 Reputation points
2 answers One of the answers was accepted by the question author.

Help Connecting Azure Automation to Exchange Online - Failed UnAuthorized (UnAuthorized)

Hello, I'm new to Azure Automation and using Exchange. I have tried over the past week to set and connect this automation up, but have failed and I'm getting quite frustrated. I have tried different scripts by using Google Search, and it always seems to…

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-02-23T20:13:22.4366667+00:00
Tyler Johnson 120 Reputation points
accepted 2026-02-26T21:35:12.1433333+00:00
Tyler Johnson 120 Reputation points
2 answers

Công ty tôi đang muốn tìm hiểu về Microsoft Purview để quản trị dữ liệu, vui lòng cung cấp thêm thông tin

Công ty tôi đang muốn tìm hiểu về Microsoft Purview để quản trị dữ liệu, vui lòng cung cấp thêm thông tin

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-02-24T04:30:40.4766667+00:00
Doanh Tran 0 Reputation points
commented 2026-02-26T12:56:59.29+00:00
Siva shunmugam Nadessin 7,070 Reputation points Microsoft External Staff Moderator
1 answer

MS Graph HTTP request failed with status code: GatewayTimeout

Hi everyone, Lately my runbook has been spewing out following error The runbook has been running perfectly fine for the past months, but since last week this started to appear. Anyone else having similar behaviour?

Azure Automation
Azure Automation

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

1,487 questions
asked 2025-07-14T13:26:32.0333333+00:00
Dimitry Decan 0 Reputation points
commented 2026-02-23T10:57:52.89+00:00
Ahsan Sahab 0 Reputation points
2 answers One of the answers was accepted by the question author.

PnP.PowerShell Not Recognized in Azure Automation Runbook

Hi everyone, I’ve seen several similar issues reported, but none of the proposed solutions worked for me so far. Here is my situation. I am using Azure Automation with a PowerShell 7.2 Runbook, and I am trying to run a very simple script: just connecting…

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-02-16T12:49:06.7933333+00:00
Kaya Elif 20 Reputation points
accepted 2026-02-19T12:16:35.94+00:00
Kaya Elif 20 Reputation points
1 answer

Azure deleted out runbooks

Our azure automation runbooks created in 2022 and 2024 is now empty and not working. And no we have not deleted the content, some process on azure has wiped them out. I would like them back please

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-01-22T13:32:55.11+00:00
Michael Faursby Ahlers 0 Reputation points
edited the question 2026-02-19T07:54:19.29+00:00
Suchitra Suregaunkar 10,425 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Unable to import Az.* modules in PowerShell 2.7 Automation Runbook

Despite all of that, the runbook fails with two errors about being unable to import Az.Accounts and Az.Storage. What am I doing wrong? How to make Az modules available?

Azure Automation
Azure Automation

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

1,487 questions
asked 2026-01-07T20:51:30.88+00:00
Jason R. Coombs 60 Reputation points Microsoft Employee
edited the question 2026-02-19T07:42:35.09+00:00
Suchitra Suregaunkar 10,425 Reputation points Microsoft External Staff Moderator