1,195 questions with Azure Automation tags

Sort by: Updated
2 answers

How to run a batch file without connecting to virtual machine?

Hi All, I have a batch file within azure virtual machine. When I'm connected to the VM using RDP I can use a task scheduler to run the batch file. (For context, the .bat file runs various python and R files) I want this batch file to run without…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,661 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,572 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,994 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-07-24T20:32:10.7066667+00:00
NP Data 0 Reputation points
commented 2024-07-24T21:50:35.0166667+00:00
NP Data 0 Reputation points
2 answers

Change Tracking - Can not link Storage Account

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,935 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-07-24T04:18:12.23+00:00
Weerachart Singkiburin 0 Reputation points
answered 2024-07-24T07:39:54.2433333+00:00
Weerachart Singkiburin 0 Reputation points
1 answer

Automation runbook for start/stop VM using Storage account blob

Hi, I am trying to deploy a powershell runbook in automation account which should read contents of CSV stored in storage account blob using system assigned managed identity of automation account. Looking for a piece of code as I don't want to use sas…

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,935 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,321 questions
asked 2024-07-17T06:57:19.4766667+00:00
WinTechie 286 Reputation points
commented 2024-07-24T06:20:56.88+00:00
Nehruji R 4,691 Reputation points Microsoft Vendor
0 answers

How to setup Azure Automation account to restore database on SQL MI ?

Hello, I have a PowerShell script (see below) that I currently run daily from a task scheduler on a VM to restore a production database (SQL Managed Instance) to a secondary instance (SQL Managed Instance). I am planning to move this process to an Azure…

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,345 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,321 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,597 questions
asked 2024-07-23T20:11:08.8833333+00:00
Anoop Noel Nakkala 0 Reputation points
0 answers

Automating switch between Standard HDD and Premium Disk on VMs

How can we have an automation that changes our VM's disk type to Standard HDD when we turn them off and then changes them to Premium before turning the VM back on? Is there any ready-to-use method available?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,572 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
603 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
Azure Automanage
Azure Automanage
An Azure service that simplifies and optimizes the management of virtual machines with automated operations.
1 question
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,321 questions
asked 2024-07-22T06:46:23.98+00:00
KindCompute-6524 85 Reputation points
commented 2024-07-23T07:38:15.82+00:00
Prrudram-MSFT 23,131 Reputation points
0 answers

Getting an error when trying to setup Exchange Online ForwardingAddress in Azure Runbook

Hello, I am trying to setup an Azure Automation Runbook in which I convert a User Mailbox to a Shared Mailbox and setup a ForwardingAddress. I setup all the permissions and converting the mailbox is working, setting a forwarding address throws the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
528 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,321 questions
asked 2024-05-30T12:31:55.16+00:00
Nick 0 Reputation points
edited the question 2024-07-22T13:15:59.6033333+00:00
Nick 0 Reputation points
2 answers

[Unauthorized] : Insufficient privileges to perform requested operation by the application '00000003-0000-0000-c000-000000000000'

Hi, I am using azure automation with identity system-assigned for authentication and MS Graph with the permissions in the Screenshot to invite external users. But I have this code error: [Unauthorized] : Insufficient privileges to perform requested…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,420 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-07-19T08:40:56.4166667+00:00
kinedy 0 Reputation points
commented 2024-07-22T11:35:31.0866667+00:00
Manu Philip 17,591 Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to set up a automate rule to delete SharePoint site contact when it is expired.

Hi all, May I ask if there a way to create a Automate Flow to delete a site contact depends on the expire date? For example, I have added a column called Expire: Is there any way to get this file deleted when it is expired and send a notification out?…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,346 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,273 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
549 questions
asked 2024-07-09T04:39:08.8066667+00:00
Jason Tang 20 Reputation points
accepted 2024-07-21T23:26:01.0766667+00:00
Jason Tang 20 Reputation points
1 answer

Getting warning: Can't find loc string for key: Info_GotAndMaskAuth

Getting warning "Can't find loc string for key: Info_GotAndMaskAuth" when running npm custom on pipeline agent

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-07-20T20:53:34.1666667+00:00
Mauro Sanchez 0 Reputation points
answered 2024-07-21T14:39:25.27+00:00
Dillon Silzer 56,601 Reputation points
1 answer

How to disable local authentication in Azure Automation account

Hi experts, Does anyone know how to disable the local authentication in Azure Automation Account? This documentation is related to the topic, but it doesn't provide actual steps to disable the local authentication in Azure Automation Accounts.…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-05-14T08:15:12.13+00:00
Liang Chen 1 Reputation point Microsoft Vendor
commented 2024-07-19T23:54:29.89+00:00
Prakhar Panwaria 1 Reputation point Microsoft Employee
1 answer

How to run az.automation cmdlets from inside a runbook?

From within an Azure runbook I want to run get-azautomationjob to find out information about jobs. I ran a get-command from within the runbook, and it says I have that cmdlet available. But when I run it, there is no data returned(variable is null), but…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-07-19T20:30:16.43+00:00
Jonathan Posey 0 Reputation points
answered 2024-07-19T22:10:01.25+00:00
hossein jalilian 5,560 Reputation points
1 answer

An optimized solution for installing Wiz Runtime Sensor in all Virtual machines across our organizations Subscriptions.

Hi Team, I am currently working on an objective to install the 'Wiz Runtime Sensor' across all Virtual Machines in our organization's Azure subscriptions. I have compiled a list of active VMs that are potential candidates for this installation. As I am…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,572 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-07-18T10:17:57.9633333+00:00
Prasanna Meenakshi 0 Reputation points
answered 2024-07-19T16:18:04.3266667+00:00
deherman-MSFT 35,636 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

IF statement not functioning in Azure runbook

I have a runbook with a PowerShell if statement to check if the input value of a received MAC address is in a valid format. If the format is not valid I am running a cmdlet which calls a function to update the MAC address and use the updated MAC. Else if…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,321 questions
asked 2024-07-09T14:06:43.48+00:00
DW_FL 41 Reputation points
commented 2024-07-19T11:32:46.6133333+00:00
Mahesh Goud Juvvadi 940 Reputation points Microsoft Vendor
1 answer

Azue runbook - Exchange PowerShell

We are trying to automate mail flow reporting via Azure runbooks using an app registration (service principal) to authenticate. The runbook will query Exhchange Online powershell modules for mailflow data. The only Entra permissions that seem to allow…

Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,420 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,321 questions
asked 2024-07-12T14:18:19.4366667+00:00
Daniel Birrell 41 Reputation points
commented 2024-07-19T05:32:57.25+00:00
Noah Ma-MSFT 2,340 Reputation points Microsoft Vendor
1 answer

New-AzureADApplicationKeyCredential - Thumbprint not available issue

Hi, We have noticed that when we try to upload azure self signed certificate to Azure AD App registration from powershell using the cmdlet New-AzureADApplicationKeyCredential, we are not able to see the certificate thumbprint in the portal, App…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 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,597 questions
asked 2024-07-16T10:58:22.2033333+00:00
Silpa Suresh 0 Reputation points
answered 2024-07-16T18:45:05.5766667+00:00
Vasil Michev 100.2K Reputation points MVP
1 answer

Webhook payload runon Azure vs Hybrid worker

I am working with azure automation, triggered by webhooks. Typically this runs directly on Azure and works fine, the webhook data payload is received and handled as a PSCustomObject. I now need to run the same on a Hybrid Worker because of a OnPrem…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-07-12T11:44:42.3633333+00:00
Ronald Foppen 0 Reputation points
commented 2024-07-16T08:36:18.4866667+00:00
Ronald Foppen 0 Reputation points
6 answers

ExchangeOnlineManagement authentication broken in Azure Automation Runbook

Since the morning of Thursday 9 Feb 2023, I've not been able to successfully authenticate with ExchangeOnlineManagement via an Azure Automation runbook using either a credential flow or Managed Identity. I can replicate this issue across three different…

Microsoft Exchange Online
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2023-02-11T12:03:47.8666667+00:00
Steve Johnson 11 Reputation points
commented 2024-07-15T08:10:29.42+00:00
Karthik Shanmugam 0 Reputation points
1 answer

Auto restart the evicted VM

We have a spot virtual machine that gets deallocated or switched off when the eviction policy is triggered. I would like to automate the restart of the evicted virtual machine based on the trigger i receive . Is there any way i can acheive this…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-07-11T14:39:49.2666667+00:00
Anugrah Gaikwad 0 Reputation points
answered 2024-07-14T10:31:20.11+00:00
Vinodh247 13,626 Reputation points
0 answers

Convert text to speech and export to audio file Power Automate Flow

I'm trying to get the Azure Text to Speech Service in Power Automate to output to a audio file. Flow saving successfully and file is created, but the encoding must be incorrect:

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,635 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,642 questions
asked 2024-07-11T20:32:36.5066667+00:00
Darren Nixon 0 Reputation points
commented 2024-07-12T07:51:24.57+00:00
romungi-MSFT 43,696 Reputation points Microsoft Employee
2 answers 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,195 questions
asked 2020-11-12T14:21:35.633+00:00
Josua 21 Reputation points
answered 2024-07-11T12:20:05+00:00
Nitesh Pal 1 Reputation point Microsoft Employee