2,744 questions
-1
votes
1
answer
76
views
Azure Login via GitHub Actions fails with "No subscriptions found" using Student Subscription [closed]
I am running an ML retraining pipeline using GitHub Actions and Azure.
Setup
I manually host an MLflow server on an Azure Virtual Machine
I use an Azure Student Subscription
The workflow is ...
Tooling
0
votes
4
replies
82
views
KQL Script to check existence of a file on Azure VM file system
I'm working on some Azure VMs (a mix of Linux and Windows OS) and would like to set up a KQL script that can check for the presence of a named file (e.g. gold_image.dat) in a specific directory on ...
-1
votes
1
answer
133
views
Azure: Create button for VM resource does not work [closed]
I have acquired Azure free 200 credits to make some tests.
I was able to create other kind of resources, but when I try to create a VM allowed for my subscription, Create button does not work, it ...
0
votes
1
answer
313
views
How do I set up powershell Modules to work with Runbooks run on Hybrid Workers?
I have an environment set up with Azure Hybrid Workers (v2) that run some scheduled runbooks. I would like to extend those runbooks with modules without installing all the modules on all the VMs that ...
0
votes
0
answers
121
views
New-AzVM throws 'ParameterBindingValidationException: Cannot validate argument on parameter VM' due to null VM config
I'm trying to restore an Azure VM using PowerShell by attaching an existing OS managed disk and creating a new NIC. The script is mostly working — the managed disk and NIC are created successfully — ...
-1
votes
1
answer
216
views
Windows 10 Pro sysprep fails in Azure VM — Microsoft.BingSearch Appx error (0x80073cf2) — how to generalize?
I am preparing a Windows 10 Pro VM in Azure, with the goal of creating a reusable generalized image.
Steps:
1. Deployed a Windows 10 Pro VM in Azure
2. Installed required applications (including ...
-1
votes
2
answers
155
views
Azure Policy fails to deploy AzureNetworkWatcherExtension on Windows VMs (Error: "resource not found")
I'm currently working on creating Azure Policies to manage our virtual machines, and one of the policies is not behaving as expected.
The goal of this custom policy is to automatically deploy the ...
0
votes
1
answer
564
views
Windows Azure VM with FsLogix - `npm install` in user profile fails with mkdir "no such file or directory"
We use azure virtual desktop a lot at my company. We have a host pool set up with fslogix handling the user profile mapping.
I'm trying to run npm install on a simple node project from within my user ...
-1
votes
1
answer
75
views
Disaster recovery for windows services in Azure VM
We have a bunch of windows services hosted on Azure VM.
We will eventually move to Azure function apps.
Now my question is I am concerned about disaster recovery situation when the VM is down.
What is ...
0
votes
1
answer
59
views
Can't authenticate to Azure SQL instance from Azure VM, but can from external
I'm baffled. I'm trying to connect to an Azure SQL database (managed, not a VM) from an Azure VM running Ubuntu. I'm using python FreeTDS ODBC with a connection string that looks like:
Driver=...
1
vote
2
answers
78
views
Upload .sql file to Azure Windows VM
I am trying to upload a SQL file to my Azure VM with SQL Server:
$databaseName = "testDB"
$script = @"
if (-not (Test-Path -Path 'C:\Temp')) {
New-Item -Path 'C:\Temp' -ItemType ...
-1
votes
1
answer
92
views
Azure Bicep create multiple disks with loop [closed]
I have 3 VMs - eusvmdev01-3
Each VM has 6 attached data disks
The code below creates 6 disks for the first VM.
Is there an easier way to create the rest with a loop?
param location string
resource ...
0
votes
1
answer
165
views
Is there an easier way to create an Azure Policy exemption to allow a single VM SKU?
We currently have an Azure Policy only allowing certain VM SKUs when building new VMs across our tenant. However, we have a new need for a single application team to use a SKU that's not in the ...
0
votes
1
answer
218
views
How to amend and/or obtain the file path to the rdp file created by `az network bastion rdp`
I use az network bastion rdp to connect to an Azure Virtual Machine. Previously this used to create the .rdp file in the local directory to a file named conn.rdp however after a recent update (or at ...
-1
votes
3
answers
524
views
How to move files using robocopy in PowerShell
I'm working on a PowerShell script in an Azure Windows VM (Windows Server 2022) where I need to move all files and subdirectories from a specific folder, however I want to leave the parent folder ...