1,187 questions with Azure Automation tags

Sort by: Updated
0 answers

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,904 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,297 questions
asked 2024-07-17T06:57:19.4766667+00:00
WinTechie 286 Reputation points
1 answer

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,299 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,236 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.
548 questions
asked 2024-07-09T04:39:08.8066667+00:00
Jason Tang 0 Reputation points
commented 2024-07-17T05:26:28.76+00:00
AllenXu-MSFT 18,051 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,187 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,488 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 99,936 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,187 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
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,340 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,297 questions
asked 2024-07-12T14:18:19.4366667+00:00
Daniel Birrell 41 Reputation points
commented 2024-07-16T05:30:50.15+00:00
Noah Ma-MSFT 2,340 Reputation points Microsoft Vendor
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,187 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,187 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,146 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,187 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,592 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,615 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,686 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,187 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
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,187 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,297 questions
asked 2024-07-09T14:06:43.48+00:00
DW_FL 41 Reputation points
accepted 2024-07-10T17:19:59.38+00:00
DW_FL 41 Reputation points
2 answers One of the answers was accepted by the question author.

Trying to deploy storage account and a lifecycle policy with ARM fails with Internal Server Error on policy

Hello, I am trying to deploy a storage account with an ARM template (generated from Bicep) with lifecycle management policy and the policy rule fails with Internal Server Error, without of course any details, so it is not possible to know if I am…

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,904 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-07-09T14:18:41.13+00:00
Philip Patrick 20 Reputation points
accepted 2024-07-10T13:34:59.3333333+00:00
Philip Patrick 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to restart a VM in Automation State Configuration with latest configuration?

Hi. Let's say I've connected to a VM and enabled Azure Automation State Configuration. Then the VM stopped (for whatever reason). What should I do to restart the VM from the latest configurations? Can I just start it again or do I need to restore its…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,297 questions
asked 2024-07-08T07:45:18.6966667+00:00
Mahdi 125 Reputation points
commented 2024-07-10T12:19:44.45+00:00
Abdul 2,360 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Issue with Automation Account SourceControl autoSync

Hi, Has anyone else faced this issue with source control in Automation Accounts? From one day to the next, the auto-sync feature just stopped working, and when we try to enable it, we get the following error: We have a lot of source control configured…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-31T14:46:17.5233333+00:00
Daniel Orelius 20 Reputation points
commented 2024-07-10T11:36:36.88+00:00
Mahesh Goud Juvvadi 935 Reputation points Microsoft Vendor
1 answer

Creating azure automation run book with PShell to deploy new instance of cloud compute solution and delete with other script

is it possible to azure automation run book using powershell to deploy new instance of cloud compute solution? and I want to run another run book to delete all the resources created by the first script with out any back up ? how do we do these 2, please…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-07-09T10:37:31.8866667+00:00
Varma 1,275 Reputation points
answered 2024-07-10T07:24:53.56+00:00
Thomas Smith 0 Reputation points
2 answers

Azure Automation Account Source Control Error

Hi there, I'm getting an error when using the Source Control for one of my runbooks. I'm getting the following error log everytime I try to turn on the 'Auto Sync' setting. Currently, I only have 1 runbook so I can't really test this out on another…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-07-05T17:19:27.52+00:00
Louis Ruocco 5 Reputation points
commented 2024-07-09T14:40:55.2+00:00
Louis Ruocco 5 Reputation points
1 answer

Receiving an error when trying to deploy ARM template

I created a runbook within an Automation Account to go out and grab logic app templates and send them to a blob storage container. Here is the powershell script that gets the templates # Ensure modules are imported, should already be imported via…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-07-08T16:35:00.7666667+00:00
JTurn01 0 Reputation points
answered 2024-07-09T13:41:04.6633333+00:00
JTurn01 0 Reputation points
2 answers

Unable to create automation account with customer-managed key

Hi, I am trying to deploy an automation account with a customer-managed key via Bicep but it keeps resulting in an Internal Server Error (HTTP Status Code: 500). I am using the bicep…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-07-06T12:22:13.28+00:00
neok-g 36 Reputation points
commented 2024-07-09T07:25:29.76+00:00
Vinodh247 13,146 Reputation points
2 answers One of the answers was accepted by the question author.

Azure Synapse LinkConnection template json

We have created a LinkConnection in Azure synapse, the source database is MS SQL Server and target database is Dedicated SQL Pool. We are trying to create powershell script to automate the creation of this LinkConnection for each environment - Testing,…

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,662 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,297 questions
asked 2024-07-03T19:21:58.6166667+00:00
Girish Prabhudesai 41 Reputation points
accepted 2024-07-08T11:30:36.9633333+00:00
Girish Prabhudesai 41 Reputation points
1 answer

Azure Automation PowerShell - While trying to connect to AzureAD using 'Connect-AzureAD' it give me issue of cmdlet not recognized.

I am trying to get all the users in AD using PowerShell automation runbook. The modules are installed in the shared resources. Still when executing line : 'Connect-AzureAD' throws error of : I have tried options like : Importing the modules…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,297 questions
asked 2024-07-08T01:54:06.11+00:00
Rituparna Khatua 0 Reputation points
answered 2024-07-08T05:29:56.45+00:00
akinbade abiola 8,300 Reputation points
1 answer

Help getting python runbook (azure automation) to access microsoft graph (sharepoint files)

Hi all, I would love some help trying to get my python runbook to access my microsoft graph. I have followed this tutorial (https://learn.microsoft.com/en-us/entra/id-governance/identity-governance-automation) and have tested my certificates with a…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,340 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-07T07:03:07.2066667+00:00
Grant Fullston 25 Reputation points
answered 2024-07-03T08:51:35.1333333+00:00
Danstan Onyango 3,816 Reputation points Microsoft Employee