Quantcast
Channel: Azure Virtual Machines forum
Viewing all 12545 articles
Browse latest View live

VM migrated using Azure Site Recovery missing OSprofile and Azure VM agent

$
0
0

We migrated VM's form Hyper-V VMM using Azure Site Recovery.

The VM's are running fine and I have installed the Azure VM agent MSI. I tried enabling the VM agent using

$vm = Get-AzureRmVM -ResourceGroupName $rg -Name $name $vm.OSProfile.windowsConfiguration.provisionVMAgent = $True Update-AzureRmVM -ResourceGroupName $rg -VM $vm

But I get an error message saying " 'provisionVMAgent' cannot be found on this object. Verify that the property exists and can be set."

When I try to get the OSProfile using

$vm.OSprofile i just get a blank result. It seems this has never been set during migration. How do I set this value and how do I get the Azure VM agent installed and registered?


Do I have to generalize resource manager VMs to copy them?

Trouble with RDP and DNS on Vnet

$
0
0

From @kliemohn via Twitter

"All of a sudden I cannot RDP into or ping many of my #azure VMs in East US. 

I have 8 identical VMs in the EAST US region and for the first time I am unable to ping one of them.  Well, I was unable to ping it for awhile, but now I am able to ping it.  However, I still cannot RDP into it. I get the following error:[Window Title]
Remote Desktop Connection

[Content]
The remote computer that you are trying to connect to requires Network Level Authentication (NLA), but your Windows domain controller cannot be contacted to perform NLA. If you are an administrator on the remote computer, you can disable NLA by using the options on the Remote tab of the System Properties dialog box. 

My domain controller is running (I can RDP into it).  I don't know how to RDP into the VM on the domain subscription. "

Provided customer with documentation: aka.ms/d907221

"You may be on to something, as I was able to remote in via the local account.  Does that also explain why the monitor tab on the dashboard showed no activity for the VM having the issue?  Seems like it does not.  Also, nobody changed the settings on this box.  I'm still trying to figure out how to reconnect it to the proper DNS sever... 

I didn't know how to set the DNS other than to put in the hard-coded IP address of my domain controller in the IPv4 settings. I did that, and after saving it I was kicked off my RDP connection.  I could not reconnect with RDP so I have rebooted.  Hopefully that helps. 

A reboot of the VM let me back in using the local account, but it still acts as if it is not on the same network as the others even though it is according to the Configuration tab on the dashboard.  It cannot ping the other machines based on IP address."

Via DM

Thanks,
@AzureSupport


Cannot access Website through VM

$
0
0

From Keith Yong @keithyong4 via Twitter

Hi, I'm having issues browing the url for gogolf.my from my Azure Server

Error message shows that "This site can't be reached" using Chrome:



I manage to browser other websites, only this site seems to be unavailable.

Thanks,
@AzureSupport

  

VM placement into fault domain/update domains

$
0
0

Is there a way to find out which update domain/fault domain a new VM will end up into ?

Documentation says it is round robin placement, does that mean it will land up into the domain having least number of VMs ? or will it just place it in the domain next to the one it place last one into.

Is there a way to specify which fault/update domain a VM should end up into ?

Thanks,

Anurag

AzureRM VM - FTP - Error: "Illegal PORT command"

$
0
0
Hello,

I am trying to connect from VM (RM subscription) to FTP and receive error "Illegal PORT command". I have some special FTP software and doesn't have option to change passive/active transfer mode. But, I suppose that the problem is caused by IP forwarding. 

FileZilla wizard test shows next log:

Connecting to probe.filezilla-project.org
Connection established, waiting for welcome message.
Response: 220 FZ router and firewall tester ready
USER FileZilla
Response: 331 Give any password.
PASS 3.23.0.2
Response: 230 logged on.
Checking for correct external IP address
IP 10.0.0.4 ba-a-a-e
Response: 510 Mismatch. Your IP is 52.160.***.***, fc-bga-ji-h
Wrong external IP address
Connection closed

In the log you can find local IP address 10.0.0.4. instead of public.

Does any possibilities to setup ip forwarding (or another solution) to use FTP on AzureVM?

Connect button not available & IP address blanked out

$
0
0

Hi,

I am a co-admin of our subscription and have no problem using the connect button in the portal or viewing the ip address properties (in the portal).

I have a group of users who have been assigned the owner rbac role for the VM, however, they are unable to see the connect button and unable to view the ip address properties in the portal. The can rdp on to the VM using the ip address (using local user accounts), however, the ip address is dynamic and they have to be informed of the new address when it changes. We want to keep the ip address as dynamic.

How can I give the users access to view the ip address info in the portal or make the connect button available for them?

Thanks,


Andy.

VM getting disconnected after changing preferred DNS IP

$
0
0

We have created a Virtual network(Cloud Only) and a Cloud Service,in that we have created two Virtual Machines.

First VM-Domain Controller

Second VM-Normal server

We have assigned Static IP for DC.We are trying to add Second VM to DC by assigning the static ip of first VM to preferred DNS ip of second server.But after changing Preferred DNS ip in the second server if we give ok.The RDP of VM getdisconnected automatically.

So help us to resolve this problem.

Thanks


Who will be crowned the last Azure Guru of 2016!!

$
0
0

Calling all wise men!

Join us and rejoice!

THE FINAL CHALLENGE OF 2016!!

December 2016 Guru, it’s time to share great skills as a TechNet Wiki article and WIN medal(s). Medals? Yes, you can share multiple articles in the same or different categories! Now, navigate to TechNet Guru Competition December 2016  to choose your categories and if it’s not listed add your content in Miscellaneous Category!

New and last month of the year 2016. It’s time for us to wave hands to say "bye bye 2016" by winning TechNet Wiki Guru medals. Let’s make this December to Remember! 

All you have to do is add an article to TechNet Wiki from the field of your interest. Something that fits into one of the categories listed on the submissions page. Copy in your own blog post, a forum solution, a white paper, or just something you had to solve for your own day’s work today.

A snippet you share can make you a December 2016 TechNet Wiki Guru in your favorite category and this is official Microsoft TechNet recognition!

HOW TO WIN

1) Please copy over your Microsoft technical solutions and revelations to TechNet Wiki.

2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you’ve contributed)

3) Every month, we will highlight your contributions, and select a “Guru of the Month” in each technology.

If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once “on our radar” and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

Winning this award in your favorite technology will help us learn the active members in each community. 

Feel free to ask any questions below.

More about TechNet Guru Awards.

You Share We Care!

TechNet Wiki Addict Chen V and ...


Thanks,

If my reply is helpful please mark as Answer or vote asHelpful.

My blog | Twitter | LinkedIn

This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

VM with Tensorflow and GPU support on Azure

$
0
0

Hi,

I'd like to allocate a VM running Ubuntu with GPU support and Tensorflow on Azure. I've tried allocating an N-series VM in the South US DC using my trial subscription, but didn't see the N-series option available (only saw F and D series).

Has anyone had experience with this?

Thanks in advance,

Ronen 

Not possible to create VM in North Europe region

$
0
0

Hi,

I'm using Visual Studio to execute an ARM deployment to a Visual Studio MSDN Azure subscription.

The deployment contains some basic components: Storage Account, VNet, PIP, VMs, NSGs.

But an error occours with the following description:

"error": {
    "code": "SkuNotAvailable",
    "message": "The requested tier for resource '/subscriptions/a9b3634d-78af-4a00-a691-4cb27617a9e3/resourceGroups/WrappersRG/providers/Microsoft.Compute/virtualMachines/Wrappers0' is currently not available in location 'northeurope' for subscription 'a9b3634d-78af-4a00-a691-4cb27617a9e3'. Please try another tier or deploy to a different location."
  }

Also trying to create a VM through Azure Portal is not possible in the North Europe region.

Can you please take a look at this issue?

Thanks in advance


ARM template - pass SecureString parameter to custom PowerShell script via the Azure CustomScriptExtension

$
0
0

As common as this scenario seems, it appears it is either not possible or not documented anywhere obvious. I have a custom script I would like to run on a VM that requires a SecureString paramter (I could potentially update to PSCredential if it makes it any easier).

The ARM JSON template uses a parameter of type "securestring". I want to pass this value as a parameter to my custom script while keeping it secure and ideally not having to change to "string". This appears common if you are using the DSC extension via the "protectedSettings" and "PrivateSettingsRef" concept. See the following links:

https://blogs.msdn.microsoft.com/brian_farnhill/2015/08/19/deploying-the-azure-dsc-extension-through-arm

https://blogs.technet.microsoft.com/privatecloud/2016/06/29/arm-concepts-in-azure-stack-for-the-wap-administrator-in-guest-configuration-with-arm-and-technologies-such-as-virtual-machines-extensions-including-powershell-desired-state-configuration-d

However, if you are using just the CustomScriptExtension it does not appear to support the use of the "PrivateSettingsRef" concept. Also, because you are forced to call powershell.exe yourself in the "commandToExecute" (rather than have the extension smart enough to natively be aware of PowerShell), you are forced to serialise all parameters (including passwords) out to primitive strings. E.g. 'powershell -ExecutionPolicy Unrestricted -File -myPassword "xxxx"'

What is the recommended way of performing this task? Am I better off converting the script to a DSC configuration so I can use the more advanced DSC extension? Are there any plans to make the CustomScriptExtension PowerShell aware?

Cheers

Rookie Questions

$
0
0

Good afternoon all,

We are currently checking to deploy XenApp on Azure. Now I'm pretty new and i'd like to have some information so we know what costs we will get;

Question 1: Dv2 series: I see they have an SSD (temporary?) disk. Does this mean i need an extra SSD disk? How does this work.

Question 2: What costs can we expect when deploying a new infrastructure? I know some of the costs are: VM's pricing, CALS, XenApp license, VNET data per GB, Bandwidth per GB, Antivirus, Firewall. Are there any more costs?

Thanks in advance for your help !

Bobby

Blank boot diagnostics for moodle password

$
0
0
I can't login to moodle ? can't see any boot diagnostics for the password as mention in documentation ? I have recreated over ten VM's trying different ways but still no easy way to get this done ?

Default Informatica VM admin console user and password

$
0
0

Hello, i set up a VM using the "Informatica PowerCenter Standard Edition" image.  Does anyone know the default username and password for the admin console?  It should be documented as part of the install, but since the image comes prebuilt I don't know what to use.

This is for the admin site on the vm at:

http://localhost:6008/administrator/

Thanks!


SSL Certificate from Azure

$
0
0

hi,

Is there a provision to buy only SSL certificate from Azure and apply the same to a VM in Azure? Or i have to procure it only from other CAs ? I am aware for app services SSL can be bought separately from Azure, however, would like to understand if i can also buy SSL for an application running inside a VM.

administrator accout

$
0
0

Hello

I'd like to know whether the customes (or subscription owner, or tenant) is the unique owner of the administrator account, and whether Azure administrators do not include any built-in account with admnistrative privileges.

best regards

Chiara

Creating a VM using December 2016 image fails with "New-AzureVM : InternalError: The server encountered an internal error. Please retry the request." -- but works with November 2016 image

$
0
0

On Friday, I attempted to create a new virtual machine using New-AzureVM (via a PowerShell script that I've successfully used numerous times in the past -- notably as recently as October 8th).

However, an error similar to the following occurred:

New-AzureVM : InternalError: The server encountered an internal error. Please retry the request.
OperationID : '73a44dexxxxxxxxx5f0b793dcxxx'
At line:60 char:1+ New-AzureVM `+ ~~~~~~~~~~~~~+ CategoryInfo          : CloseError: (:) [New-AzureVM], ComputeCloudException+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.PersistentVMs.NewAzureVMCommand

I managed to reduce the repro steps to the following script:

Add-AzureAccount

Function GetRandomMachineName([String] $prefix)
{
    $name = [System.IO.Path]::GetRandomFileName()

    $name = $name.ToUpper()

    $name = [System.IO.Path]::GetFileNameWithoutExtension($name)

    If ([String]::IsNullOrWhiteSpace($name) -eq $false)
    {
        $name = $prefix + $name
    }

    return $name
}

$imageName = "a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2" `+ "-20161214-en.us-127GB.vhd"

$subscriptionId = "TODO: Specify a subscription ID here"
$storageAccount = "TODO: Specify a storage account here"
$location = "West US"
$vmName = GetRandomMachineName "VM-"
$cloudService = $vmName
$instanceSize = "Basic_A0"
$vhdPath = "https://$storageAccount.blob.core.windows.net/vhds/$vmName"

If ($localAdminCred -eq $null)
{
    $localAdminCred = Get-Credential `
        -UserName foo `
        -Message ("Type the user name and password for the local" `+ " administrator account.")
}

$localAdminUserName = $localAdminCred.UserName
$localAdminPassword = [Runtime.InteropServices.Marshal]::PtrToStringAuto(
	[Runtime.InteropServices.Marshal]::SecureStringToBSTR(
		$localAdminCred.Password))

$vmConfig = New-AzureVMConfig `
    -Name $vmName `
    -ImageName $imageName `
    -InstanceSize $instanceSize `
    -MediaLocation ($vhdPath + "/$vmName.vhd") |
    Add-AzureProvisioningConfig `
        -AdminUsername $localAdminUserName `
        -Password $localAdminPassword `
        -Windows

Set-AzureSubscription `
    -SubscriptionId $subscriptionId `
    -CurrentStorageAccountName $storageAccount

New-AzureVM `
    -ServiceName $cloudService `
    -Location $location `
    -VMs $vmConfig

I ran the script above numerous times and the error occurred every time.

If you switch to using the November 2016 image (instead of the December 2016 image):

$imageName = "a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2" `+ "-20161109-en.us-127GB.vhd"

...then the VM is created successfully.

This seems like a transient issue, and therefore I expected the issue to be resolved by waiting a few days, but I tried the original script again this morning (3 days later) and the error still occurs.



Is there any easy way to start all VMs in a resource group at once?

$
0
0

Hi, is there any easy way to start all VMs in a resource group at once? I know that I can do this using PowerShell scripts. But ith classic VMs in a cloud service, I could start all VMs in a cloud service with just one click. I'm missing this functionality.

Thanks in advance.

Virtual server with dynamic public IP, change to static?

$
0
0

Hi,


I have a Virtual server which is currently set to have a dynamic public IP, which I require changing to static, is this possible?


Thanks


Tom

Viewing all 12545 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>