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

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

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


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


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