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
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
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
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
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
Azure Automation : Job Details showing as null in powershell
While building with Azure Automation, I noticed that certain fields of the object returned by Get-AzAutomationJob in powershell are always null. Here is an example: The JobParameters and StartedBy fields always return null, regardless of the…
Azure Automation
How to find the approval group for the subscription responsible for approving PIM requests
Hi team, How to find the approval group for the subscription responsible for approving PIM requests
Azure Automation
azure automation: create user\groups in on-promise AD with runbook
Hi folks, I have a hybrid identity setup with on-premises Active Directory synchronized to Azure AD via Azure AD Connect. I'm exploring options to automate the creation of users and groups in the on-prem AD using Azure Automation Runbooks. Specifically,…
Azure Automation

Create role assignement with terraform gets stuck in and endless loop and no errors
I have a terraform that creates a RG, Vnet, 2 subnets a role definition and role assignement. Running terraform apply does not indicate any error, almost all items are created except the process gets stck as follows in assigning the role process and…
Azure Automation
Get the current status of Fabric Capacity
Within an Azure Runbook I am trying to get the current status of an Azure Fabric Capacity. I am not sure how to get it and have tried several things, including the below, but nothing I have tried works (I know I am doing something wrong). $response =…
Azure Automation
Patching Azure VMSS using Azure update mangement
How to do patching on a azure VMSS using Azure update management , What is the process to do it , we are patching VM's using update management , is it possible to patch VMSS also , and what are the things that we need to take care.
Azure Automation
Azure Virtual Machine Scale Sets
Azure Update Manager
"URGENT PLEASE" How can I automate Taking snapShots daily, Remove SnapShots daily from Azure VMs?
"URGENT PLEASE" I am struggling to setup a automation of Azure Virtual Machines in Production for taking snapshots daily with their tags, remove that snapshots daily. Thank you Rips
Azure Virtual Machines
Azure Automation
Azure Automation Accounts
Hello, I tried to deploy Automation Account using bicep. Since this is first time to deploy AA so I deleted existing one and re-deploy it for multiple times. I suddently received following message: "code": "BadRequest", …
Azure Automation
Unable to recover Automation account in Azure
Hi, I need help with restoring my Azure automation account. I created an automation account for some testing in the EastUS region and I deleted all the resources once my testing was complete. Then, I tried creating an automation account again but got…
Azure Automation
How do we prevent non-admin users from creating their own azure subscriptions when they sign up for a free Azure trial using their corporate microsoft account? We do not have an Enterprise agreement.
Hi Q&A, I recently discovered an unknown Azure subscription under our "Tenant Root Group" management group in the Azure Admin portal. This appears to have been created by a non-admin standard organisation user that does not have any…
Azure Automation
UNABLE TO DEPLOY MULTIPLE SUBSCRIPTIONS USING BICEPS.
Hello Team, Why does deploying multiple subscriptions via Bicep take long and error out? This means that it takes around half an hour for all the subscriptions to deploy, which seems a bit too long really..
Azure Automation
Encountered internal server error while processing the deployment what-if request
Hi, We're seeing unusual behaviour from Azure when we run bicept scripts - in a simple example we have a script that just creates a new resource group - the script fails to run in whatif mode: InternalServerError - Encountered internal server error while…
Azure Automation
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…