Start/Stop Automation for VM doesn't properly start VM
I have a VM instance with Matillion - a default deploy from the Azure Marketplace. I have scheduled the start/stop with automation. It ran last night and appeared that the VM was on. However, upon trying to login to the VM using the public IP, I was not…
Set-Timezone not working in Automation Account
I am trying to use Set-Timezone so that bulkcopying from a DataTable to SqlServer does not alter my DateTime values based on the UTC timezone of the Automation Account. However when I try to use Set-Timezone, I seem to get an internal error:
Chane UPN in Azure from Orchestrtaor
Hello, I would like to get some sample scripts to modify the UPN in Azure AD from Orchestrator. Orchestrator is located in On-Premise. Regards, Vijay
Valid Webhook for Data Factory suddenly stopped working
Dear experts, I have a Data Factory (v1) pipeline, Runbook, Integration Runtime and Automation triggered from my client's site by a webhook that has been working well for three years. The webhook is in date. Yesterday morning the webhook stopped…
Schedule powershell script to delete old ACR image
Hi Guys, I have the below script which is working fine from local PowerShell to delete older ACR images. Now I want to schedule it so that it can run periodically maybe through run book, pipeline, or any other suitable way if you guys can suggest? I am a…
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…
[resolved] Unable to compile any DSC Configurations in Azure Automation which use PSDscResrouce
Any DSC configurations which I try to run which rely on the PSDscResources module fail with the following error. This happens if I use the default Azure 2.9.0 version, or the updated 2.12.0 version. This happens with code that compiled properly on…
We need to assign a role groups to all subscriptions automatically if they dont have one.
Hi Team, We have few common groups and roles which are assigned to our subscriptions in the Tenant. We need to validate if these groups are present in all of our subscriptions and if not present, add those groups along with groups permissions as…
Stop a remote service running in linux server using powershell runbook in azure
Hi Team, I need to stop a application service running on a Linux server from PowerShell runbook in azure. Is there a way to use ssh keys to login and create New-PSSession session? After stopping the application, i need to run another runbook. What…
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…
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. …
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 - 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…
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.
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 =…
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 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…
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 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…
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…