Set-AzureADUserThumbnailPhoto in Automation Runbook
Hello, I try to create a Azure Automation Runbook which updates the Profile Pictures of Guest Users. As I can not define a File in Azure Automation (or Can I?) I want to use the -ImageByteArray Argument . But I dont find any examples of that. I…
![](https://techprofile.blob.core.windows.net/images/npHnKaGvxE-wS-4DpleqPg.png?8D8F54)
![](https://techprofile.blob.core.windows.net/images/npHnKaGvxE-wS-4DpleqPg.png?8D8F54)
The remote server returned an error: (403) Forbidden when installin extension to Azure VM
Hi, I'm using following line in my Azure Runbook to enable diagnostic settings for Azure vm if ($vm.StorageProfile.OsDisk.OsType -eq 'Windows' -and $vmStatus -match 'VM running') { $extensions = Get-AzVMExtension -ResourceGroupName…
Problem using Get-AutomationPSCredential for Invoke-Sqlcmd password
Hello I have an Azure Runbook which needs to write data into an Azure SQL database. My password is stored in the automation account's credential object and I use Get-AutomationPSCredential to pull out the .Password property. For some reason the…
Why do scripted steps in Recovery Plans rely on the location of the RG instead of location of the automation account and runbooks?
If you have a Resource Group in the source region and that RG contains an automation account and runbooks in another region. Then you can't use that automation account and runbooks in an ASR recovery plan. The check fails because the region of the RG…
![](https://techprofile.blob.core.windows.net/images/84eXqZh4KEGayKJ9OOltlQ.png?8DBCF1)
Network Security Groups and Update Management
We are attempting to implement Azure Automation for Update Management of a subset of servers that have outbound internet access blocked. We want to open port 443 only for required Azure Public traffic listed in the doc below as: …
Can I use a runbook to start a VM and run commands in the VM?
I would like to receive a HTTP post request from a web application, and then run a command on the VM (like I would when I SSH into the VM) and return the output. Is this possible using a runbook or any other Azure services?
![](https://techprofile.blob.core.windows.net/images/REvKe9i1Lk-IL_Eoahe21Q.png?8D8768)
Error reaching blob container from azure runbooks python 3
Hello, I need to pull a json file from azure blob container using python 3 in azure runbooks. First I added all python packages to the automation account. I ran the following script: from azure.storage.blob import BlobServiceClient import…
Azure Powershell Runbook fails randomly without logging errors
I have Azure runbook job which fails randomly without logging any errors. The job calls a DB stored procedure. The job fails totally randomly like couple of times out of 20-30 runs. It just says in Exceptions tab that - I have some errors. (I have some…
![](https://techprofile.blob.core.windows.net/images/REvKe9i1Lk-IL_Eoahe21Q.png?8D8768)
Azure Update Manager query
In recently we had an issue - where we have setup few scheduled task to do patching of the server for critical and important update using update manager. it failed and we missed to get any information - which caused us many issues. Hence we have decided…
Automation account to have permissions only to Update Management
Hi Team, Can we provide RBAC permissions to specific users only on Update Management? how can it be done? Regards, GEEAZ
How to connect to PnPConnect then Get-PnPProvisioningTemplate in Azure Automations Runbook using MFA?
Hi All I have been trying for over a week now to run the below command in a Automations Runbook. But I have hit brick walls with every attempt at authentications. Has anyone successfully managed to automate PnPProvisioningTemplate? # Dynamic…
Azure Automation account admin consent for API issue
We have multiple Azure subscriptions. An admin of one of these has subscriptions created an automation account, with run as privileges. That run as account in Azure AD has API permissions to Azure Active Directory Graph (as picture) - this…
Trying to add a start/stop solution on Azure VM using a second Automation account
I'm trying to add a VM start/stop solution on a second Automation second because i was not able to edit the solution on the first automation account to change the timings. Anyways, i've deleted all resources pertaining to the first Start/stop VM solution…
Runbook implement in different environments
we have one Automation account , in that we have created run book , which monitors blob container every half an hour , but , we have to create 3 scripts for 3 environments and pass the variables . is there a way we can we can pass scopes like…
![](https://techprofile.blob.core.windows.net/images/REvKe9i1Lk-IL_Eoahe21Q.png?8D8768)
Can someone help me see the differences between Azure Automation and Azure Blueprints and when to use each? (Azure lighthouse in future plan)
I was hoping to ask someone what the difference between using Azure Blueprints and Azure Automation is, it looks like I want blueprints (multiple enviroments and clients deploying parameterised ARM templates), but what am I missing about the…
![](https://techprofile.blob.core.windows.net/images/REvKe9i1Lk-IL_Eoahe21Q.png?8D8768)
import module failing in azure automation
Import module failed "Modulename" Error importing the module "name of the module". Import failed with the following error: Orchestrator.Shared.AsyncModuleImport.ModuleImportException: An error occurred during module validation. When…
execute mysql script from azure automation powershell runbook
I have a mysql dump file (essentially a mysql sql script file) which i need to run against an azure mysql database How do I do this within a powershell script in an azure automation runbook? I've used azure cloud shell to do it before and the…
How is a Digital Twin better than syncing Simulation Program on VM to Data on Azure Data Lake
I build simulations for mines in SIMIO. How are Azure Digital Twins better than simply doing the following: Step 1: Upload inputs in the form of CSV or SQL files onto an Azure Storage server. These inputs can be updated automatically every hour/day/month…
Azure Automation - updates classifeid as other is not being applyed
Hello, On my environment I detected that some updates in Azure Automation is not being applyed in VMs, this updates is classified as Others. in the image below we can see that exists 4 updates, but this updates is not is not being applyed for one…
![](https://techprofile.blob.core.windows.net/images/REvKe9i1Lk-IL_Eoahe21Q.png?8D8768)
Does enabling "Start/Stop VMs during off-hours" cause "watchers" (from process automation) to be used ?
According to the Process Automation section of the pricing page: https://azure.microsoft.com/en-us/pricing/details/automation/ Cost consists of "Job run time" and "Watchers" Does the "Start/Stop VMs during off-hours"…
![](https://techprofile.blob.core.windows.net/images/REvKe9i1Lk-IL_Eoahe21Q.png?8D8768)