DEBUG: 13:17:39 - SetWAPackVM begin processing with ParameterSet 'UpdateVMSizeProfile'.
DEBUG: 13:17:39 - using account id '5344FE601027B22E40BC044C708B17DD5A478EB0'...
DEBUG: GET
https://TenantSite-OpenAPI.domain.com/e2d3f8dd-92fd-4b13-aede-50c062fbcd79/services/systemcenter/vmm/VirtualMachines?$expand=VirtualNetworkAdapters,VMCheckpoints,VirtualSCSIAdapters,VirtualHardDisks,VirtualDVDDrives,VirtualDiskDrives&$filter=
ID eq guid'aa17daa8-0d28-46ea-9295-20324a61d945' OK
Set-WAPackVM : The remote server returned an error: (400) Bad Request.
At line:1 char:1
+ Set-WAPackVM -VM $vm -VMSizeProfile $prof
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Set-WAPackVM], WAPackWebException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.WAPackIaaS.VirtualMachine.SetWAPackVM
DEBUG: AzureQoSEvent: CommandName - Set-WAPackVM; IsSuccess - False; Duration - 00:00:00.7073164; Exception - Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.Exceptions.WAPackWebException: The remote server returned an error: (400) Bad
Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.WebClient.WAPackIaaSRequestChannel.IssueRequestAndGetResponse[T](HttpWebRequest request, WebHeaderCollection& responseHeaders, String payload)
--- End of inner exception stack trace ---
at Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.WebClient.WAPackIaaSRequestChannel.IssueRequestAndGetResponse[T](HttpWebRequest request, WebHeaderCollection& responseHeaders, String payload)
at Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.WebClient.WAPackIaaSClient.Update[T](Object payload, WebHeaderCollection& responseHeaders)
at Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.Operations.VirtualMachineOperations.Update(VirtualMachine toUpdate, Nullable`1& jobId)
at Microsoft.WindowsAzure.Commands.WAPackIaaS.VirtualMachine.SetWAPackVM.ExecuteCmdlet()
at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord();
DEBUG: Finish sending metric.
DEBUG: 13:17:40 - SetWAPackVM end processing.
DEBUG: 13:17:40 - SetWAPackVM end processing.
Description
When I'm trying to set new VM size profile in Windows Azure Pack subscription I got error:
Expected behavior - VM Size profile applied to selected VM without errors.
Script/Steps for Reproduction
Module Version
Environment Data
Debug Output