Questions tagged [azure-vm]

276 questions
1
vote
1 answer

Unable to connect Azure ubuntu VM through VS code

Getting below issue while connecting Azure VM through VSCode but we are able to connect through Putty when we used .ppk file. Getting below error when we used both .ppk & .pem using ssh configin VSCode. Error: Permission denied(Public key) Below are…
Pradeep
  • 11
  • 3
1
vote
1 answer

How do I login to an Azure AD Joined VM using Azure AD Credentials on an Windows Server 2019?

I'm currently trying to enable VM Login on a Windows 2019 Server with Azure AD Credentials. For this I have followed the Microsoft Documentation: https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows I…
AzUser1
  • 183
  • 1
  • 14
1
vote
2 answers

Permission denied lost connection

I have created a simple VM in azure in which I will have to host a very simple server written in C. To send the folder hosted on my computer containing the server to the virtual machine, I use the command from powershell: scp -r
Antonio
  • 31
  • 6
1
vote
1 answer

Cannot SSH to Azure VM: no kex alg

I have followed this tutorial (https://code.visualstudio.com/docs/remote/ssh-tutorial), but get the error "no kex alg", when I try to connect. Have tried to do the fixes suggested in Vagrant ssh prompts 'no kex alg' and I'm unable to connect to the…
1
vote
1 answer

Terraform Azure VM Extension failed with too long command for Powershell script execution

I am getting below error while executing the Azure VM extension in Terraform for run Powershell script. Could you please help me to solve this error? Command execution finished, but failed because it returned a non-zero exit code of: '1'. The…
Siva Raj
  • 11
  • 1
1
vote
1 answer

How do I remove Azure network security config rules that blocked RDP and all SQL Server access on Azure VM?

Azure network manager security configuration “NRMS-ZeroTrust...” created 54 inbound port rules on my Azure VM which closed my active RDP session and blocked all access to SQL Server. Is anyone else having a similar issue with their Network Manager…
1
vote
2 answers

Setting Windows language to English (United Kingdom) using Ansible

I am trying to change the Windows Server display language to English (United Kingdom) from Default English (United states)on an Azure vm. I installed the language pack using lpksetup.exe but not sure hw to change display language using …
Gladiator
  • 23
  • 8
1
vote
1 answer

Postgresql "Cluster is not running" after running for a while

I set up a postgresql db on azure VM, Ubuntu server 18.04. but it goes down after running for a while without any other error message. Here is what I got from sudo systemctl status postgresql@10-main.service Feb 18 08:08:52 server crontab[17689]:…
Simk0024
  • 61
  • 7
1
vote
0 answers

Virtual Machine Administrator Login error (azure vm)

I have followed following document https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-linux and ran these commands az vm extension set --publisher Microsoft.Azure.ActiveDirectory --name AADSSHLoginForLinux…
Komal Nagada
  • 89
  • 1
  • 5
1
vote
1 answer

Orchestration of on-demand jobs on Azure cloud

I am facing the following problem: I need to execute on-demand long running workers on Azure VMs. These workers are wrapped in a docker image. So I looked at what Azure is offering and I seem to have the following two options: Use a VM with…
kjanko
  • 552
  • 1
  • 5
  • 24
1
vote
1 answer

In Azure I have no Resource Groups, but it says that I have 'Insufficient number of vCPUs'

In azure I created two AKS clusters, then deleted them and now I want to create another one with B2s VM size, but it says that I have insufficient number of vCPUs, I deleted all the resource groups and I ran in console 'az vm list-usage --location…
1
vote
2 answers

Run custom Powershell script on provisioned Azure VM

I provisioned VM with following C# snippet var ssrsVm = new WindowsVirtualMachine("vmssrs001", new WindowsVirtualMachineArgs { Name = "vmssrs001", ResourceGroupName = resourceGroup.Name, NetworkInterfaceIds = { nic.Id }, Size =…
Rob
  • 9,664
  • 3
  • 41
  • 43
1
vote
1 answer

The term 'az' is not recognized from Run Command Script

I try to run the simple command of 'az version' that will be executed on a VM with the Run Command Script but I get this error: The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling…
ori poria
  • 41
  • 1
  • 5
1
vote
0 answers

LogAnalytics - Join VMProcess and Perf tables to find resource consuming PIDs?

I am trying to find a way to join the Perf table with the VMProcess table, but there doesn't seem to be anything in common that I can join on. Basically, I would like to find high resource consuming PIDs. The product we develop uses the same…
arrrghhh
  • 13
  • 2
1
vote
1 answer

How to monitor IP allocation in Azure subnet?

I need to find the current usage of IP addresses within subnets in Azure. I found free IPs in Virtual Networks->subnets but the number is the total available IP addresses within the subnet. How can I see how many of the available IPs within the…
Alex
  • 97
  • 8
1 2
3
18 19