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

What is the correct Syntax to Truncate a destination table using sqlWriterCleanupScript in azure data factory

$
0
0

I am using azure data factory to run an ETL. 

Before I copy the data across across to the staging tables I want to truncate them. 

I entered the below code in the sink section in the copy data wizard but I get an incorrect syntax message every time I try run it.

Also, How would I write the code for multiple tables needing truncating ? 

"sink": {
                        "type": "SqlDWSink",
        "writeBatchSize": 0,
                        "writeBatchTimeout": "00:00:00",
"sqlWriterCleanupScript": "truncate table stage.PostGL",
                    }


AReeves


script set in shutdown group policy not executed.

$
0
0

I am using a classic windows server 2012 virtual machine. I've set up batch script (backup some data) in the shutdown policy in Local Computer Policy. This VM is controlled remotely by azure cli command from my local MacBook Pro. However the batch script was never executed when I run "azure vm shutdown xxx".

Anyone know what I'm missing? Thanks.

2019 Datacenter with Containers will not activate.

$
0
0

Hi - With 2019 now available for Azure VMs, I went ahead and spun up a few 2019 Datacenter with Containers instances. All instances will not activate. I have confirmed KMS connectivity via docs. Anyone have any suggestions?

Best,

ChadActivation

VS2017 message: publishing to the selected azure virtual machine has not been enabled

$
0
0
I am looking for help on how to resolve the following informational message when creating a publish profile in visual studio 2017: "publishing to the selected azure virtual machine has not been enabled".

I'm trying to set up a new publish profile for my production server. I have already successfully set one up for my development server. Both servers are Azure VMs. They use different network security groups.

I get this message when selecting New Profile->Azure Virtual Machines (click browse), selecting my production server and clicking OK.

I have already triple checked my firewall settings on both the VMs and Azure Portal. I don't think these are the cause though because I do not get this message when I choose my db server which doesn't even have IIS set up. My db and production server share an Azure network security resource group.

I'm using VS Community 2017 15.9.2 with an Azure VM and WebDeploy 3.5

C:\inetpub\logs\wmsvc has no logs on my production server but DOES have logs on my development server which makes sense since it's working there.

I tried the "Import Profile" button which seemed promising but get the following message when I click the, "Validate Connection" button:

"Could not connect to the remote computer......ERROR_DESTINATION_NOT_REACHABLE".

I've tried the following references:

https://github.com/aspnet/Tooling/blob/AspNetVMs/docs/create-asp-net-vm-with-webdeploy.md#SetupDNSName

https://docs.microsoft.com/en-us/iis/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later

https://docs.microsoft.com/en-us/azure/devops/pipelines/apps/cd/deploy-webdeploy-iis-deploygroups?view=vsts

https://blogs.msdn.microsoft.com/webdev/2017/11/01/publishing-a-web-app-to-an-azure-vm-from-visual-studio/

https://blog.tallan.com/2017/05/02/deploying-a-site-to-an-azure-vm-using-web-deploy/

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-common-deployment-errors

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-deployment-operations

visual-studio-2017 webdeploy 

Error when i Install IIS with FastCGI on VM Windows Azure

$
0
0

When i run this code:

start /wait %windir%\System32\PkgMgr.exe /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-CGI

Output error:

Start-Process : A positional parameter cannot be found that accepts argument '/iu:IIS-WebServerRole'.
At line:1 char:2
+  start /wait %windir%\System32\PkgMgr.exe /iu:IIS-WebServerRole;IIS-W ...
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Start-Process], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.StartProcessCommand

IIS-WebServer : The term 'IIS-WebServer' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:65
+ ... ndir%\System32\PkgMgr.exe /iu:IIS-WebServerRole;IIS-WebServer;IIS-Com ...
+                                                     ~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-WebServer:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-CommonHttpFeatures : The term 'IIS-CommonHttpFeatures' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:79
+ ... xe /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-Sta ...
+                                            ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-CommonHttpFeatures:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-StaticContent : The term 'IIS-StaticContent' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:102
+ ... erRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-Def ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-StaticContent:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-DefaultDocument : The term 'IIS-DefaultDocument' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:120
+ ... ;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-Dir ...
+                                               ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-DefaultDocument:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-DirectoryBrowsing : The term 'IIS-DirectoryBrowsing' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:140
+ ... s;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-Htt ...
+                                             ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-DirectoryBrowsing:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-HttpErrors : The term 'IIS-HttpErrors' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:162
+ ... tent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-Hea ...
+                                                    ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-HttpErrors:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-HealthAndDiagnostics : The term 'IIS-HealthAndDiagnostics' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:177
+ ... IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HealthAndDiagnostics;IIS-Htt ...
+                                          ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-HealthAndDiagnostics:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-HttpLogging : The term 'IIS-HttpLogging' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:202
+ ... wsing;IIS-HttpErrors;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-Log ...
+                                                   ~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-HttpLogging:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-LoggingLibraries : The term 'IIS-LoggingLibraries' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:218
+ ... IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-Req ...
+                                              ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-LoggingLibraries:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-RequestMonitor : The term 'IIS-RequestMonitor' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:239
+ ... stics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Sec ...
+                                                ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-RequestMonitor:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-Security : The term 'IIS-Security' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:258
+ ... pLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-Req ...
+                                                      ~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-Security:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-RequestFiltering : The term 'IIS-RequestFiltering' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:271
+ ... ibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-Htt ...
+                                              ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-RequestFiltering:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-HttpCompressionStatic : The term 'IIS-HttpCompressionStatic' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:292
+ ... r;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-Web ...
+                                         ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-HttpCompressionStatic:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-WebServerManagementTools : The term 'IIS-WebServerManagementTools' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:318
+ ... tering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-Man ...
+                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-WebServerManagementTools:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-ManagementConsole : The term 'IIS-ManagementConsole' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:347
+ ... sionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole;WAS-Win ...
+                                             ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-ManagementConsole:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

WAS-WindowsActivationService : The term 'WAS-WindowsActivationService' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:369
+ ... ementTools;IIS-ManagementConsole;WAS-WindowsActivationService;WAS-Pro ...
+                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (WAS-WindowsActivationService:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

WAS-ProcessModel : The term 'WAS-ProcessModel' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:398
+ ... nagementConsole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-Net ...
+                                                  ~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (WAS-ProcessModel:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

WAS-NetFxEnvironment : The term 'WAS-NetFxEnvironment' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:415
+ ... indowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-Con ...
+                                              ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (WAS-NetFxEnvironment:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

WAS-ConfigurationAPI : The term 'WAS-ConfigurationAPI' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:436
+ ... ce;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-CGI
+                                              ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (WAS-ConfigurationAPI:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

IIS-CGI : The term 'IIS-CGI' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:457
+ ... ce;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-CGI
+                                                                   ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (IIS-CGI:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

How can i solve this problem?


Endpoints with same public-private port error

$
0
0

It is not possible to create an endpoint with the same public and private port in a virtual machine. It has always been possible to do. The portal shows the next message 

"Private port should be different from public port when floating IP is enabled." but floating ip is disabled.



Add new user to connect to existing VM using new SSH key

$
0
0

Hi,

I have created a linux VM with the initial admin login using SSH via Azure portal. And I can connect it using ssh [admin]@[IP address]

Now I would like to create another users and let them login using the same way, e.g. [user1]@[IP address].

I tried to create users in linux and create those key pairs. but when I connect it, it all returns "refuse key". 

But it works if i modify the new user to use the initial key during creation of the VM. (vi /home/mynewuser/.ssh/authorized_keys (put the initial public key))

Anyone has any idea about it?


Force a stop of Linux VM on Azure

$
0
0

Hi,

we are trying to stop a Linux VM to restore the osdisk from backup.

But it wont since more than 45 Minutes at least.

AZ CLI, Portal, Powershell - nothing does deallocated the VM.

How to force a stop?




Remote Desktop Services are currently busy

$
0
0

I have a user who is trying to RDP onto our Azure VM. I can login fine, however under his login he gets.

"The task you are trying to do cant be completed because Remote Desktop Services is currently busy. Please try again in a few minutes. Other users should still be able to log on"

Obviously a reboot fixed the problem short term, however need a fix to stop this occuring again.

Many Thanks Clem

Azure VM Count

$
0
0

Hi All,

Using this below script we could get VM name along with its status. However we only want a kind of two liner report in csv/html/txt file with VM running and Deallocated count.

Like : -   VM running = 16

             VM deallocated = 2

We tried some count and measure cmdlets here but no luck. 

param(

    [string]$tenantId="",

    [string]$file="Azure-ARM-VMs.csv"

)

if ($tenantId -eq "") {

    login-azurermaccount

    $subs = Get-AzureRmSubscription

else {

    login-az urermaccount -tenantid $tenantId

    $subs = Get-AzureRmSubscription -TenantId $tenantId

}

$vmobjs = @()

foreach ($sub in $subs)

{

   

    Write-Host Processing subscription $sub.SubscriptionName

    try

    {

        Select-AzureRmSubscription -SubscriptionId $sub.SubscriptionId -ErrorAction Continue

        $vms = Get-AzureRmVm

        foreach ($vm in $vms)

        {

            $vmInfo = [pscustomobject]@{

                'Subscription'=$sub.SubscriptionName

                'Mode'='ARM'

                'Name'=$vm.Name

                'ResourceGroupName' = $vm.ResourceGroupName

                'Location' = $vm.Location

                'VMSize' = $vm.HardwareProfile.VMSize

                'Status' = $null

                'AvailabilitySet' = $vm.AvailabilitySetReference.Id }

       

            $vmStatus = $vm | Get-AzureRmVM -Status

            $vmInfo.Status = $vmStatus.Statuses[1].DisplayStatus

            $vmobjs += $vmInfo

        } 

    }

    catch

    {

        Write-Host $error[0]

    }

}

$vmobjs | Export-Csv "c:\temp\VMList.CSV"

#-NoTypeInformation

#-Path $file

#Write-Host "VM list written to $file"




Cheers, Gourav Please remember to mark the replies as answers if it helped.

Azure Scale Sets using Public IP Prefix unable to deallocate

$
0
0

I'm evaluating Azure Vmss with publicIPPrefix for outbound connections. 

At upscale new publicIPAddress is allocated and at downscale this publicIPAddress is deallocated. Everything works as expected until here. 

As we can guess if all the publicIpAddess are allocated, and we try a new upscale operation, the creation of the new instance fails.

But the unexpected behavior is that after that try we can't also downscale or remove an instance, “The resource operation completed with terminal provisioning state 'Failed'”.

This behavior can be more easily reproduce if over provisioning is enabled for the scale set.


Assign USB Device (Security Dongle) to Azure VM

$
0
0

Hello there,

do you know any possibility to attach or assign a usb security Dongle to a specific Azure VM?

Does Micorsoft provide an service which can mount usb devices to Azure VMs?

Thanks in advanced.

Best regards

Joscha 

D8s_v3 & D16s_v3 Machines

$
0
0

Hi,

how can I create and attached P60/P70/P80 disk to D8s_v3 & D16s_v3 Machines?

Thanks


Yaniv Lalush

Recurring log message in Ubuntu 18.04 VM SYSLOG

$
0
0

I have been seeing a lot of these messages in the SYSLOG file(every one minute to be exact)

python3[977]: 2018/11/21 15:58:57.040895 WARNING ExtHandler Monitor: failed to collect cgroups performance metrics: 'NoneType' object is not subscriptable

Further investigation showed 

ps -Flww -p 7641

F S UID        PID  PPID C PRI  NI ADDR SZ WCHAN    RSS PSR STIME TTY         TIME CMD

4 S root      7641   977 0  80   0 - 61142 -     32484   0 Nov20 ?        00:14:31 python3 -u bin/WALinuxAgent-2.2.33-py2.7.egg -run-exthandlers

Can someone explain whats going on and if something is wrong?


Unticked Hyper-V Virtual Switch Setting, Can't connect anymore

$
0
0

I'm running a D4s v3 Azure virtual machine and was using nested virtualization to run a Hyper-V Linux VM inside my Azure VM. I couldn't get a DHCP Address leased to my Linux VM, so I unticked the "Allow management operating system to share this network adapter" in the Hyper-V Virtual Switch settings.

Now I can't RDP into my Azure VM.

How can I reset this? I do not want to have to redo my entire installation/setup.

Thank you.


Unticked Hyper-V Virtual Switch Setting, Can't connect anymore

$
0
0
I'm running a D4s v3 Azure virtual machine and was using nested virtualization to run a Hyper-V Linux VM inside my Azure VM. I couldn't get a DHCP Address leased to my Linux VM, so I unticked the "Allow management operating system to share this network adapter" in the Hyper-V Virtual Switch settings.

Now I can't RDP into my Azure VM.

How can I reset this? I do not want to have to redo my entire installation/setup.

Thank you.

Transactional Synchronization Extensions (TSX) support in Azure VMs

$
0
0

Hi,

I need machines which have support for Intel's Transactional Synchronization Extensions (TSX). Sometimes I get a VM with this support and sometimes I don't. Is it possible to specify this requirement when I create a VM?

Issue to deploy Endpoint Protection on VM

$
0
0
Hello Az support ,
I have some issues to deploy endpoint protection on VM and i don't have any logs.

Let me explain, we have many vm OS win 2012 and we go through security center to install endpoint but we have to deploy first VM Agent and for this we connect in rdp to the vm and have installed the agent but Azure does not see an agent installed 

 Can you procure some help please?

Thks!!

Error while creating vm using snapshot

$
0
0
PS C:\windows\system32> $subscriptionId = 'XXX'

PS C:\windows\system32> $resourceGroupName ='demo1'

PS C:\windows\system32> $snapshotName = 'vm1snapshot'

PS C:\windows\system32> $osDiskName = 'XX
PS C:\windows\system32> $virtualNetworkName = 'Demo1-vnet'

PS C:\windows\system32> $virtualMachineName = 'vm1snap'

PS C:\windows\system32> $virtualMachineSize = 'Standard_DS3'

PS C:\windows\system32> Select-AzureRmSubscription -SubscriptionId $SubscriptionId



PS C:\windows\system32> $snapshot = Get-AzureRmSnapshot -ResourceGroupName $resourceGroupName -SnapshotName $snapshotName 

PS C:\windows\system32> $diskConfig = New-AzureRmDiskConfig -AccountType $storageType -Location $snapshot.Location -SourceResourceId $snapshot.Id -CreateOption Copy

PS C:\windows\system32> $disk = New-AzureRmDisk -Disk $diskConfig -ResourceGroupName $resourceGroupName -DiskName $osDiskName
New-AzureRmDisk : Object reference not set to an instance of an object.
At line:1 char:9
+ $disk = New-AzureRmDisk -Disk $diskConfig -ResourceGroupName $resourc ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzureRmDisk], NullReferenceException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.NewAzureRmDisk

How to create VM from vhd as vhd?

$
0
0

Every template on internet that i saw is creating VM from vhd but is creating it as managed disk. I need to create VM from vhd and be vhd not managed disk. I have one template where I can create VM as vhd from vhd but I can´t specify subnet because it will create new subnet not attach to existing and I don´t know how to edit template to work. Always failing. Is somewhere some template for vhd as vhd?

PS: Custom image is not solution for me. I need to reconfigure 10 machines to vhd.

Viewing all 12545 articles
Browse latest View live


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