1,142 questions with Azure Automation tags

Sort by: Updated
0 answers

Start/Stop Automation for VM doesn't properly start VM

I have a VM instance with Matillion - a default deploy from the Azure Marketplace. I have scheduled the start/stop with automation. It ran last night and appeared that the VM was on. However, upon trying to login to the VM using the public IP, I was not…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,257 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-12-04T18:26:11.18+00:00
commented 2020-12-22T00:55:32.45+00:00
KarishmaTiwari-MSFT 18,627 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Set-Timezone not working in Automation Account

I am trying to use Set-Timezone so that bulkcopying from a DataTable to SqlServer does not alter my DateTime values based on the UTC timezone of the Automation Account. However when I try to use Set-Timezone, I seem to get an internal error:

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-12-21T14:41:51.657+00:00
Lars Kartevoll 21 Reputation points
accepted 2020-12-21T15:39:47.77+00:00
Lars Kartevoll 21 Reputation points
0 answers

Chane UPN in Azure from Orchestrtaor

Hello, I would like to get some sample scripts to modify the UPN in Azure AD from Orchestrator. Orchestrator is located in On-Premise. Regards, Vijay

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,812 questions
asked 2020-12-04T11:43:45.733+00:00
vijayaragavan Hariharan 1 Reputation point
commented 2020-12-21T04:38:42.647+00:00
Shashi Shailaj 7,581 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Valid Webhook for Data Factory suddenly stopped working

Dear experts, I have a Data Factory (v1) pipeline, Runbook, Integration Runtime and Automation triggered from my client's site by a webhook that has been working well for three years. The webhook is in date. Yesterday morning the webhook stopped…

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,725 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-12-09T15:39:57.4+00:00
DataCapuchin 106 Reputation points
commented 2020-12-10T06:41:33.75+00:00
PRADEEPCHEEKATLA-MSFT 79,376 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Schedule powershell script to delete old ACR image

Hi Guys, I have the below script which is working fine from local PowerShell to delete older ACR images. Now I want to schedule it so that it can run periodically maybe through run book, pipeline, or any other suitable way if you guys can suggest? I am a…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
402 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-12-04T15:17:35.247+00:00
Mishra, Rajiv 51 Reputation points
commented 2020-12-05T11:19:30.393+00:00
Mishra, Rajiv 51 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Automation Hybrid Worker "Failed to set folder access"

Hello, I am quite new to Azure Automation. At the moment I am trying to get a Hybrid Worker running my runbooks locally. I have set up the hybrid worker group inside my automation account and also added the desired server to the group via the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-12T14:21:35.633+00:00
Josua 21 Reputation points
accepted 2020-12-02T13:49:15.19+00:00
Josua 21 Reputation points
1 answer One of the answers was accepted by the question author.

[resolved] Unable to compile any DSC Configurations in Azure Automation which use PSDscResrouce

Any DSC configurations which I try to run which rely on the PSDscResources module fail with the following error. This happens if I use the default Azure 2.9.0 version, or the updated 2.12.0 version. This happens with code that compiled properly on…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
423 questions
asked 2020-11-28T08:41:23.01+00:00
Robbie Crash 101 Reputation points
accepted 2020-12-01T03:24:21.157+00:00
Robbie Crash 101 Reputation points
2 answers

We need to assign a role groups to all subscriptions automatically if they dont have one.

Hi Team, We have few common groups and roles which are assigned to our subscriptions in the Tenant. We need to validate if these groups are present in all of our subscriptions and if not present, add those groups along with groups permissions as…

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
685 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-26T07:33:23.627+00:00
Girish Prajwal 706 Reputation points
commented 2020-11-26T17:15:39.26+00:00
Girish Prajwal 706 Reputation points
6 answers One of the answers was accepted by the question author.

Stop a remote service running in linux server using powershell runbook in azure

Hi Team, I need to stop a application service running on a Linux server from PowerShell runbook in azure. Is there a way to use ssh keys to login and create New-PSSession session? After stopping the application, i need to run another runbook. What…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-08T15:08:55.467+00:00
Perumal, Janakiraman 241 Reputation points
accepted 2020-11-26T00:35:37.14+00:00
Perumal, Janakiraman 241 Reputation points
8 answers One of the answers was accepted by the question author.

Automate Azure VM shutdown from Powershell runbook not working and no error

Hi Team, I created a runbook for automating the shutdown of Azure VM the same is working for another VM but not working for others. $connectionName = "AzureRunAsConnection" try { # Get the connection…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-23T10:35:45.33+00:00
TechGeek 31 Reputation points
commented 2020-11-25T11:20:18.187+00:00
TechGeek 31 Reputation points
0 answers

unable to add linux vm into hybrid worker groups

i am unable to add ubuntu 16.04 vm / Rhel 7 into hybrid worker group , i have followed the article recommended seems module refers to be not available once the omsagent got registered in workspace. …

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,257 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-12T12:51:39.203+00:00
suresh chinnasamy 1 Reputation point
commented 2020-11-25T03:16:07.027+00:00
tbgangav-MSFT 10,386 Reputation points
1 answer

Retreiving MOF file from Azure Automation Account

Hi, Does anybody know if it's possible to retrieve an Azure DSC MOF file from an Azure Automation account? I don't even know if this is possible, but compiling the dsc config locally is not a great option for us so we were looking for easier routes to…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-18T18:41:30.1+00:00
John Beard 1 Reputation point
answered 2020-11-25T02:44:47.147+00:00
olufemia-MSFT 2,861 Reputation points
5 answers

Azure Automation - Jobs stuck in running and stopped after 3 hours

Hi Team, I have scheduled an automation job to suspend/delete users based on their last sign-in. I am fetching last Sign-ins from Azure Log analytics. I am getting below error intermittently. Some times it completes within 32 mins without any…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-10-31T20:35:38.31+00:00
Ajay Kumar 1 Reputation point
commented 2020-11-24T14:20:05.897+00:00
SwathiDhanwada-MSFT 17,881 Reputation points
2 answers One of the answers was accepted by the question author.

List of all domains called from Azure portal

Is there a list of all domains called from Azure portal? Currently unblocking websites whack-a-mole style.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-16T14:52:12.42+00:00
dobxml-0229 46 Reputation points
accepted 2020-11-17T16:53:25.893+00:00
dobxml-0229 46 Reputation points
1 answer

Dynamically cast a string to an integer in a runbook

I am trying to create a script that updates an IP address in a NSG in Azure using a webhook connected to a runbook. My powershell script contains the webhook which I run locally: Write-Output "Changing IP Address..." $uri =…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-17T14:14:26.113+00:00
Chris 26 Reputation points
answered 2020-11-17T14:50:05.497+00:00
Andreas Baumgarten 98,621 Reputation points MVP
0 answers

Direct url to Azure Runbook job result

I have an Azure runbook job id, how can I send a colleague a url that links DIRECTLY to the job result in the Azure portal At moment only way is to send link to runbook then they must search by job id

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-17T10:43:49.823+00:00
Matt Smith 11 Reputation points
commented 2020-11-17T14:40:29.763+00:00
Matt Smith 11 Reputation points
0 answers

azure python sdk error urllib3.exceptions.MaxRetryError

I'm working with a python sdk for azure and it gives me an error sometimes, and works without the error the other times. Can someone please help me out? Im using a registered application and service principal and key to login to azure via python. The…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-06T04:41:11.787+00:00
Angel Khalkho 1 Reputation point
commented 2020-11-13T11:14:04.237+00:00
tbgangav-MSFT 10,386 Reputation points
1 answer One of the answers was accepted by the question author.

Automate Maintenance jobs in Azure SQL Database

Hi Team, I am planning to implement Index maintenance job on 5 Azure SQL Db's Options: Using Rubook Elastic Jobs feature. My question is ,which option is best for cost ($$$) point of view?

Azure SQL Database
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-10-20T06:58:05.867+00:00
Vijay Kumar 2,016 Reputation points
accepted 2020-11-12T20:08:32.693+00:00
Vijay Kumar 2,016 Reputation points
1 answer One of the answers was accepted by the question author.

Azure automation Runbook loads all modules and shows them in "All logs"

Hi, when running Azure automation Powershell Runbook it importing all modules and are logging them to "All logs". That means that important logs are lost in to mass. As you can see in this picture what am I talking about and there is about…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-11T08:46:54.077+00:00
Bombbe 1,611 Reputation points
commented 2020-11-12T13:29:14.327+00:00
Bombbe 1,611 Reputation points
2 answers One of the answers was accepted by the question author.

How to trigger an alert when a binary file is created in a path on an Azure VM

I have an Azure VM which is connected to a log analytics workspace. A third party application (no control on its behavior) is running on the vm and creates a binary file in a folder (like d:\app\bin) in specific circumstances. I would like to raise an…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,142 questions
asked 2020-11-06T01:32:59.097+00:00
Ali 96 Reputation points
accepted 2020-11-10T04:00:59.377+00:00
Ali 96 Reputation points