423 questions
0
votes
0
answers
63
views
Assigning guest assignments in Virtual Machine Scale Sets
I am trying to add guest assignments using guest configuration extension and Azure policy, I am able to add assignments for virtual machines, where as adding same for scale sets is having issues ...
0
votes
1
answer
183
views
How to remove custom script extension for a particular VMSS instance
I am using the below code to remove a custom script extension using powershell for a particular VMSS instance. However, my code fails when retrieving the instance view with Get-AzVmssVM, as the ...
0
votes
0
answers
152
views
Azure VM Scale Set for DevOps agent `dotnet restore` fails
I have created an Azure VM Scale Set from Windows Server 2022 Datacenter (SKU: 2022-datacenter-azure-edition). I created the necessary Agent Pool in my DevOps. I also created a Pipeline by importing ...
-1
votes
1
answer
181
views
Azure VMSS Custom Data refresh the exisiting VMs
I use Terraform to create VMSS as part of it i use custom data which i need to run before the instance is marked healthy. I use VMSS rolling strategy, And due to this the updates are in place and any ...
0
votes
2
answers
330
views
Jobs are not running in parallel in Azure DevOps
I have 2 parallel jobs allowed by Azure DevOps (private project, 1 default + 1 for Visual Studio subscription). I have a stage with ~20 jobs with no interdependencies. I have a VMSS-based agent pool ...
0
votes
1
answer
113
views
problem when deploying a build in a vm scale set
This is the error that I have when deploying my pipeline:
[error]EchangeDonneesElectroniques\EchangeDonneesElectroniques\EDE.csproj(365,3): Error MSB4019: The imported project "C:\Program Files (...
0
votes
1
answer
460
views
The property windowsConfiguration.patchSettings.patchMode is not valid while creating azurerm_windows_virtual_machine_scale_set
I try to create azurerm_windows_virtual_machine_scale_set resource.
I write simple Terraform code:
resource "azurerm_windows_virtual_machine_scale_set" "vmss" {
name ...
1
vote
0
answers
147
views
Caching (?) issue with Set-AzSqlDatabase to rename a database
We have an Azure SQL Server that contains several databases, in groups of two:
Each database has a "master" database, and a "current" database.
We use an automated process that ...
0
votes
1
answer
264
views
How can a virtual machine scale set agent run interactive UI tests in an elevated process?
When configuring the scale set agent, I can check the box to configure the VMs to run interactive tests:
According to the docs, this runs in an unelevated session. How can I have my interactive UI ...
0
votes
2
answers
678
views
How to query Azure VMSS instances computer name for flexible orchestration
The az cli command I'm running is:
az vmss list-instances --resource-group rg-name --name my-vmss-name --output json
returns instances details with osProfile.computerName for VMSS running in unified ...
-1
votes
1
answer
74
views
Java Azure SDK scaleset: how to specify image version
When I am scaling up a scaleset I want to specify the image version to use. Right now it always uses the latest image from the compute gallery. I think that is what this az CLI command does: az vmss ...
-1
votes
2
answers
1k
views
How to deploy an application into Azure VMSS using Azure DevOps CI/CD pipelines?
I'm currently having a PHP application running in an Azure VM, now I have moved that setup to a VMSS and Load Balancer and having a VM as staging. But now, when the developer make a change each time, ...
0
votes
1
answer
623
views
How to trigger an azure function based on scale in or scale out events in vmss
I have a situation in which I need to trigger an azure function based on scale in or scale out events on some particular virtual machine scale set. My first idea was to use event grid triggers to ...
0
votes
1
answer
149
views
[Azure]ScaleSet Ubuntu 22.04 Server with GUI - Gen2 ERROR purchased
I'm trying to create a scale set with Ubuntu 22.04 Server with GUI - Gen2 but I have this error:
ffer with PublisherId: 'yaseensmarket1645449809728', OfferId: 'ubuntu-22-gui' cannot be purchased due ...
0
votes
0
answers
195
views
Unable to edit vmss instance secrets
I have a VMSS as a node poll of a service fabric managed cluster. Through the azure portal I added a certificate from a key vault to this node pool. The deployment failed with the message:
The secret ...
1
vote
1
answer
716
views
AzureDevops VMSS agent not able to connect to private ACR with private endpoint
I have set-up private ACR set up with public access and admin credentials disabled.
It has a private endpoint approved ,setup with private connection,private dns zones configured.
The private ...
0
votes
1
answer
332
views
Not be able to set up VM Insight in VMSS using AMA from portal
-Incident
After setting up VM Insight to be enabled, I get the page to enable it and cannot see the logs.so I can not confirm Insight & logs after wating more than 10 minuites
By enablingI have ...
0
votes
1
answer
168
views
My service running on a VM is no longer logging App Insights when part of a VMSS
I have an Azure VM which is running a C# Windows Service which is happily logging telemetry to App Insights. However, when it went live, there was then a business requirement for resilience so I ...
1
vote
0
answers
118
views
"Parameter 'osProfile' is not allowed" on attempt to create VMSS from a gallery image in C# - what am I doing wrong?
I am trying to create VM scale set using an existing galery image version (specialized) like this:
using Microsoft.Azure.Management.Fluent;
using Microsoft.Azure.Management.Compute.Fluent;
...
...
0
votes
1
answer
806
views
How can I check which content of cloud-init.txt was used on my Linux Azure VM or VMSS instance?
I had a problem where I was updating cloud-init.txt for a VMSS deployment like https://github.com/KaiWalter/azure-private-link-port-forward/blob/main/infra/modules/forwarder/cloud-init.txt for while, ...
-1
votes
1
answer
83
views
Automatically start lab VMs with auto-start in Azure
I would like to enable the solution attached in this link:
https://learn.microsoft.com/en-us/azure/devtest-labs/devtest-lab-auto-startup-vm
BUT, as it seems like "just follow the guide and the ...
1
vote
0
answers
291
views
Azure Scale Set Could not find the modules: 'Az.Accounts' with Version: ''
We created a Windows 2022 Data Centre Edition Scale Set set up as a Dev Ops agent pool yesterday.
I have an Agent Job that uses this agent pool. This job has a single inline Azure Powershell task.
...
0
votes
1
answer
677
views
Working of VMSS-Cloning of vm in azure VMSS?
I have some queries regarding virtual machine scale sets.
Actually I have created VMSS which have minimum 1 and max 3 instances. I am confused about the working of vmss. eg when the second instance is ...
0
votes
0
answers
196
views
Terraform import error retrieving Virtual Machine Scale Set created from an image
I'm trying to import a Linux VM Scale Set that was deployed in the Azure Portal from a custom shared image, also created in the portal. I'm using the following command:
terraform import module....
1
vote
3
answers
1k
views
Agent Pool - VMSS and a high scaleing issue
we have a deployed VMSS to run an Agent Pool inside our environment.
In Azure DevOps we have set Standby = 0 as the Agents are not required the whole time.
When now a single pipeline starts, we see a &...