1,404 questions with Azure Automation tags

Sort by: Updated
2 answers

How to read Entra ID user data by automation account?

I have a runbook in an automation account with managed identity. I want this runbook to read information about federated users and groups from Entra ID. I want it to do it using "Connect-MgGraph -Identity". I got granted privileges…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-21T10:04:05.6333333+00:00
PPA Richard Vaněk 0 Reputation points
commented 2025-08-29T02:12:35.2166667+00:00
Sandhya Kommineni 245 Reputation points Microsoft External Staff Moderator
1 answer

ManagedIdentityCredential authentication failed for Azure Automation Account with Powershell script

I have a Powershell runbook set up in an Azure Automation account with a system assigned managed identity. I have given the managed identity Owner, Contributor, and DocumentDB Contributor permissions on the cosmos db account i'm trying to connect to. The…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-28T22:01:24.1733333+00:00
Jane Illarionova 1 Reputation point Microsoft Employee
answered 2025-08-29T01:50:21.77+00:00
Suwarna S Kale 3,951 Reputation points
0 answers

Error while excuting runbook in Azure Automation account

Hi Team, Could you please provide guidance and troubleshooting steps for an authentication issue I am encountering while attempting to automate the process of identifying inactive Azure AD accounts? I am working on creating a runbook to find these…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-25T08:09:35.43+00:00
Chinmayi Bose 0 Reputation points
commented 2025-08-29T01:30:36.6366667+00:00
Naveena Patlolla 5,365 Reputation points Microsoft External Staff Moderator
0 answers

Automation runbook execution error

When we execute automation runbook from azure arc on boarded AWS ec2 machine getting below exception even though no other job running. Job was suspended as the job limit for a Hybrid Worker exceeded. Add more Hybrid Workers to the Hybrid Worker…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-26T10:01:03.9333333+00:00
Raja M 0 Reputation points
commented 2025-08-29T01:30:00.16+00:00
Naveena Patlolla 5,365 Reputation points Microsoft External Staff Moderator
1 answer

Power Automate Approval Function

Hey, My team is currently using the approval function in power automate to accept and reject certain requests. However, when we try to respond to the request in the email notification it will say "An error occurred. Please try again later" As…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-28T16:05:20.47+00:00
Samin, RJ Elizer 0 Reputation points
answered 2025-08-28T20:37:59.8233333+00:00
John Burkholder 0 Reputation points
0 answers

PowerShell to get any successful Azure object deployment or creation in the past 24 hours

How can I get these results sent to me daily via email? # Make sure the Az module is installed & imported # Install-Module Az -Scope CurrentUser Connect-AzAccount # Define time range $startTime = (Get-Date).AddDays(-1) $endTime = Get-Date # Query…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-22T07:48:59.2733333+00:00
EnterpriseArchitect 6,166 Reputation points
commented 2025-08-28T18:08:40.47+00:00
Bharath Y P 500 Reputation points Microsoft External Staff Moderator
0 answers

In Automation account DSC node status is Unresponsive.

We have been using DSC to enforce our VM's configuration integrity for a year or so but we come across a situation that the VM will show a DSC node status of "Unresponsive" after being compliant for some time. I understand in the case of the VM…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-24T09:37:08.51+00:00
Ravulacheruvu Deepthi (LTIMINDTREE LIMITED) 0 Reputation points Microsoft External Staff
commented 2025-08-28T09:12:30.1633333+00:00
Sandhya Kommineni 245 Reputation points Microsoft External Staff Moderator
0 answers

Azure Automation Runbook - Connect-IPPSSession Fails with 'Unable to Find Type' Error

To execute Connect-IPPSSession within a Runbook: powershell $tenantId = "Tenant ID" $clientId = "Client (Application) ID" $clientSecret = "Client Secret" $tokenUrl = " $body = @{ client_id = $clientId client_secret…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-12T05:28:14.78+00:00
岩瀬 玲奈 0 Reputation points
edited a comment 2025-08-28T07:46:44.21+00:00
岩瀬 玲奈 0 Reputation points
1 answer

Azure AD B2C Integration SMS and TOTP using Custom policy

I'm trying to create a custom policy for integrating SMS and TOTP using a Custom policy. But I looked at the Medium post and coding post, but it is still not working. Not sure where I'm going wrong.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-27T18:33:18.14+00:00
Kakadiya, Neel 0 Reputation points
commented 2025-08-28T05:01:06.04+00:00
Michele Ariis 4,505 Reputation points MVP
4 answers

Automation account runbook PS runtime 7.4 - hybrid worker not working

Hello! I have an Automation Account and i have created a PS 7.4 runtime environment. I have added the package i'm using, Pnp.Powershell and a custom package. When i try to run the runbook using Azure, it works, but when i try to run using an Hybrid…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-04T19:05:20.5+00:00
Charles Thivierge 4,176 Reputation points
commented 2025-08-27T14:58:36.8866667+00:00
Kendal Friesen 6 Reputation points
1 answer

AZ-104 Sandbox Generation

Whenever I try to create a sandbox in the AZ-104 learning path, for any module, it gives a "hmm...something went wrong error", continues to build the sandbox and then gets stuck at 99% "creating a file share" This is in any module for…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-19T18:37:04.42+00:00
Andrew Fasano 0 Reputation points
commented 2025-08-25T01:12:56.6566667+00:00
Sandhya Kommineni 245 Reputation points Microsoft External Staff Moderator
1 answer

Unable to import modules to Automation account

I have an automation account with multiple runbooks. I wanted to update one of my previously imported modules (PnP powershell), but when I go to Modules menu and select Add a module > Import from gallery, the gallery returns "Loading…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-21T10:36:52.7166667+00:00
Jan Duchač 0 Reputation points
answered 2025-08-21T14:27:15.54+00:00
Vinod Pittala 6,305 Reputation points Microsoft External Staff Moderator
2 answers

Trying to run a runbook (powershell) using hybrid worker group but getting error.

Trying to run a runbook (powershell) using hybrid worker group but getting error message. The error I am getting is:- "Job was suspended as the job limit for a hybrid worker exceeded. Add more hybrid workers to the hybrid worker group to…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-12T15:29:09.2533333+00:00
vicky mishra 0 Reputation points
commented 2025-08-21T13:27:44.9866667+00:00
Anurag Rohikar 600 Reputation points Microsoft External Staff Moderator
0 answers

Azure Automation Hybrid Woker permission automatically removed

We are experiencing a recurring issue with two installed instances of the Azure Automation Hybrid Worker extension. For several months, both extensions have exhibited the same behavior: approximately twice per month, the custom credential permissions are…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-08T07:54:19.86+00:00
Carlo Berchtold 0 Reputation points
commented 2025-08-21T12:32:38.7666667+00:00
Carlo Berchtold 0 Reputation points
2 answers One of the answers was accepted by the question author.

UI Definition: Microsoft.Solutions.ArmApiControl UI element does not work

Hello Azure community, I am encountering an issue with Azure Managed Applications regarding the use of Microsoft.Solutions.ArmApiControl in a Create UI Definition. Background and Details: I have been using Microsoft.Solutions.ArmApiControl in my Create…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-07-24T16:11:17.41+00:00
Volodymyr Palant 40 Reputation points
answered 2025-08-20T14:07:57.2733333+00:00
Volodymyr Palant 40 Reputation points
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,404 questions
asked 2024-08-12T14:28:04.24+00:00
Andrew HB 361 Reputation points
answered 2025-08-18T10:35:41.1866667+00:00
Kosalan A 0 Reputation points
2 answers One of the answers was accepted by the question author.

Integrate Power automate with azure runbooks when a user submits response on Microsoft forms.

When a user hits the request on Microsoft forms it should trigger Automation runbooks and start or stop the vms based on the input. 1)I am able to start/stop vms on runbooks based on the tag values. 2)I am thinking to integrate the Microsoft forms to…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-07-29T12:01:03.71+00:00
Nagaraj Kadade 20 Reputation points
answered 2025-08-14T11:26:50.4+00:00
Nagaraj Kadade 20 Reputation points
0 answers

How can I deploy alerting from log analytics into Teams using Bicep?

I am trying to use Bicep in order to deploy an alerting solution that queries a log analytics workspace for error logs, then sends them in a group chat in Teams. This seemingly simple task has turned into a little bit of an ordeal, and I would appreciate…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-11T16:49:15.4666667+00:00
George Flourentzos 0 Reputation points
commented 2025-08-12T00:35:06.7966667+00:00
Siva shunmugam Nadessin 575 Reputation points Microsoft External Staff Moderator
1 answer

MS Defender for Cloud Continuous export via BICEP - help needed

Hello, all! I am trying to set up MS Defender for Cloud Continuous export via BICEP and need some help. The MS Documentation for this specific part leaves to be desired; there are no examples or explanations, so I am stuck. Here is the code: resource…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-06T16:37:45.74+00:00
Roman King 21 Reputation points
commented 2025-08-07T13:28:04.16+00:00
Roman King 21 Reputation points
1 answer

you don't have access to this service onedrive 0x8004e4d0

you don't have access to this service onedrive 0x8004e4d0

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,404 questions
asked 2025-08-01T17:34:35.7233333+00:00
Dion Hardin 0 Reputation points
commented 2025-08-06T23:52:27.36+00:00
Divyesh Govaerdhanan 8,590 Reputation points