Forum Widgets
Latest Discussions
Connection was denied because the user account is not authorised for remote log in
Hi experts, ... there was a restart of the server that is running as VM in azure... and since then, I've been experiencing some issues that are seriously affecting the company. When I want to RDP with a required account (lets call it "azvmuser") to the server, I get the message that I'm not authorized. With Administrator account, I can connect with no issues... The only way I could fix it was by adding the "azvmuser" via "User Accounts" -> "Give other users access to this computer" .... This works for a while however at some point the issue returns and when I check the Users Accounts again, the "azvmuser" is missing there again and have to add it again... There is a task created in "Task Scheduler" that runs for that user and due to the issue above, the task is failing... When I add the user to "Give other users access...", the Task runs fine... Any idea how to fix it? ... for now, I just manually check the VM and add the user "azvmuser" when I get the error message... It is happening for a business critical VM..... other 3 VMs we have in Azure are working fine đ244KViews0likes4CommentsMove virtual machine between different accounts
Hello guys! Do you know if it is possible to move a virtual machine to another Azure account?SolvedVinĂcius BarretoJun 11, 2017Copper Contributor71KViews0likes16CommentsAudio device not available on MS Azure VM
Hello, Please forgive for asking basic question. I'm a newbie w.r.t. MS Azure. I'm accessing a media rich website on my Azure VM and want to record the screen + system audio as played by the website. I can record the screen as well as the audio when I'm connected to VM via a RDP (with RDP configuration to playback on local computer). I can hear the audio on my local machine (when I connect to VM using a RDP connection). However, I want the audio to be played on VM itself so the recorders can capture/record it. (recording on VM <very critial/important> + local playback <not as important>) I'm using Camtasia or SnagIT to record the screen video + audio. Camtasia cannot start as it doesn't find an audio/sound card/device installed on VM and so it fails to start capture. I'm running a Windows Server 2016 Data Center edition without the audio hardware installed on the VM (took the image from Azure market place, not sure how to use other VMs with an audio device installed). Please let me know: 1. If I can install a virtual audio hardware to solve my issue or 2. If you know of any VM image with audio card(s) installed in the VM image or 3. Do you know of any screen+audio recorder which decodes the incoming stream and identifies audio and thus records audio (even though there is no hardware installed - as SnagIT can record without local hardware but Camtasia cannot record without a local hardware) 3. Please suggest a workaround to this issue. Could you please help me? Cheers, rKabraRUCHIR KABRAMay 07, 2017Copper Contributor42KViews0likes2CommentsLogin to Windows virtual machine in Azure using Azure AD authentication (and the pitfalls)!
Dear Microsoft Azure Friends, This article is about the login to Windows virtual machine in Azure using Azure Active Directory authentication and what needs to be considered in the process. This article describes the procedure. So far, everything is actually in perfect order. https://docs.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows So I have worked through the steps and now I want to log on to the virtual machine with an Azure Active Directory account. Why does this error message appear now? Have I done something wrong? I am going through all the steps again. No fits. So I take another close look at the article and discover the following: But that's exactly not the case with me. I want to connect from my local system which is not registered or joined in Azure. Let's take it one step at a time. First of all, I create a group in Azure Active Directory. This will contain the account I will use later for the login. ATTENTION: Use the appropriate Windows OS => Windows Server 2019 Datacenter edition and later or Windows 10 1809 and later Next I create a new virtual machine with the default settings (including a public IP address and yes this is not good, but this demo absolutely OK). Except for Management I set the following settings. If you want to work with an existing virtual machine you need to install the extension. You can do this with the Azure Cloud Shell, in a Bash terminal. az vm extension set \ --publisher Microsoft.Azure.ActiveDirectory \ --name AADLoginForWindows \ --resource-group YourResourceGroup \ --vm-name YourVM After the virtual machine is created we need to work with Role based Access Control RBAC. There are two roles that can be used. Virtual Machine Administrator Login or Virtual Machine User Login If you need local admin rights you need the first role. If you want to log in as a standard user, you can work with the second role. Now we connect to the virtual machine using RDP, but ATTENTION, I use the account I created when I created the virtual machine (not an Azure AD account). In the virtual machine I start the command prompt and use dsregcmd /status. The machine is Azure AD Joined. In the virtual machine, navigate to Start and invoke "run". Type sysdm.cpl and navigate to the Remote tab. Remove the "Allow connections..." option and click "Select Users". When you click on "Locations" you will immediately see that you cannot select an account from Azure AD. We need the command prompt for this. Start the command prompt with elevated privileges and enter the following (customized with your information, of course). net localgroup "remote desktop users" /add "AzureAD\Email address removed" Go back to the Azure Portal to your virtual machine. Download the RDP connection file. Open this RDP file with an editor and add the following lines. enablecredsspsupport:i:0 authentication level:i:2 Now double click on the RDP connection file and now use the Azure account for login. AND BINGO, we can now log in to our virtual machine using the Azure Active Directory account! Cool! I hope this article was useful. Thank you for taking the time to read the article. Best regards, Tom Wechsler P.S. All scripts (#PowerShell, Azure CLI, #Terraform, #ARM) that I use can be found on github! https://github.com/tomwechsler32KViews8likes18CommentsAzure VMs stuck at status unknown or updating (solution)
Hi all, I want to share this action plan. Issue after deallocating Azure VMs: - Azure Portal: VMs status is "Unknown" - PowerShell: VMs ProvisioningState is "Updating" Cause: The VMs are stuck because of an issue with the deallocation process. Resolution: Please raise a ticket with Azure support to get the VMs locked. Update 05/18/2023 The Azure PG will fix the code to avoid these failures in the future. They said: "When there are multiple thread updating the same internal resource, the code take a lock to avoid saving conflict, one of the code paths fail to release the lock in one specific partition where this customerâs data lives, it make consequently update for same resource return a retry error, we fix the code by ensuring the lock is releasedâ.MathieuVandenHautteMay 15, 2023Iron Contributor22KViews0likes1CommentSigin Logs of Azure Virtual Machine
Hi, Is there any way to find out number of users logged in into each azure vm's and signed in user information from azure portal. In log Analytics workspace also we verified, we couldn't able to see any parameters required to collect the user signed in information and count of users. Could u please let us know to configure the same from azure portal.MuthuKuganFeb 22, 2022Former Employee21KViews0likes4CommentsASR Replication is stuck at "Waiting for First Recovery Point"
Hi All, I am trying to add ASR for one of my setup[VM's] present in Azure environment. But, all the VM's are stuck in "Waiting for First Recovery Point". Please find more details below. Configuration: 1. All the VM's re located in "East US2" 2. All the VM's are installed with Linux[Cent OS] Status of ASR: Created a new Recovery Service Vault âSoakASR-Vaultâ Enabled Replication for 3 servers for 3 performance servers. You can find the replicated servers in âSoakASR-Vault | Replicated itemsâ Issue: All the 3 servers are stuck at âWaiting for First Recovery Point" Observations: I have created Recovery Services Vault in âCentral USâ. But, I see Network Mapping as WEST US in "Site Recovery infrastructure | Network mapping" Extension update is failing at "Site Recovery infrastructure | Extension update settings" I see 'Installing Mobility Service and preparing target' with status as âCompleted with Informationâ message. Error ID: 151083 Error Message: Site recovery mobility service update completed with warnings Please help if you have any idea where I am going wrong. Thanks in advance.psamudralaJan 22, 2021Copper Contributor15KViews0likes2CommentsCreate a snapshot of a VM with PowerShell in Azure
Hi Azure friends, I used the PowerShell ISE for this configuration. But you are also very welcome to use Visual Studio Code, just as you wish. Please start with the following steps to begin the deployment (the Hashtags are comments): #The first two lines have nothing to do with the configuration, but make some space below in the blue part of the ISE Set-Location C:\Temp Clear-Host #So that you can carry out the configuration, you need the necessary cmdlets, these are contained in the module Az (is the higher-level module from a number of submodules) Install-Module -Name Az -Force -AllowClobber -Verbose #Log into Azure Connect-AzAccount #Select the correct subscription Get-AzContext Get-AzSubscription Get-AzSubscription -SubscriptionName "your subscription name" | Select-AzSubscription #Set some parameters $resourceGroupName = 'tw-rg01' $location = 'westeurope' $vmName = 'tw-winsrv' $snapshotName = 'mySnapshot' #Get the VM $vm = Get-AzVM -ResourceGroupName $resourceGroupName -Name $vmName #Create the snapshot configuration $snapshot = New-AzSnapshotConfig -SourceUri $vm.StorageProfile.OsDisk.ManagedDisk.Id -Location $location -CreateOption copy #Take the snapshot New-AzSnapshot -Snapshot $snapshot -SnapshotName $snapshotName -ResourceGroupName $resourceGroupName #Next steps in the Azure Portal #Create a virtual machine from a snapshot by creating a managed disk #from a snapshot and then attaching the new managed disk as the OS disk Now you have used the PowerShell to create a snapshot of virtual machine! Congratulations! I hope this article was useful. Best regards, Tom Wechsler P.S. All scripts (#PowerShell, Azure CLI, #Terraform, #ARM) that I use can be found on github! https://github.com/tomwechsler15KViews0likes0Comments
Resources
Tags
- virtual machine224 Topics
- Compute103 Topics
- Cloud Services31 Topics
- Azure Containers25 Topics
- app service15 Topics
- Hands-on-Labs13 Topics
- machine learning8 Topics
- Cloud Essentials8 Topics
- Backup7 Topics
- azure5 Topics