Questions tagged [azure-vm]

276 questions
19
votes
4 answers

Cannot delete blob: There is currently a lease on the blob and no lease ID was specified in the request

When I attempt to delete a blob from my storage account container, I get an error message, "There is currently a lease on the blob and no lease ID was specified in the request." I have 4 virtual machine instances. I also have 8 virtual machine…
Marty
  • 241
  • 1
  • 2
  • 5
9
votes
2 answers

Get exit code from `az vm run-command` in Azure pipeline

I'm running a rather hefty build in my Azure pipeline, which involves processing a large amount of data, and hence requires too much memory for my buildagent to handle. My approach is therefore to start up an linux VM, run the build there, and push…
mchristos
  • 1,487
  • 1
  • 9
  • 24
8
votes
4 answers

Unable to create publish profile - Azure

I created a ASP.Net Web Application (MVC) to publish it onto a Azure VM. However, I am getting the following error. In the folder structure given, there isn't a file called PublishProfiles\AppService.pubxml created. Can someone help me solve this ?
Illep
  • 16,375
  • 46
  • 171
  • 302
6
votes
2 answers

schedule Azure machine learning compute instances

I want to schedule azure machine learning compute instances so that I can stop them during off-hours like weekends, azure automation solution with runbook seems to be working with VMs in general but not with azure ML. The solution could be either a…
Neha neha
  • 61
  • 1
5
votes
0 answers

.Net Core 3.1 SignalR Client Starts and Stops receiving messages at specific intervals

Does an Azure VM throttle SignalR messages being sent? Running locally, the client receives every message, but when hosted on the VM, clients only receive messages 30% of the time!?!? This question is about Microsoft.AspNet.SignalR nuget package…
jenker321
  • 51
  • 2
5
votes
1 answer

Running Android Emulator on Azure pipeline has performance issues

Running either a single/multiple android emulator's on azure pipeline has not been a smooth journey. When running an emulator the application to test runs very slowly causing the test framework to timeout. After checking the emulator log I have…
CVA
  • 1,477
  • 1
  • 14
  • 23
4
votes
2 answers

Azure VM metadata missing / emtpy publicIpAddress

On an Azure VM when querying for metadata, the publicIpAddress has no value even though the machine as a public IP. curl -H Metadata:true "http://169.254.169.254/metadata/instance?api-version=2019-11-01" returns an empty string for…
KBoek
  • 5,794
  • 5
  • 32
  • 49
3
votes
2 answers

Using Azure Managed Identity in a Docker container running on an Azure VM

I have a problem in which I cannot reach my company's Container registry via Azure Container Instances and Azure Container Apps, which has to do with VNET's and a private link to the company's registry, and the fact that dynamically launched…
Josh
  • 404
  • 1
  • 5
  • 15
3
votes
1 answer

Accessing SQL Server from Azure DevOps Pipeline

Problem I have setup an Azure Pipeline, and the problem I have is that during the Test Assemblies part of the Pipeline it is failing as it can't resolve the connection string/find my SQL Server. A network-related or instance-specific error occurred…
Brummy
  • 183
  • 1
  • 11
3
votes
0 answers

Problem with Azure Custom Script Extension for Proxy Deployment to Windows OS

I am using Custom Script Extension (CSE) to set the proxy in Windows VMs and then to install antivirus solution. The antivirus solution setup needs internet connection. But it seems that during CSE provisionning the proxy configuration is not taking…
MoonHorse
  • 1,966
  • 2
  • 24
  • 46
3
votes
1 answer

Proxy settings on Azure Log Analytics agent on Linux systems

I am deploying Azure Log Analytics agent to an Ubuntu 18 VM. It is done with Azure Policy by using Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux extension. I need to set proxy configuration. On windows systems, the proxy setting can be set…
MoonHorse
  • 1,966
  • 2
  • 24
  • 46
2
votes
0 answers

AD integration can do with Linux vm for different directories?, I have tried AD integration with Windows vm for different directories it not worked

AD integration can do with Linux VM for different directories VM?, I have tried AD integration with Windows VM for different directories VM but it not worked and Is there any way to do AD integration for Windows VM with different directories VM. as…
Arun A
  • 21
  • 2
2
votes
1 answer

OS Type Conflict running Azure CLI command from PowerShell

I am running an Azure CLI command in a Windows 10 Professional PowerShell script and I receive this error: (Conflict) Run command OS type 'Windows' does not match the target OS Linux. PowerShell version: Major Minor Build Revision ----- ----- …
John Hanley
  • 74,467
  • 6
  • 95
  • 159
2
votes
1 answer

How to disable the Azure Bastion for Virtual Machine in Azure cloud?

I am using a Virtual Machine in Azure portal. Over there, I connected the VM via RDP. Now when I saw at my credits $19 are spent and the uses by Azure Bastion. After it, I did some R&D and figured out how to delete all Azure Bastion resources via…
2
votes
1 answer

Execute XMLA script on Azure VM using powershell

I have generated a XMLA script from on premise SSAS cube , i need to execute this XMLA script in a automated way on Azure VM using powershell , the script should be idempotent in a way that if the cube/database already exists on azure vm dont…
RRR
  • 41
  • 3
1
2 3
18 19