1,171 questions with Azure Automation tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Set-AzureADUserThumbnailPhoto in Automation Runbook

Hello, I try to create a Azure Automation Runbook which updates the Profile Pictures of Guest Users. As I can not define a File in Azure Automation (or Can I?) I want to use the -ImageByteArray Argument . But I dont find any examples of that. I…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,443 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,280 questions
asked 2021-04-08T09:44:52.96+00:00
Sascha Reichhardt 36 Reputation points
accepted 2021-04-08T19:52:16.67+00:00
Sascha Reichhardt 36 Reputation points
1 answer One of the answers was accepted by the question author.

The remote server returned an error: (403) Forbidden when installin extension to Azure VM

Hi, I'm using following line in my Azure Runbook to enable diagnostic settings for Azure vm if ($vm.StorageProfile.OsDisk.OsType -eq 'Windows' -and $vmStatus -match 'VM running') { $extensions = Get-AzVMExtension -ResourceGroupName…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-03-19T07:18:55.247+00:00
Bombbe 1,616 Reputation points
accepted 2021-04-06T06:56:23.357+00:00
Bombbe 1,616 Reputation points
1 answer One of the answers was accepted by the question author.

Problem using Get-AutomationPSCredential for Invoke-Sqlcmd password

Hello I have an Azure Runbook which needs to write data into an Azure SQL database. My password is stored in the automation account's credential object and I use Get-AutomationPSCredential to pull out the .Password property. For some reason the…

Azure SQL Database
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-03-30T14:24:21.967+00:00
David Gray 176 Reputation points
accepted 2021-04-01T13:07:26.263+00:00
David Gray 176 Reputation points
0 answers

Why do scripted steps in Recovery Plans rely on the location of the RG instead of location of the automation account and runbooks?

If you have a Resource Group in the source region and that RG contains an automation account and runbooks in another region. Then you can't use that automation account and runbooks in an ASR recovery plan. The check fails because the region of the RG…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
667 questions
asked 2021-03-21T13:06:57.66+00:00
Lund, Claus 1 Reputation point
commented 2021-03-23T19:23:19.567+00:00
SadiqhAhmed-MSFT 40,026 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Network Security Groups and Update Management

We are attempting to implement Azure Automation for Update Management of a subset of servers that have outbound internet access blocked. We want to open port 443 only for required Azure Public traffic listed in the doc below as: …

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,252 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-03-17T20:15:03.487+00:00
jpcapone 1,376 Reputation points
accepted 2021-03-23T18:53:45.253+00:00
jpcapone 1,376 Reputation points
2 answers

Can I use a runbook to start a VM and run commands in the VM?

I would like to receive a HTTP post request from a web application, and then run a command on the VM (like I would when I SSH into the VM) and return the output. Is this possible using a runbook or any other Azure services?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-03-15T01:30:00.41+00:00
np 11 Reputation points
commented 2021-03-23T08:06:24.997+00:00
tbgangav-MSFT 10,416 Reputation points
1 answer

Error reaching blob container from azure runbooks python 3

Hello, I need to pull a json file from azure blob container using python 3 in azure runbooks. First I added all python packages to the automation account. I ran the following script: from azure.storage.blob import BlobServiceClient import…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-01-06T18:59:09.693+00:00
Luuk van Vliet 276 Reputation points
answered 2021-03-23T06:58:16.04+00:00
Alden 1 Reputation point
0 answers

Azure Powershell Runbook fails randomly without logging errors

I have Azure runbook job which fails randomly without logging any errors. The job calls a DB stored procedure. The job fails totally randomly like couple of times out of 20-30 runs. It just says in Exceptions tab that - I have some errors. (I have some…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,443 questions
asked 2021-03-19T04:17:33.827+00:00
Nikhil 1 Reputation point
commented 2021-03-19T05:57:50.78+00:00
tbgangav-MSFT 10,416 Reputation points
1 answer

Azure Update Manager query

In recently we had an issue - where we have setup few scheduled task to do patching of the server for critical and important update using update manager. it failed and we missed to get any information - which caused us many issues. Hence we have decided…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-03-11T10:19:36.083+00:00
Ashish Javiya 1 Reputation point
commented 2021-03-12T05:55:57.363+00:00
SwathiDhanwada-MSFT 18,456 Reputation points
1 answer

Automation account to have permissions only to Update Management

Hi Team, Can we provide RBAC permissions to specific users only on Update Management? how can it be done? Regards, GEEAZ

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-03-09T08:39:15.747+00:00
Geeaz 121 Reputation points
answered 2021-03-11T09:05:37.043+00:00
SwathiDhanwada-MSFT 18,456 Reputation points
0 answers

How to connect to PnPConnect then Get-PnPProvisioningTemplate in Azure Automations Runbook using MFA?

Hi All I have been trying for over a week now to run the below command in a Automations Runbook. But I have hit brick walls with every attempt at authentications. Has anyone successfully managed to automate PnPProvisioningTemplate? # Dynamic…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-02-22T22:25:33.787+00:00
Rob at Notebook Publishing 1 Reputation point
commented 2021-03-09T10:59:46.173+00:00
SwathiDhanwada-MSFT 18,456 Reputation points
1 answer

Azure Automation account admin consent for API issue

We have multiple Azure subscriptions. An admin of one of these has subscriptions created an automation account, with run as privileges. That run as account in Azure AD has API permissions to Azure Active Directory Graph (as picture) - this…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,896 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,280 questions
asked 2021-03-05T16:19:23.037+00:00
Hayward, Darrell 1 Reputation point
commented 2021-03-09T04:53:44.397+00:00
Hayward, Darrell 1 Reputation point
1 answer

Trying to add a start/stop solution on Azure VM using a second Automation account

I'm trying to add a VM start/stop solution on a second Automation second because i was not able to edit the solution on the first automation account to change the timings. Anyways, i've deleted all resources pertaining to the first Start/stop VM solution…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-03-01T04:39:34.327+00:00
QBLT 1 Reputation point
answered 2021-03-05T05:10:53.377+00:00
SwathiDhanwada-MSFT 18,456 Reputation points
2 answers

Runbook implement in different environments

we have one Automation account , in that we have created run book , which monitors blob container every half an hour , but , we have to create 3 scripts for 3 environments and pass the variables . is there a way we can we can pass scopes like…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-02-25T04:52:03.73+00:00
Rajendar Talatam (US - IFS) 1 Reputation point
commented 2021-03-05T04:48:52.95+00:00
tbgangav-MSFT 10,416 Reputation points
1 answer

Can someone help me see the differences between Azure Automation and Azure Blueprints and when to use each? (Azure lighthouse in future plan)

I was hoping to ask someone what the difference between using Azure Blueprints and Azure Automation is, it looks like I want blueprints (multiple enviroments and clients deploying parameterised ARM templates), but what am I missing about the…

Azure Blueprints
Azure Blueprints
An Azure service that provides templates for quick, repeatable creation of fully governed cloud subscriptions.
70 questions
Azure Lighthouse
Azure Lighthouse
An Azure service that provides secure managed services and access control for partners and customers.
70 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-02-25T12:32:23.773+00:00
Tyeth Gundry 1 Reputation point
commented 2021-03-04T17:54:16.807+00:00
tbgangav-MSFT 10,416 Reputation points
0 answers

import module failing in azure automation

Import module failed "Modulename" Error importing the module "name of the module". Import failed with the following error: Orchestrator.Shared.AsyncModuleImport.ModuleImportException: An error occurred during module validation. When…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2020-08-28T12:14:05.487+00:00
Raj Raj 6 Reputation points
commented 2021-03-04T15:47:07.057+00:00
RobertTheBruce 51 Reputation points
1 answer

execute mysql script from azure automation powershell runbook

I have a mysql dump file (essentially a mysql sql script file) which i need to run against an azure mysql database How do I do this within a powershell script in an azure automation runbook? I've used azure cloud shell to do it before and the…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
752 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-02-25T13:33:38.117+00:00
Brian Melvin 1 Reputation point
commented 2021-03-04T08:28:45.613+00:00
Brian Melvin 1 Reputation point
1 answer

How is a Digital Twin better than syncing Simulation Program on VM to Data on Azure Data Lake

I build simulations for mines in SIMIO. How are Azure Digital Twins better than simply doing the following: Step 1: Upload inputs in the form of CSV or SQL files onto an Azure Storage server. These inputs can be updated automatically every hour/day/month…

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
224 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-02-24T15:20:10.15+00:00
Johan Erasmus 6 Reputation points
commented 2021-03-03T01:37:32.077+00:00
QuantumCache 20,186 Reputation points
0 answers

Azure Automation - updates classifeid as other is not being applyed

Hello, On my environment I detected that some updates in Azure Automation is not being applyed in VMs, this updates is classified as Others. in the image below we can see that exists 4 updates, but this updates is not is not being applyed for one…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-02-23T21:02:53.16+00:00
VolginRnB 256 Reputation points
commented 2021-03-02T03:26:16.223+00:00
tbgangav-MSFT 10,416 Reputation points
1 answer

Does enabling "Start/Stop VMs during off-hours" cause "watchers" (from process automation) to be used ?

According to the Process Automation section of the pricing page: https://azure.microsoft.com/en-us/pricing/details/automation/ Cost consists of "Job run time" and "Watchers" Does the "Start/Stop VMs during off-hours"…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,171 questions
asked 2021-02-23T15:46:13.717+00:00
Peter Thurwachter (MINDTREE LIMITED) 621 Reputation points
answered 2021-03-01T09:51:32.747+00:00
tbgangav-MSFT 10,416 Reputation points