1,173 questions with Azure Automation tags

Sort by: Updated
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,173 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,470 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 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,416 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,173 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,173 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 18,466 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,173 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,173 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 101.9K 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,173 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,173 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,416 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,173 questions
asked 2020-10-20T06:58:05.867+00:00
Vijay Kumar 2,026 Reputation points
accepted 2020-11-12T20:08:32.693+00:00
Vijay Kumar 2,026 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,173 questions
asked 2020-11-11T08:46:54.077+00:00
Bombbe 1,616 Reputation points
commented 2020-11-12T13:29:14.327+00:00
Bombbe 1,616 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,173 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
1 answer One of the answers was accepted by the question author.

Azure Cloud Shell - How to export cmdlet output to a file that I can download?

In Azure Cloud Shell, how can I export the the cmdlet output to a file that I can download?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2020-11-06T16:43:38.92+00:00
ScottM 331 Reputation points
accepted 2020-11-08T23:04:04.463+00:00
ScottM 331 Reputation points
1 answer One of the answers was accepted by the question author.

Get-AzConsumptionUsageDetail - How to sum all PretaxCost rows returned and save to an excel or csv file?

Is there an example for how to sum the PretaxCost property for all objects returned by Get-AzConsumptionUsageDetail?

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,282 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 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,445 questions
asked 2020-11-06T15:59:49.227+00:00
ScottM 331 Reputation points
accepted 2020-11-06T16:33:50.157+00:00
ScottM 331 Reputation points
1 answer

how to calculate historical usage of resources in azure

Hi guys, Hope you all are doing well. I need a help in calculating historical usage of azure resources like increase in data in adls with respect to time, processing time of databricks cluster, adf, syanapse resources for last 30 days in azure…

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
443 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,621 questions
Azure Data Lake Analytics
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2020-10-26T04:46:20.047+00:00
Ashima Gupta 66 Reputation points
commented 2020-11-05T06:52:19.497+00:00
Ashima Gupta 66 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Runbook - [AzureAD] Get-AzureADUser -All

We are implementing a Runbook which has to get all AzureAD Users - The code seems running successful and we are getting the right count of users (6453) - however, while getting the output in a JSON format, it throws the following error: the runbook job…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2020-11-03T12:10:03.42+00:00
Mourtaza Moise Fazlehoussen 46 Reputation points MVP
commented 2020-11-04T10:42:10.153+00:00
Andreas Baumgarten 101.9K Reputation points MVP
0 answers

There has been inconsistency in Azure log analytics results

Hi team, This question has 2 problems. first problem: We are querying log analytics every minute, when we invoke the query from power shell, we are seeing the data. But one instance showed only one record, but when see it in the portal in…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,968 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2020-10-15T07:53:16.393+00:00
Arunkumar Akuthota 26 Reputation points
commented 2020-11-03T15:28:28.937+00:00
olufemia-MSFT 2,861 Reputation points
0 answers

Why i cant delete resource group and resources inside of the group -Terraform

I try do remove this in many ways : az group delete -n rg-terraexample Are you sure you want to perform this operation? (y/n): y Deployment failed. Correlation ID: 45329dc5-27e0-4c7e-86ed-4a05bbb27ba2. Operation failed with status: 'Conflict'.…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2020-10-13T17:30:36.813+00:00
Regina Gialbas 1 Reputation point
commented 2020-11-03T14:47:25.4+00:00
olufemia-MSFT 2,861 Reputation points
1 answer

Unable to list subscription under a management group

I am trying to list all subscriptions under a specific Management group, and i need to exclude these subscriptions from my activity targeting all subscriptions under my Azure Tenant. I can't find any documentation about it but its really important to…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2020-10-07T12:16:40.397+00:00
Abhishek Mittal 1 Reputation point
answered 2020-11-03T14:23:28.557+00:00
olufemia-MSFT 2,861 Reputation points
1 answer

Azure Update Management fails for servers behind Log Analytics Gateway

Hello, Since a few days we can't use Update Management anymore on our on-premise servers that they are using a Log analytic Gateway to connect to Azure. The Update Agent readiness shows "Disconnected" for those servers and any update…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,968 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2020-10-26T15:05:42.39+00:00
Jean-Michel Jacques 1 Reputation point
answered 2020-10-29T17:02:28.273+00:00
tbgangav-MSFT 10,416 Reputation points
5 answers One of the answers was accepted by the question author.

Create array or dictionary type variable in runbook of powershell automation

Hi All, I need to extract the list of disk type based the SKU in my runbook, Is there an option available to update the list of disk name to an variable like an List or Dictionary in Python? Set-AzAutomationVariable command updates the value, but it…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2020-10-26T12:47:25.853+00:00
Perumal, Janakiraman 241 Reputation points
commented 2020-10-27T16:37:50.113+00:00
tbgangav-MSFT 10,416 Reputation points