1,196 questions with Azure Automation tags

Sort by: Updated
2 answers

Retrieve sign-in logs using the Microsoft Graph in a diffrent timezone

Hi Community I am currently working on automation where I need to retrieve sign-in logs using the Microsoft Graph API, specifically with the Get-MgAuditLogSignIn cmdlet. The timestamps in the logs are returned in UTC (GMT), but I need to convert these…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,447 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 questions
asked 2024-07-27T02:43:56.43+00:00
alhuthaifi 1 Reputation point
commented 2024-07-27T10:09:15.9066667+00:00
Kavya 0 Reputation points
1 answer

Unable to access Azure SQL db ressource from automation account

I am Unable to access Azure SQL db ressource from automation account runbook. I've added user access to the automation account and to the SQL server. I couldn't find a way to add the identity to the SQL database too. After all that I still getting the…

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.
725 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 questions
asked 2024-01-24T19:53:56.0033333+00:00
MoTaar 310 Reputation points
commented 2024-07-26T10:37:45.3533333+00:00
Denis VANDERMEERSCH 0 Reputation points
0 answers

Connect-ExchangeOnline in Azure Automation account gives Unable to find type (EXO 3.5.1 PS7.2)

I have setup an Azure Automation account and loaded the EXO 3.5.1 module along with PackageManagement V1.4.8.1 and PowerShellGet v2.2.5. I open a new PowerShell runbook and just posted a Connect-ExchangeOnline -ManagedIdentity - Organisation…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,329 questions
asked 2024-07-25T10:20:56.2033333+00:00
Craig Tucker 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to configure alerts for long running automation runbooks

Hello , How can I set up an alert to notify me if an Automation runbook takes more than 30 minutes to complete? I have set up an alert for statuses "Completed," "Failed," and "Suspended," and receiving notifications but I am…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 questions
asked 2024-05-28T06:42:04.1233333+00:00
Sai Praneeth Eranti 170 Reputation points
edited an answer 2024-07-25T08:05:49.8233333+00:00
AnuragSingh-MSFT 21,251 Reputation points
1 answer

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,586 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,196 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,329 questions
asked 2024-07-22T06:46:23.98+00:00
KindCompute-6524 85 Reputation points
edited an answer 2024-07-25T07:40:53.4866667+00:00
Prrudram-MSFT 23,211 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,944 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 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,944 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,329 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,766 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,364 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,329 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,632 questions
asked 2024-07-23T20:11:08.8833333+00:00
Anoop Noel Nakkala 0 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,196 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.
529 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,329 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,447 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 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,751 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,367 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,301 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.
550 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,196 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,681 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,196 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,196 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,586 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 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,196 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,329 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,447 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,196 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,329 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,345 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,196 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,632 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,196 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,196 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