1,160 questions with Azure Automation tags

Sort by: Updated
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,863 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 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,142 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,160 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,131 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,160 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,406 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.
69 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 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,406 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,160 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.
745 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 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.
222 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 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,106 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,160 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,406 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,160 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,406 Reputation points
1 answer

How can we add the powershell scripts that are used in main powershell script in run books

I am trying to automate the kusto scripts by triggering from azure runbook instead from VM. I have a masterscript.ps1 which calls other powershell scripts. Could you please help me where should be we add the code of other powershell scripts in runbook…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
asked 2021-02-17T19:28:46.147+00:00
Noorjahan 1 Reputation point
commented 2021-03-01T09:12:34.697+00:00
tbgangav-MSFT 10,406 Reputation points
2 answers One of the answers was accepted by the question author.

Hello All, how we can use python in azure to build or automate things ? Replies appreciated.

Hello All, Started learning Python and I want to know how can I use Python to build automate Azure infra, basically IAAS services.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,432 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,174 questions
asked 2021-02-26T14:25:19.963+00:00
Saurabh Dhande 21 Reputation points
accepted 2021-02-26T21:44:10.863+00:00
Saurabh Dhande 21 Reputation points
1 answer

automate key rotation for azure resources

i want to create a funcntion that can automate the rotation of keys when they are about to expire in keyvault. basically i want that when a key is about to expire in keyvault it generates an event which in turn regenerate the key for the specific…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,163 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,497 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
asked 2021-02-23T10:15:39.827+00:00
Tushar 1 Reputation point
commented 2021-02-26T16:35:38.357+00:00
JamesTran-MSFT 36,496 Reputation points Microsoft Employee
1 answer

Azure Automate: Powershell for skype for business does not give any output back to the runbook

Hi Guys, I created a script to configure Teams Voice for a user. The scripts does configure the user ok. But it is not getting the normal output back Setup Added the skype online connector to runbook modules by uploading the zip file created a…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
asked 2021-02-20T08:59:18.87+00:00
Jurgen Verhelst 326 Reputation points
answered 2021-02-25T08:22:07.043+00:00
tbgangav-MSFT 10,406 Reputation points
4 answers One of the answers was accepted by the question author.

Automate Azure SQL edition (from Standard to Basic)

Hello, I'm trying to figure it out how to change Azure SQL tier using automation. During the day I will use Standard S0 and during the night I want to reduce to Basic. My question is about parameter perflevel. Edition -> "Basic" PerfLevel…

Azure SQL Database
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
asked 2021-02-23T18:24:07.82+00:00
Felipe silveira 101 Reputation points
commented 2021-02-24T16:11:10.743+00:00
Anurag Sharma 17,581 Reputation points
1 answer

Automation account parallel run invoke-sqlcmd

I have a child runbook like in the following Param ( [String] $dblist ) invoke-sqlcmd -ServerInstance "xxxxxxxxx.database.windows.net" -Database $dblist -Credential $SQLServerCred -Query "$getstatsQuery"…

Azure SQL Database
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
asked 2021-02-22T06:55:43.867+00:00
sakuraime 2,321 Reputation points
answered 2021-02-23T08:28:55.257+00:00
sakuraime 2,321 Reputation points
1 answer One of the answers was accepted by the question author.

Error during while running Azure Runbook

Hi, this is part of bigger Runbook but I somehow keep getting errors in this part if ($vm.StorageProfile.OsDisk.OsType -eq 'Windows' -and $vmStatus -match 'VM running') { $extensions =…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
asked 2021-02-19T14:14:59.617+00:00
Bombbe 1,611 Reputation points
accepted 2021-02-22T08:05:50.193+00:00
Bombbe 1,611 Reputation points
1 answer

Connect-AzureAD using PSCredential

I am trying to Add user into AAD group using Automation Service -Runbook Powershell. I have created a Credentials Username : XYZ pwd:ABC and then trying below Powershell script, but getting below error. Powershell script: $aadAdminCred =…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 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,432 questions
asked 2021-02-17T08:29:53.967+00:00
Nusrat Jahan Shaikh 1 Reputation point
commented 2021-02-22T06:37:05.92+00:00
Nusrat Jahan Shaikh 1 Reputation point
1 answer

Azure automation account and SQL Server VM

Suppose I have a SQL Server VM and Azure which is domain join and I have an Azure automation account. How can I connect to this SQL Server VM from Azure automation account using Windows AD authen ? I know there is a concept of creating a…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,086 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
asked 2021-02-18T04:07:41.183+00:00
sakuraime 2,321 Reputation points
commented 2021-02-20T14:33:32.453+00:00
sakuraime 2,321 Reputation points
1 answer

Azure automation account sqlcmd

I would like to use invoke-sqlcmd in azure automation account . using option -query I declare a query (multi line query) $query = @' declare @var1 varchar(10) declare @var2 varchar(10)...... and some other TSQL '@ then invoke-sqlcmd…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,086 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
asked 2021-02-18T06:14:43.35+00:00
sakuraime 2,321 Reputation points
commented 2021-02-19T07:10:17.613+00:00
tbgangav-MSFT 10,406 Reputation points
1 answer

Assigned Service Principal (Enterprise application) Sharepoint Admin role and it still can't perform sharepoint tasks with runbook. Status 'Unauthorized'

I am creating a process for with Azure Automation. I would like the process to be fully void of user credential (as expected). When I log into PnPonline with the Service Principal I try and run an operation that a Sharepoint Admin can do. My account is…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
asked 2021-02-12T18:22:11.677+00:00
ASaurdiff 101 Reputation points
commented 2021-02-18T23:02:35.11+00:00
ASaurdiff 101 Reputation points