1,269 questions with Azure Automation tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Exchange Online Managed-Identity Authentication - Failed to Manage Distribution Lists

I've migrated the Automation Account runbooks to authenticate with managed identity to Exchange Online with the API permission Exchange.ManageAsApp, and I'm receiving the following error: You don't have sufficient permissions. This operation can only…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,620 questions
asked Dec 2, 2024, 11:51 AM
Itzhak Butbul 0 Reputation points
commented Dec 2, 2024, 12:46 PM
Itzhak Butbul 0 Reputation points
0 answers

Get-CsOnlineApplicationInstance

Hi, I have a runbook with managed identity to run within an automation account. I have this script: Connect-MicrosoftTeams -Identity Get-CsOnlineApplicationInstance but it always returns me access denied. The managed identity is already teams…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Nov 27, 2024, 5:33 PM
Nicole G 15 Reputation points
commented Dec 2, 2024, 8:32 AM
Nicole G 15 Reputation points
1 answer

is it even possible to use Microsoft.PowerApps.Administration.PowerShell in an Azure Runbook?

Import-Module Microsoft.PowerApps.Administration.PowerShell Import-Module Microsoft.PowerApps.PowerShell #Add-PowerAppsAccount #Use for desktop..[desktop works. It returns the filtered environment] #Use for Azure Automation…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,659 questions
asked Nov 7, 2024, 6:07 PM
Guy Martinello 0 Reputation points
commented Nov 30, 2024, 6:53 PM
Guy Martinello 0 Reputation points
1 answer

Configuring Azure Automation Hybrid Worker on an offline VM

I want to configure Azure Automation Hybrid Worker on a VM that is not connected to the internet. In this case, I plan to move the installed path of PowerShell 7 from another PC. To install Azure PowerShell, I will use the command Install-Module -Name…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,338 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,659 questions
asked Nov 25, 2024, 7:50 AM
Yu-Jeong Seo 150 Reputation points
commented Nov 29, 2024, 5:11 PM
SadiqhAhmed-MSFT 47,271 Reputation points Microsoft Employee
1 answer

Azure Automation Service Charges

I have automation set up in 2 different tenant, both are for database scale up and scale down i.e. between S2 and S4 which is scheduled at 7 AM to scale up and 7 PM to scale down., but still the execution time is very different for both of them, 1 takes…

Azure SQL Database
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,775 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,659 questions
asked Nov 28, 2024, 4:11 AM
Aryaa Kotian 0 Reputation points
commented Nov 29, 2024, 5:09 AM
SadiqhAhmed-MSFT 47,271 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Are you able to share the PowerShell Script/YAML File codes from a specific YouTube video?

Hello, I recently watched the YouTube video titled "Integrating Power BI Deployment Pipelines into Azure DevOps and Azure Pipelines | OD29" by Microsoft Developer. In the video, the presenter demonstrates two methods for automating Azure…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 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,574 questions
asked Oct 16, 2024, 9:31 PM
Gerome Coralde 20 Reputation points
edited the question Nov 27, 2024, 1:13 AM
Rahul Podila 590 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Storing Azure Metrics in Private Storage Account Using Azure Automation

I want to retrieve metric values using Get-AzMetric in Azure Automation and store the daily updated values in an Azure Storage Account. However, the Storage Account is configured with a private link and can only be accessed through a specified network,…

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.
3,264 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
519 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,659 questions
asked Nov 12, 2024, 1:56 AM
Yu-Jeong Seo 150 Reputation points
commented Nov 26, 2024, 7:19 PM
KarishmaTiwari-MSFT 20,217 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to get Job Details when executing an Azure Automation Runbook

Hi, I am running a PowerShell based Runbook in Azure Automation on a Hybrid Worker and I would like to retrieve the curent job details like the JobId, JobName for ex. I am trying to record the job details and health to a SQL table to help me track stale…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Nov 25, 2024, 9:19 PM
BRUNO Tonino (ENGIE IT) 21 Reputation points
accepted Nov 26, 2024, 10:21 AM
BRUNO Tonino (ENGIE IT) 21 Reputation points
2 answers

Display Name and Sign-In-Name are empty

I am working on azure automation and the RunBook Type is PowerShell. The requirement is to get the list of role assignments at subscription or resource group levels. Output should be like RoleDefinitionName, Scope, DisplayName and SignInName etc.. I…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Jul 22, 2022, 3:31 PM
Seenuvasan, Venkatanathan 56 Reputation points
answered Nov 26, 2024, 5:10 AM
MattaReddy Syamala 0 Reputation points
3 answers

How to link automation account to Log Analytics workspace

I a have created a new automation account and Log Analytics workspace, but there is no way to link them. I have found some steps, but the option from update management is not availible anymore.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Oct 16, 2024, 2:05 PM
Userss12 0 Reputation points
commented Nov 25, 2024, 1:59 AM
Rahul Podila 590 Reputation points Microsoft Vendor
1 answer

How to pass parameter from webhook to a python runbook.

Hi I have a python script which i want to run using Azure automation. I have added a webhook for this runbook and i am able to run the scipt using webhook url from ADF. The problem is I want to pass a parameter to the script. Could someone help on…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Oct 16, 2024, 10:58 PM
Arun M K 0 Reputation points
commented Nov 25, 2024, 1:58 AM
Rahul Podila 590 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Is there any way to scale up the azure webapp vertically (change app service plan) automatically?

Is there a way to automatically scale up an Azure Web App vertically (by changing the App Service Plan)? Has this functionality been completely removed by Azure? I attempted to use an Azure Automation Account with a PowerShell Runbook, but encountered…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Oct 18, 2024, 4:35 AM
Rahul Kamble 20 Reputation points
edited the question Nov 25, 2024, 1:03 AM
Rahul Podila 590 Reputation points Microsoft Vendor
0 answers

Runbook Error when trying to read table with VM power states, stoped VMs that are recorded as stop and deleting the rows after the fact.

This is an after updates update manager post-script to shut down vms after they are started for updates if they were off before pre-script. Thus, keeping the environment as it was before processing updates. This is also run on a portal.azure.com…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,659 questions
asked Oct 3, 2024, 7:21 PM
EDWARD REYESARROYO 25 Reputation points
commented Nov 24, 2024, 1:38 PM
EDWARD REYESARROYO 25 Reputation points
1 answer

We have also the same issue runbook run and later on got suspended due to internal error. Can anyone have any solution for this.

We have also the same issue runbook run and later on got suspended due to internal error. Can anyone have any solution for this.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Oct 4, 2024, 9:19 AM
Nikhil Singh 5 Reputation points
commented Nov 22, 2024, 1:22 AM
Rahul Podila 590 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Automating Daily Metric Collection and Storage in Private Azure Environment

I want to extract the metric values of VMs configured in the Azure environment and automatically save them as CSV files to a Storage Account on a daily basis. While my PowerShell script is working, I am facing difficulties in saving the data to the…

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.
3,264 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,659 questions
asked Nov 19, 2024, 1:45 AM
Yu-Jeong Seo 150 Reputation points
commented Nov 21, 2024, 11:54 AM
Ashok Gandhi Kotnana 1,110 Reputation points Microsoft Vendor
0 answers

print('Error - ' ) is not working as expected in azure python runbook

Hi , I am referring below link for printing error message in Error tab of Azure Python Runbook. https://learn.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-python-3 Below is the print statement used by me …

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Nov 30, 2022, 12:46 PM
Ravi Shekhar 1 Reputation point
commented Nov 21, 2024, 9:00 AM
Dariusz Kmiecik 0 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Terraform Export

Hi, I logged into https://preview.portal.azure.com/ today and was looking for the Terraform export part but wasn't able to find it, has it been removed from the Preview Portal or not? Please let me know. Thanks.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Nov 18, 2024, 2:42 PM
Johann van der Westhuizen 41 Reputation points
edited the question Nov 20, 2024, 11:01 AM
Ashok Gandhi Kotnana 1,110 Reputation points Microsoft Vendor
1 answer

How to get Variable stored in automation account in python runbook (v 3.10) running on hybrid worker

I need to get the variable(encrypted string) stored in automation account into python runbook v 3.10. in documentation it is asked to import automationassests package but it is not available in pypi.org for targeted version. Is there any other way to…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Nov 16, 2024, 7:24 PM
Shaw, Amit 0 Reputation points
answered Nov 20, 2024, 9:40 AM
Rahul Podila 590 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Azure Bicep: Is the Export Template Preview Feature Removed or Relocated?

Recently, I was using the Azure Bicep preview feature to export templates from the automation section, but it's no longer visible. Has the feature been removed, moved to another location, or do I need to enable it from a specific setting? I’ve checked…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
asked Nov 11, 2024, 6:36 AM
Atharva Deshpande 20 Reputation points
commented Nov 19, 2024, 10:01 AM
Stanislav Zhelyazkov 25,306 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Query on Azure Update manager

Does Azure Update Manager support CIS-hardened images (Windows 2016/2019/2022)? I have deployed Windows Server operating systems from the Azure Marketplace and hardened these images using CIS Benchmark policies downloaded from…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,269 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
325 questions
asked Nov 13, 2024, 6:41 AM
Glenn Maxwell 11,841 Reputation points
accepted Nov 18, 2024, 9:13 PM
Glenn Maxwell 11,841 Reputation points