Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.21k stars 3.82k forks source link

Error message when attempting to create an incompatible VM as Spot incorrectly mentions "low priority" #12007

Closed MattKotsenas closed 4 years ago

MattKotsenas commented 4 years ago

Description

When attempting to create a VMSS that doesn't support Spot pricing, the error message refers to the old "low priority" naming scheme. This should be changed to avoid confusing users with the old feature naming scheme.

Steps to reproduce

New-AzVmss -Priority Spot -VmSize "xxx" -ResourceGroupName "repro-group" -VMScaleSetName "repro-vmss" -Credential (get-credential)

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.1
PSEdition                      Core
GitCommitId                    7.0.1
OS                             Microsoft Windows 10.0.19041
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0GǪ}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

    Directory: C:\Users\xxx\Documents\PowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     3.5.0                 Az                                  Core,Desk 
Script     1.7.2                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzCon
Script     1.1.1                 Az.Advisor                          Core,Desk {Get-AzAdvisorRecommendation, Enable-AzA
Script     1.0.3                 Az.Aks                              Core,Desk {Get-AzAks, New-AzAks, Remove-AzAks, Imp
Script     1.1.2                 Az.AnalysisServices                 Core,Desk {Resume-AzAnalysisServicesServer, Suspen
Script     1.3.4                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToProduct, Add-Az
Script     1.0.3                 Az.ApplicationInsights              Core,Desk {Get-AzApplicationInsights, New-AzApplic
Script     1.3.6                 Az.Automation                       Core,Desk {Get-AzAutomationHybridWorkerGroup, Remo
Script     2.0.2                 Az.Batch                            Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccou
Script     1.0.2                 Az.Billing                          Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeri
Script     1.4.2                 Az.Cdn                              Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUr
Script     1.2.3                 Az.CognitiveServices                Core,Desk {Get-AzCognitiveServicesAccount, Get-AzC
Script     3.5.0                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailab
Script     1.0.3                 Az.ContainerInstance                Core,Desk {New-AzContainerGroup, Get-AzContainerGr
Script     1.1.1                 Az.ContainerRegistry                Core,Desk {New-AzContainerRegistry, Get-AzContaine
Script     1.1.0                 Az.DataBoxEdge                      Core,Desk {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdge
Script     1.6.1                 Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFact
Script     1.0.2                 Az.DataLakeAnalytics                Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-
Script     1.2.6                 Az.DataLakeStore                    Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, R
Script     1.1.0                 Az.DeploymentManager                Core,Desk {Get-AzDeploymentManagerArtifactSource, 
Script     1.0.2                 Az.DevTestLabs                      Core,Desk {Get-AzDtlAllowedVMSizesPolicy, Get-AzDt
Script     1.1.2                 Az.Dns                              Core,Desk {Get-AzDnsRecordSet, New-AzDnsRecordConf
Script     1.2.3                 Az.EventGrid                        Core,Desk {New-AzEventGridTopic, Get-AzEventGridTo
Script     1.4.3                 Az.EventHub                         Core,Desk {New-AzEventHubNamespace, Get-AzEventHub
Script     1.4.0                 Az.FrontDoor                        Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-A
Script     3.0.3                 Az.HDInsight                        Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoo
Script     1.0.1                 Az.HealthcareApis                   Core,Desk {New-AzHealthcareApisService, Remove-AzHGǪ
Script     2.1.0                 Az.IotHub                           Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubCo
Script     1.5.1                 Az.KeyVault                         Core,Desk {Add-AzKeyVaultCertificate, Update-AzKey
Script     1.3.2                 Az.LogicApp                         Core,Desk {Get-AzIntegrationAccountAgreement, Get-
Script     1.1.3                 Az.MachineLearning                  Core,Desk {Move-AzMlCommitmentAssociation, Get-AzM
Script     1.0.2                 Az.ManagedServices                  Core,Desk {Get-AzManagedServicesAssignment, New-Az
Script     1.0.2                 Az.MarketplaceOrdering              Core,Desk {Get-AzMarketplaceTerms, Set-AzMarketpla
Script     1.1.1                 Az.Media                            Core,Desk {Sync-AzMediaServiceStorageKey, Set-AzMe
Script     1.6.0                 Az.Monitor                          Core,Desk {Get-AzMetricDefinition, Get-AzMetric, R
Script     2.3.1                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationC
Script     1.1.1                 Az.NotificationHubs                 Core,Desk {Get-AzNotificationHub, Get-AzNotificati
Script     1.3.4                 Az.OperationalInsights              Core,Desk {New-AzOperationalInsightsAzureActivityL
Script     1.2.0                 Az.PolicyInsights                   Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, G
Script     1.1.1                 Az.PowerBIEmbedded                  Core,Desk {Remove-AzPowerBIWorkspaceCollection, Ge
Script     1.0.2                 Az.PrivateDns                       Core,Desk {Get-AzPrivateDnsZone, Remove-AzPrivateD
Script     2.7.0                 Az.RecoveryServices                 Core,Desk {Get-AzRecoveryServicesBackupProperty, G
Script     1.2.1                 Az.RedisCache                       Core,Desk {Remove-AzRedisCachePatchSchedule, New-A
Script     1.0.3                 Az.Relay                            Core,Desk {New-AzRelayNamespace, Get-AzRelayNamesp
Script     1.11.0                Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleA
Script     1.4.1                 Az.ServiceBus                       Core,Desk {New-AzServiceBusNamespace, Get-AzServic
Script     2.0.1                 Az.ServiceFabric                    Core,Desk {Add-AzServiceFabricClientCertificate, A
Script     1.1.1                 Az.SignalR                          Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSig
Script     2.3.0                 Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncrypt
Script     1.1.0                 Az.SqlVirtualMachine                Core,Desk {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlV
Script     1.12.0                Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAcco
Script     1.2.3                 Az.StorageSync                      Core,Desk {Invoke-AzStorageSyncCompatibilityCheck,
Script     1.0.1                 Az.StreamAnalytics                  Core,Desk {Get-AzStreamAnalyticsFunction, Get-AzSt
Script     1.0.3                 Az.TrafficManager                   Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpo
Script     1.6.0                 Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServiceP
Script     2.0.332               oh-my-posh                          Desk      {Show-Colors, Show-ThemeColors, Show-The
Script     0.7.3                 posh-git                            Desk      {Invoke-NullCoalescing, Add-PoshGitToPro

    Directory: C:\program files\powershell\7\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Manifest   7.0.0.0               CimCmdlets                          Core      {Get-CimAssociatedInstance, Get-CimClass
Manifest   1.2.5                 Microsoft.PowerShell.Archive        Desk      {Compress-Archive, Expand-Archive}
Manifest   7.0.0.0               Microsoft.PowerShell.Diagnostics    Core      {Get-WinEvent, New-WinEvent, Get-Counter}
Manifest   7.0.0.0               Microsoft.PowerShell.Host           Core      {Start-Transcript, Stop-Transcript}
Manifest   7.0.0.0               Microsoft.PowerShell.Management     Core      {Add-Content, Clear-Content, Get-Clipboa
Manifest   7.0.0.0               Microsoft.PowerShell.Security       Core      {Get-Acl, Set-Acl, Get-PfxCertificate, G
Manifest   7.0.0.0               Microsoft.PowerShell.Utility        Core      {Export-Alias, Get-Alias, Import-Alias, 
Manifest   7.0.0.0               Microsoft.WSMan.Management          Core      {Disable-WSManCredSSP, Enable-WSManCredS
Script     1.4.6                 PackageManagement                   Desk      {Find-Package, Get-Package, Get-PackageP
Script     2.2.4                 PowerShellGet                       Desk      {Find-Command, Find-DSCResource, Find-Mo
Script     2.0.5                 PSDesiredStateConfiguration         Core      {Configuration, New-DscChecksum, Get-Dsc
Script     7.0.0.0               PSDiagnostics                       Core      {Disable-PSTrace, Disable-PSWSManCombine
Script     2.0.0                 PSReadLine                          Desk      {Get-PSReadLineKeyHandler, Set-PSReadLin
Binary     2.0.3                 ThreadJob                           Desk      Start-ThreadJob

    Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     1.0.1                 Microsoft.PowerShell.Operation.ValGǪ Desk      {Get-OperationValidation, Invoke-Operati
Binary     1.0.0.1               PackageManagement                   Desk      {Find-Package, Get-Package, Get-PackageP
Script     3.4.0                 Pester                              Desk      {Describe, Context, It, ShouldGǪ}
Script     1.0.0.1               PowerShellGet                       Desk      {Install-Module, Find-Module, Save-Modul
Script     2.0.0      beta2      PSReadline                          Desk      {Get-PSReadLineKeyHandler, Set-PSReadLin

    Directory: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Manifest   1.0.0.0               AppBackgroundTask                   Core,Desk {Disable-AppBackgroundTaskDiagnosticLog,
Manifest   2.0.1.0               Appx                                Core,Desk {Add-AppxPackage, Get-AppxPackage, Get-A
Script     1.0.0.0               AssignedAccess                      Core,Desk {Clear-AssignedAccess, Get-AssignedAcces
Manifest   1.0.0.0               BitLocker                           Core,Desk {Unlock-BitLocker, Suspend-BitLocker, Re
Manifest   2.0.0.0               BitsTransfer                        Core,Desk {Add-BitsFile, Complete-BitsTransfer, Ge
Manifest   1.0.0.0               BranchCache                         Core,Desk {Add-BCDataCacheExtension, Clear-BCCache
Manifest   1.0                   ConfigDefender                      Core,Desk {Get-MpPreference, Set-MpPreference, Add
Manifest   1.0                   Defender                            Core,Desk {Get-MpPreference, Set-MpPreference, Add
Manifest   1.0.2.0               DeliveryOptimization                Core,Desk {Delete-DeliveryOptimizationCache, Set-D
Manifest   1.0.0.0               DirectAccessClientComponents        Core,Desk {Disable-DAManualEntryPointSelection, En
Script     3.0                   Dism                                Core,Desk {Add-AppxProvisionedPackage, Add-Windows
Manifest   1.0.0.0               DnsClient                           Core,Desk {Resolve-DnsName, Clear-DnsClientCache, 
Manifest   1.0.0.0               EventTracingManagement              Core,Desk {Start-EtwTraceSession, New-EtwTraceSess
Manifest   1.0.0.0               HgsClient                           Core,Desk {Get-HgsAttestationBaselinePolicy, Get-H
Manifest   1.0.0.0               HgsDiagnostics                      Core,Desk {New-HgsTraceTarget, Get-HgsTrace, Get-H
Binary     2.0.0.0               Hyper-V                             Core,Desk {Add-VMAssignableDevice, Add-VMDvdDrive,
Binary     1.1                   Hyper-V                             Core,Desk {Add-VMDvdDrive, Add-VMFibreChannelHba, 
Manifest   2.0.0.0               International                       Core,Desk {Get-WinDefaultInputMethodOverride, Set-
Manifest   1.0.0.0               Kds                                 Core,Desk {Add-KdsRootKey, Get-KdsRootKey, Test-Kd
Manifest   3.0.0.0               Microsoft.PowerShell.Diagnostics    Core,Desk {Get-WinEvent, Get-Counter, Import-Count
Manifest   1.0.0.0               Microsoft.PowerShell.LocalAccounts  Core,Desk {Add-LocalGroupMember, Disable-LocalUser
Manifest   3.1.0.0               Microsoft.PowerShell.Management     Core,Desk {Add-Content, Clear-Content, Clear-ItemP
Manifest   1.0                   MMAgent                             Core,Desk {Disable-MMAgent, Enable-MMAgent, Set-MM
Manifest   2.0.0.0               NetAdapter                          Core,Desk {Disable-NetAdapter, Disable-NetAdapterB
Manifest   1.0.0.0               NetConnection                       Core,Desk {Get-NetConnectionProfile, Set-NetConnec
Manifest   1.0.0.0               NetEventPacketCapture               Core,Desk {New-NetEventSession, Remove-NetEventSes
Manifest   2.0.0.0               NetLbfo                             Core,Desk {Add-NetLbfoTeamMember, Add-NetLbfoTeamN
Manifest   1.0.0.0               NetNat                              Core,Desk {Get-NetNat, Get-NetNatExternalAddress, 
Manifest   2.0.0.0               NetQos                              Core,Desk {Get-NetQosPolicy, Set-NetQosPolicy, Rem
Manifest   2.0.0.0               NetSecurity                         Core,Desk {Get-DAPolicyChange, New-NetIPsecAuthPro
Manifest   1.0.0.0               NetSwitchTeam                       Core,Desk {New-NetSwitchTeam, Remove-NetSwitchTeam
Manifest   1.0.0.0               NetTCPIP                            Core,Desk {Get-NetIPAddress, Get-NetIPInterface, G
Manifest   1.0.0.0               NetworkConnectivityStatus           Core,Desk {Get-DAConnectionStatus, Get-NCSIPolicyC
Manifest   1.0.0.0               NetworkSwitchManager                Core,Desk {Disable-NetworkSwitchEthernetPort, Enab
Manifest   1.0.0.0               NetworkTransition                   Core,Desk {Add-NetIPHttpsCertBinding, Disable-NetD
Manifest   1.0.0.0               PcsvDevice                          Core,Desk {Get-PcsvDevice, Start-PcsvDevice, Stop-
Manifest   1.0.0.0               PKI                                 Core,Desk {Add-CertificateEnrollmentPolicyServer, 
Manifest   1.0.0.0               PnpDevice                           Core,Desk {Get-PnpDevice, Get-PnpDeviceProperty, E
Manifest   1.1                   PrintManagement                     Core,Desk {Add-Printer, Add-PrinterDriver, Add-Pri
Binary     1.0.11                ProcessMitigations                  Core,Desk {Get-ProcessMitigation, Set-ProcessMitig
Script     3.0                   Provisioning                        Core,Desk {Install-ProvisioningPackage, Export-Pro
Manifest   1.0.0.0               ScheduledTasks                      Core,Desk {Get-ScheduledTask, Set-ScheduledTask, R
Manifest   2.0.0.0               SecureBoot                          Core,Desk {Confirm-SecureBootUEFI, Set-SecureBootU
Manifest   2.0.0.0               SmbShare                            Core,Desk {Get-SmbShare, Remove-SmbShare, Set-SmbS
Manifest   2.0.0.0               SmbWitness                          Core,Desk {Get-SmbWitnessClient, Move-SmbWitnessCl
Manifest   1.0.0.0               StartLayout                         Core,Desk {Export-StartLayout, Import-StartLayout,
Manifest   2.0.0.0               Storage                             Core,Desk {Add-InitiatorIdToMaskingSet, Add-Partit
Manifest   2.0.0.0               TLS                                 Core,Desk {New-TlsSessionTicketKey, Enable-TlsSess
Manifest   1.0.0.0               TroubleshootingPack                 Core,Desk {Get-TroubleshootingPack, Invoke-Trouble
Manifest   2.0.0.0               TrustedPlatformModule               Core,Desk {Get-Tpm, Initialize-Tpm, Clear-Tpm, Unb
Binary     2.1.639.0             UEV                                 Core,Desk 
Manifest   2.0.0.0               VpnClient                           Core,Desk {Add-VpnConnection, Set-VpnConnection, R
Manifest   1.0.0.0               Wdac                                Core,Desk {Get-OdbcDriver, Set-OdbcDriver, Get-Odb
Manifest   2.0.0.0               Whea                                Core,Desk {Get-WheaMemoryPolicy, Set-WheaMemoryPol
Manifest   1.0.0.0               WindowsDeveloperLicense             Core,Desk {Get-WindowsDeveloperLicense, Unregister
Script     1.0                   WindowsErrorReporting               Core,Desk {Enable-WindowsErrorReporting, Disable-W
Manifest   1.0.0.0               WindowsSearch                       Core,Desk {Get-WindowsSearchSetting, Set-WindowsSe
Manifest   1.0.0.0               WindowsUpdate                       Core,Desk Get-WindowsUpdateLog
Manifest   1.0.0.2               WindowsUpdateProvider               Core,Desk {Get-WUAVersion, Get-WULastInstallationD

    Directory: C:\Program Files (x86)\Microsoft Azure Information Protection\Powershell

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Binary     2.6.111.0             AzureInformationProtection          Desk      

Debug output

DEBUG: 5:28:40 PM - NewAzureRmVmss begin processing with ParameterSet 'SimpleParameterSet'.                             DEBUG: 5:28:40 PM - using account id 'xxx'...                                                         DEBUG: [Common.Authentication]: Authenticating using Account: 'xxx@microsoft.com', environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'                                                                                DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob                                                                                           DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3522251Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3522640Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3522858Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: === Token Acquisition started:                                                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                             , Authority Host: login.microsoftonline.com                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3522996Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: === Token Acquisition started:                                                                                                          Authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/                                      Resource: https://management.core.windows.net/                                                                          ClientId: 1950a258-227b-4e31-a9cf-717495945fc2                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                                                                                                                                                                                                                                                                     DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.3523654Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.3523770Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3596409Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 3 items to token cache.                                                                                                                                                                                                                    DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.3596997Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.3597113Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3597479Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3597577Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3598095Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: 12.195419931666667 minutes left until token in cache expires                                                                                                                                                                                            DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3598198Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: 12.195419931666667 minutes left until token in cache expires                                                                                                                                                                                            DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3598282Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3598365Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3599038Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00

DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.3599153Z: 97fede0c-cabc-4fe9-a9b0-bdd8db105bec - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00Access Token Hash: xxx                                                                         User id: xxx                                                                                                                                                                                       DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '05/28/2020 00:40:52 +00:00', MultipleResource? 'True', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47', UserId: 'xxx'                             DEBUG: [Common.Authentication]: User info for token DisplayId: 'xxx', Name: xxx, IdProvider: 'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/', Uid: '47f7c9cc-276a-4593-b2a2-724c5896f00a'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '05/28/2020 00:40:52 +00:00' Comparing to '05/28/2020 00:28:40 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:12:11.7245868'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/images/Win2016Datacenter?api-version=2019-07-01

Headers:
x-ms-client-request-id        : 997b5236-9102-443f-8df0-e5d2a10954c7
Accept-Language               : en-US

Body:

                                                                                                                        DEBUG: ============================ HTTP RESPONSE ============================                                                                                                                                                                  Status Code:                                                                                                            NotFound                                                                                                                                                                                                                                        Headers:                                                                                                                Cache-Control                 : no-cache                                                                                Pragma                        : no-cache                                                                                x-ms-failure-cause            : gateway                                                                                 x-ms-request-id               : dfd183cc-6f10-42b9-a220-c2eba2c6a5b5                                                    x-ms-correlation-request-id   : dfd183cc-6f10-42b9-a220-c2eba2c6a5b5                                                    x-ms-routing-request-id       : WESTUS:20200528T002840Z:dfd183cc-6f10-42b9-a220-c2eba2c6a5b5                            Strict-Transport-Security     : max-age=31536000; includeSubDomains                                                     X-Content-Type-Options        : nosniff                                                                                 Date                          : Thu, 28 May 2020 00:28:39 GMT                                                                                                                                                                                   Body:                                                                                                                   {                                                                                                                         "error": {                                                                                                                "code": "ResourceNotFound",                                                                                             "message": "The Resource 'Microsoft.Compute/images/Win2016Datacenter' under resource group 'xxx' was not found."                                                                                                                   }                                                                                                                     }                                                                                                                                                                                                                                                                                                                                                                       DEBUG: [Common.Authentication]: Authenticating using Account: 'xxx', environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'                                                                                DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'        DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob                                                                                           DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5743485Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5743874Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5744045Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: === Token Acquisition started:                                                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                             , Authority Host: login.microsoftonline.com                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5744199Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: === Token Acquisition started:                                                                                                          Authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/                                      Resource: https://management.core.windows.net/                                                                          ClientId: 1950a258-227b-4e31-a9cf-717495945fc2                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                                                                                                                                                                                                                                                                     DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.5744443Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.5744568Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5752733Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 3 items to token cache.                                                                                                                                                                                                                    DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.5753029Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.5753132Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5753268Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5753403Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5753555Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: 12.191827453333334 minutes left until token in cache expires                                                                                                                                                                                            DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5753643Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: 12.191827453333334 minutes left until token in cache expires                                                                                                                                                                                            DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5753719Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5753797Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5754116Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00

DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.5754217Z: 7294b9f2-a64d-4b50-94d3-98a33cb3666c - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00Access Token Hash: HCP3+iYf/6JVgiAKtZoF3h5H53M5kCXHzIkZQiSRkdI=                                                                          User id: 47f7c9cc-276a-4593-b2a2-724c5896f00a                                                                                                                                                                                          DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '05/28/2020 00:40:52 +00:00', MultipleResource? 'True', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47', UserId: 'xxx'                             DEBUG: [Common.Authentication]: User info for token DisplayId: 'xxx', Name: xxx, IdProvider: 'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/', Uid: '47f7c9cc-276a-4593-b2a2-724c5896f00a'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '05/28/2020 00:40:52 +00:00' Comparing to '05/28/2020 00:28:40 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:12:11.5092865'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachineScaleSets/temp2?api-version=2019-07-01

Headers:
x-ms-client-request-id        : b892769c-0371-4e6c-ba06-0150b75820e9
Accept-Language               : en-US

Body:

                                                                                                                        DEBUG: ============================ HTTP RESPONSE ============================                                                                                                                                                                  Status Code:                                                                                                            NotFound                                                                                                                                                                                                                                        Headers:                                                                                                                Cache-Control                 : no-cache                                                                                Pragma                        : no-cache                                                                                x-ms-failure-cause            : gateway                                                                                 x-ms-request-id               : a2ed5d05-af69-4a43-aeac-42d79178c36a                                                    x-ms-correlation-request-id   : a2ed5d05-af69-4a43-aeac-42d79178c36a                                                    x-ms-routing-request-id       : WESTUS:20200528T002840Z:a2ed5d05-af69-4a43-aeac-42d79178c36a                            Strict-Transport-Security     : max-age=31536000; includeSubDomains                                                     X-Content-Type-Options        : nosniff                                                                                 Date                          : Thu, 28 May 2020 00:28:40 GMT                                                                                                                                                                                   Body:                                                                                                                   {                                                                                                                         "error": {                                                                                                                "code": "ResourceNotFound",                                                                                             "message": "The Resource 'Microsoft.Compute/virtualMachineScaleSets/temp2' under resource group 'xxx' was not found."                                                                                                      }                                                                                                                     }                                                                                                                                                                                                                                                                                                                                                                       DEBUG: [Common.Authentication]: Authenticating using Account: 'xxx', environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'                                                                                DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'        DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob                                                                                           DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9838648Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9838993Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9839195Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: === Token Acquisition started:                                                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                             , Authority Host: login.microsoftonline.com                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9839343Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: === Token Acquisition started:                                                                                                          Authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/                                      Resource: https://management.core.windows.net/                                                                          ClientId: 1950a258-227b-4e31-a9cf-717495945fc2                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                                                                                                                                                                                                                                                                     DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9839937Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9840054Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9850108Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 3 items to token cache.                                                                                                                                                                                                                    DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9850540Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9850649Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9850977Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9851074Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9851525Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: 12.184997538333333 minutes left until token in cache expires                                                                                                                                                                                            DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9851617Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: 12.184997538333333 minutes left until token in cache expires                                                                                                                                                                                            DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9851700Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9851782Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9852164Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00                                                                                                                                DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9852269Z: 1fd19a31-692f-4796-adfb-275eda4469e4 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00Access Token Hash: HCP3+iYf/6JVgiAKtZoF3h5H53M5kCXHzIkZQiSRkdI=                                                                          User id: 47f7c9cc-276a-4593-b2a2-724c5896f00a                                                                                                                                                                                          DEBUG: [Common.Authentication]: Authenticating using Account: 'xxx', environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'                                                                                DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob
DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '05/28/2020 00:40:52 +00:00', MultipleResource? 'True', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47', UserId: 'xxx'
DEBUG: [Common.Authentication]: User info for token DisplayId: 'xxx', Name: xxx, IdProvider: 'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/', Uid: '47f7c9cc-276a-4593-b2a2-724c5896f00a'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '05/28/2020 00:40:52 +00:00' Comparing to '05/28/2020 00:28:40 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:12:11.0991788'               DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9858349Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9858544Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: ============================ HTTP REQUEST ============================                                                                                                                                                                   HTTP Method:                                                                                                            GET

Absolute Uri:                                                                                                           https://management.azure.com/subscriptions/xxx/resourcegroups/xxx?api-version=2016-09-01                                                                                                                                                                                                                                    Headers:                                                                                                                x-ms-client-request-id        : 4afb8e8a-8580-4be3-b292-56329a807174                                                    Accept-Language               : en-US                                                                                                                                                                                                           Body:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9858698Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: === Token Acquisition started:                                                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                             , Authority Host: login.microsoftonline.com                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9858815Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: === Token Acquisition started:                                                                                                          Authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/                                      Resource: https://management.core.windows.net/                                                                          ClientId: 1950a258-227b-4e31-a9cf-717495945fc2                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                                                                                                                                                                                                                                                                     DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9859386Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9859506Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9869134Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 3 items to token cache.                                                                                                                                                                                                                    DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9869647Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9869766Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9870115Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9870218Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9870630Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: 12.184965706666667 minutes left until token in cache expires                                                                                                                                                                                            DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9870729Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: 12.184965706666667 minutes left until token in cache expires                                                                                                                                                                                            DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9870813Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9870925Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9871307Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00                                                                                                                                DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9871460Z: b41f67ae-095f-47ae-b444-e76f237f25a2 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00Access Token Hash: HCP3+iYf/6JVgiAKtZoF3h5H53M5kCXHzIkZQiSRkdI=
         User id: 47f7c9cc-276a-4593-b2a2-724c5896f00a

DEBUG: [Common.Authentication]: Authenticating using Account: 'xxx', environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '05/28/2020 00:40:52 +00:00', MultipleResource? 'True', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47', UserId: 'xxx'                             DEBUG: [Common.Authentication]: User info for token DisplayId: 'xxx', Name: xxx, IdProvider: 'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/', Uid: '47f7c9cc-276a-4593-b2a2-724c5896f00a'           DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'        DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob                                                                                           DEBUG: [Common.Authentication]: Checking token expiration, token expires '05/28/2020 00:40:52 +00:00' Comparing to '05/28/2020 00:28:40 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:12:11.0970679'               DEBUG: ============================ HTTP REQUEST ============================                                                                                                                                                                   HTTP Method:                                                                                                            GET                                                                                                                                                                                                                                             Absolute Uri:                                                                                                           https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2?api-version=2017-10-01                                                                                                                                                                            Headers:                                                                                                                x-ms-client-request-id        : d6a9876a-d249-4c00-939a-cbbf66175c99                                                    Accept-Language               : en-US

Body:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9880258Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9880461Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9880781Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: === Token Acquisition started:                                                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                             , Authority Host: login.microsoftonline.com                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9881065Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: === Token Acquisition started:                                                                                                          Authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/                                      Resource: https://management.core.windows.net/                                                                          ClientId: 1950a258-227b-4e31-a9cf-717495945fc2                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                                                                                                                                                                                                                                                                     DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9881981Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9882131Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9891334Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 3 items to token cache.                                                                                                                                                                                                                    DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9891786Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:40.9891902Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9892237Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9892339Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9892715Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: 12.184928895 minutes left until token in cache expires                                                                                                                                                                                                  DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9892808Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: 12.184928895 minutes left until token in cache expires                                                                                                                                                                                                  DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9892890Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9892971Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9893364Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00

DEBUG: [ADAL]: Information: 2020-05-28T00:28:40.9893473Z: 8fd58b71-c2ed-471b-a1fa-e3d8841b0065 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00Access Token Hash: HCP3+iYf/6JVgiAKtZoF3h5H53M5kCXHzIkZQiSRkdI=                                                                          User id: 47f7c9cc-276a-4593-b2a2-724c5896f00a                                                                                                                                                                                          DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '05/28/2020 00:40:52 +00:00', MultipleResource? 'True', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47', UserId: 'xxx'                             DEBUG: [Common.Authentication]: User info for token DisplayId: 'xxx', Name: xxx, IdProvider: 'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/', Uid: '47f7c9cc-276a-4593-b2a2-724c5896f00a'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '05/28/2020 00:40:52 +00:00' Comparing to '05/28/2020 00:28:40 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:12:11.0951923'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/virtualNetworks/xxx-temp2?api-version=2017-10-01

Headers:
x-ms-client-request-id        : 91b967c2-3c61-4789-a67d-c8541668d7b3
Accept-Language               : en-US

Body:

DEBUG: ============================ HTTP RESPONSE ============================                                                                                                                                                                  Status Code:                                                                                                            OK                                                                                                                                                                                                                                              Headers:                                                                                                                Cache-Control                 : no-cache                                                                                Pragma                        : no-cache
x-ms-ratelimit-remaining-subscription-reads: 11999
x-ms-request-id               : 8d3cc39b-f17d-4ccf-a7ff-3c6afc381cfa
x-ms-correlation-request-id   : 8d3cc39b-f17d-4ccf-a7ff-3c6afc381cfa
x-ms-routing-request-id       : WESTUS:20200528T002841Z:8d3cc39b-f17d-4ccf-a7ff-3c6afc381cfa
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Thu, 28 May 2020 00:28:40 GMT

Body:
{
  "id": "/subscriptions/xxx/resourceGroups/xxx",
  "name": "xxx",
  "location": "centralus",
  "properties": {
    "provisioningState": "Succeeded"
  }
}

DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : W/"9f41bf93-20b2-4624-897d-395a2c360d47"
x-ms-request-id               : 84238e9d-f2d5-47f6-ac9e-b3d26319d66b
x-ms-correlation-request-id   : 065732e5-d695-48e0-8a67-bb50d0c63cc8
x-ms-arm-service-request-id   : e693300d-ecd9-4911-9494-f08699efd91d
Strict-Transport-Security     : max-age=31536000; includeSubDomains
Server                        : Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-reads: 11999
x-ms-routing-request-id       : WESTUS:20200528T002841Z:065732e5-d695-48e0-8a67-bb50d0c63cc8
X-Content-Type-Options        : nosniff
Date                          : Thu, 28 May 2020 00:28:40 GMT

Body:
{
  "name": "xxx-temp2",
  "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/virtualNetworks/xxx-temp2",
  "etag": "W/\"9f41bf93-20b2-4624-897d-395a2c360d47\"",
  "type": "Microsoft.Network/virtualNetworks",
  "location": "centralus",
  "properties": {
    "provisioningState": "Succeeded",                                                                                       "resourceGuid": "ff8726d6-ba5c-415b-ba87-847f4c2244d5",                                                                 "addressSpace": {                                                                                                         "addressPrefixes": [                                                                                                      "192.168.0.0/16"                                                                                                      ]                                                                                                                     },                                                                                                                      "subnets": [
      {
        "name": "xxx-temp2",
        "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/virtualNetworks/xxx-temp2/subnets/xxx-temp2",
        "etag": "W/\"9f41bf93-20b2-4624-897d-395a2c360d47\"",
        "properties": {
          "provisioningState": "Succeeded",
          "addressPrefix": "192.168.1.0/24"
        },
        "type": "Microsoft.Network/virtualNetworks/subnets"
      }
    ],
    "virtualNetworkPeerings": [],
    "enableDdosProtection": false,
    "enableVmProtection": false
  }
}

DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : W/"c3f23599-bb35-4f62-aed0-82d78923d555"
x-ms-request-id               : 5ffe883f-c217-4f3d-810e-2f5b504fee4f
x-ms-correlation-request-id   : 502fc282-d7b7-4e94-843b-f48cd16edb60
x-ms-arm-service-request-id   : fea9d640-ec06-4800-b965-82dccfcdbb50
Strict-Transport-Security     : max-age=31536000; includeSubDomains
Server                        : Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-reads: 11998
x-ms-routing-request-id       : WESTUS:20200528T002841Z:502fc282-d7b7-4e94-843b-f48cd16edb60
X-Content-Type-Options        : nosniff
Date                          : Thu, 28 May 2020 00:28:40 GMT

Body:
{
  "name": "xxx-temp2",
  "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2",
  "etag": "W/\"c3f23599-bb35-4f62-aed0-82d78923d555\"",
  "type": "Microsoft.Network/loadBalancers",
  "location": "centralus",
  "properties": {
    "provisioningState": "Succeeded",
    "resourceGuid": "0ada93a6-9de2-42fd-ab94-38f33cd612f8",
    "frontendIPConfigurations": [
      {
        "name": "xxx-temp2",
        "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/frontendIPConfigurations/xxx-temp2",
        "etag": "W/\"c3f23599-bb35-4f62-aed0-82d78923d555\"",
        "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
        "properties": {
          "provisioningState": "Succeeded",
          "privateIPAllocationMethod": "Dynamic",
          "publicIPAddress": {
            "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/publicIPAddresses/xxx-temp2"
          },
          "loadBalancingRules": [
            {
              "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/loadBalancingRules/xxx-temp280"
            }
          ],
          "inboundNatPools": [
            {
              "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/inboundNatPools/xxx-temp23389"
            },
            {
              "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/inboundNatPools/xxx-temp25985"
            }
          ]
        }
      }
    ],
    "backendAddressPools": [
      {
        "name": "xxx-temp2",
        "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/backendAddressPools/xxx-temp2",
        "etag": "W/\"c3f23599-bb35-4f62-aed0-82d78923d555\"",
        "properties": {
          "provisioningState": "Succeeded",
          "loadBalancingRules": [
            {
              "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/loadBalancingRules/xxx-temp280"
            }
          ]
        },
        "type": "Microsoft.Network/loadBalancers/backendAddressPools"
      }
    ],
    "loadBalancingRules": [
      {
        "name": "xxx-temp280",
        "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/loadBalancingRules/xxx-temp280",
        "etag": "W/\"c3f23599-bb35-4f62-aed0-82d78923d555\"",
        "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
        "properties": {
          "provisioningState": "Succeeded",
          "frontendIPConfiguration": {
            "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/frontendIPConfigurations/xxx-temp2"
          },
          "frontendPort": 80,
          "backendPort": 80,
          "enableFloatingIP": false,
          "idleTimeoutInMinutes": 4,
          "protocol": "Tcp",
          "loadDistribution": "Default",
          "disableOutboundSnat": false,
          "backendAddressPool": {
            "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/backendAddressPools/xxx-temp2"
          }
        }
      }
    ],
    "probes": [],
    "inboundNatRules": [],
    "inboundNatPools": [
      {
        "name": "xxx-temp23389",
        "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/inboundNatPools/xxx-temp23389",
        "etag": "W/\"c3f23599-bb35-4f62-aed0-82d78923d555\"",
        "properties": {
          "provisioningState": "Succeeded",
          "frontendPortRangeStart": 50000,
          "frontendPortRangeEnd": 50004,
          "backendPort": 3389,
          "protocol": "Tcp",
          "frontendIPConfiguration": {
            "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/frontendIPConfigurations/xxx-temp2"
          }
        },
        "type": "Microsoft.Network/loadBalancers/inboundNatPools"
      },                                                                                                                      {                                                                                                                         "name": "xxx-temp25985",                                                                                            "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/inboundNatPools/xxx-temp25985",                                                            "etag": "W/\"c3f23599-bb35-4f62-aed0-82d78923d555\"",                                                                   "properties": {                                                                                                           "provisioningState": "Succeeded",                                                                                       "frontendPortRangeStart": 52000,                                                                                        "frontendPortRangeEnd": 52004,                                                                                          "backendPort": 5985,                                                                                                    "protocol": "Tcp",                                                                                                      "frontendIPConfiguration": {                                                                                              "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/frontendIPConfigurations/xxx-temp2"                                                      }                                                                                                                     },                                                                                                                      "type": "Microsoft.Network/loadBalancers/inboundNatPools"                                                             }                                                                                                                     ]                                                                                                                     },                                                                                                                      "sku": {                                                                                                                  "name": "Standard"                                                                                                    }                                                                                                                     }                                                                                                                                                                                                                                                                                                                                                                       DEBUG: [Common.Authentication]: Authenticating using Account: 'xxx', environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'                                                                                DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'        DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob                                                                                           DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2849169Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2849540Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2849787Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: === Token Acquisition started:                                                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                             , Authority Host: login.microsoftonline.com                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2849903Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: === Token Acquisition started:                                                                                                          Authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/                                      Resource: https://management.core.windows.net/                                                                          ClientId: 1950a258-227b-4e31-a9cf-717495945fc2                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                                                                                                                                                                                                                                                                     DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:41.2850533Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:41.2850655Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2858899Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 3 items to token cache.                                                                                                                                                                                                                    DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:41.2859315Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:41.2859425Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2859710Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2859810Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2860281Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: 12.17998297 minutes left until token in cache expires                                                                                                                                                                                                   DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2860376Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: 12.17998297 minutes left until token in cache expires                                                                                                                                                                                                   DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2860462Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2860544Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2860948Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00

DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.2861055Z: c83d0355-6db3-428c-b022-2c47f30970b5 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00Access Token Hash: HCP3+iYf/6JVgiAKtZoF3h5H53M5kCXHzIkZQiSRkdI=                                                                          User id: 47f7c9cc-276a-4593-b2a2-724c5896f00a                                                                                                                                                                                          DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '05/28/2020 00:40:52 +00:00', MultipleResource? 'True', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47', UserId: 'xxx'                             DEBUG: [Common.Authentication]: User info for token DisplayId: 'xxx', Name: xxx, IdProvider: 'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/', Uid: '47f7c9cc-276a-4593-b2a2-724c5896f00a'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '05/28/2020 00:40:52 +00:00' Comparing to '05/28/2020 00:28:41 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:12:10.7983978'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/xxx/providers/Microsoft.Network/locations/centralus/CheckDnsNameAvailability?domainNameLabel=xxx-temp2-33f681&api-version=2017-10-01

Headers:
x-ms-client-request-id        : 53025d14-2c7c-4e25-acbd-b949e2f816bf
Accept-Language               : en-US

Body:
                                                                                                                                                                                                                                                                                                                                                                        DEBUG: ============================ HTTP RESPONSE ============================                                                                                                                                                                  Status Code:                                                                                                            OK                                                                                                                                                                                                                                              Headers:                                                                                                                Cache-Control                 : no-cache                                                                                Pragma                        : no-cache                                                                                x-ms-request-id               : c8d87470-d21a-4138-b6f1-99dc9b2c352d                                                    x-ms-correlation-request-id   : c211fd75-4d5f-44a4-ae26-a9fd3cfa26e7                                                    x-ms-arm-service-request-id   : e6518175-1caa-42b2-97fa-ce34b8f02fbd                                                    Strict-Transport-Security     : max-age=31536000; includeSubDomains                                                     Server                        : Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0                                             x-ms-ratelimit-remaining-subscription-reads: 11998                                                                      x-ms-routing-request-id       : WESTUS:20200528T002841Z:c211fd75-4d5f-44a4-ae26-a9fd3cfa26e7                            X-Content-Type-Options        : nosniff                                                                                 Date                          : Thu, 28 May 2020 00:28:41 GMT                                                                                                                                                                                   Body:                                                                                                                   {                                                                                                                         "available": true                                                                                                     }                                                                                                                                                                                                                                                                                                                                                                       DEBUG: [Common.Authentication]: Authenticating using Account: 'xxx', environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'                                                                                DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'        DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '72f988bf-86f1-41af-91ab-2d7cd011db47', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob                                                                                           DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9878751Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9879116Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9879331Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: === Token Acquisition started:                                                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                             , Authority Host: login.microsoftonline.com                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9879451Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: === Token Acquisition started:                                                                                                          Authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/                                      Resource: https://management.core.windows.net/                                                                          ClientId: 1950a258-227b-4e31-a9cf-717495945fc2                                                                          CacheType: null                                                                                                         Authentication Target: User                                                                                                                                                                                                                                                                                                                                     DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:41.9880079Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:41.9880198Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: Loading from cache.                                                                                                                                                                                                                                         DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9888679Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 3 items to token cache.                                                                                                                                                                                                                    DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:41.9889090Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Verbose: 2020-05-28T00:28:41.9889199Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: Looking up cache for a token...                                                                                                                                                                                                                             DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9889472Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9889570Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: An item matching the requested resource was found in the cache                                                                                                                                                                                          DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9890040Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: 12.168266695 minutes left until token in cache expires                                                                                                                                                                                                  DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9890134Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: 12.168266695 minutes left until token in cache expires                                                                                                                                                                                                  DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9890220Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9890303Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9890702Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00

DEBUG: [ADAL]: Information: 2020-05-28T00:28:41.9890809Z: eb83bef6-43ed-4d73-ac3b-1ec58ffe0d01 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 5/28/2020 12:40:52 AM +00:00Access Token Hash: HCP3+iYf/6JVgiAKtZoF3h5H53M5kCXHzIkZQiSRkdI=
         User id: 47f7c9cc-276a-4593-b2a2-724c5896f00a

DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '05/28/2020 00:40:52 +00:00', MultipleResource? 'True', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47', UserId: 'xxx'
DEBUG: [Common.Authentication]: User info for token DisplayId: 'xxx', Name: xxx, IdProvider: 'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/', Uid: '47f7c9cc-276a-4593-b2a2-724c5896f00a'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '05/28/2020 00:40:52 +00:00' Comparing to '05/28/2020 00:28:42 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:12:10.0798461'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
PUT

Absolute Uri:
https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachineScaleSets/xxx-temp2?api-version=2019-07-01

Headers:
x-ms-client-request-id        : 304c1484-1797-4506-92a0-5046e697e02d
Accept-Language               : en-US

Body:
{
  "sku": {
    "name": "xxx",
    "capacity": 2
  },
  "properties": {
    "upgradePolicy": {
      "mode": "Manual"
    },
    "virtualMachineProfile": {
      "osProfile": {
        "computerNamePrefix": "xxx-t",
        "adminUsername": "matt",
        "adminPassword": "Codename47",
        "windowsConfiguration": {}
      },
      "storageProfile": {
        "imageReference": {
          "publisher": "MicrosoftWindowsServer",
          "offer": "WindowsServer",
          "sku": "2016-Datacenter",
          "version": "latest"
        }
      },
      "networkProfile": {
        "networkInterfaceConfigurations": [
          {
            "name": "xxx-temp2",
            "properties": {
              "primary": true,
              "ipConfigurations": [
                {
                  "name": "xxx-temp2",
                  "properties": {
                    "subnet": {
                      "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/virtualNetworks/xxx-temp2/subnets/xxx-temp2"
                    },
                    "loadBalancerBackendAddressPools": [
                      {
                        "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/backendAddressPools/xxx-temp2"
                      }                                                                                                                     ],                                                                                                                      "loadBalancerInboundNatPools": [                                                                                          {                                                                                                                         "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/inboundNatPools/xxx-temp23389"                                                           },                                                                                                                      {
                        "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/loadBalancers/xxx-temp2/inboundNatPools/xxx-temp25985"
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      "priority": "Spot"
    },
    "singlePlacementGroup": false
  },
  "location": "centralus"
}

DEBUG: ============================ HTTP RESPONSE ============================
                                                                                                                        Status Code:                                                                                                            Conflict                                                                                                                                                                                                                                        Headers:                                                                                                                Cache-Control                 : no-cache                                                                                Pragma                        : no-cache                                                                                x-ms-ratelimit-remaining-resource: Microsoft.Compute/CreateVMScaleSet3Min;205,Microsoft.Compute/CreateVMScaleSet30Min;1033
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-request-id               : cdda5a9e-3e8c-4193-85ef-a15cc8fd906b
Server                        : Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-writes: 1199
x-ms-correlation-request-id   : b495f40a-5ffb-4666-95e8-3aa872fa20d1
x-ms-routing-request-id       : WESTUS:20200528T002844Z:b495f40a-5ffb-4666-95e8-3aa872fa20d1
X-Content-Type-Options        : nosniff                                                                                 Date                          : Thu, 28 May 2020 00:28:43 GMT                                                                                                                                                                                   Body:                                                                                                                   {                                                                                                                         "error": {                                                                                                                "code": "OperationNotAllowed",                                                                                          "message": "The requested VM Size xxx does not support creation of Low Priority instances."                       }                                                                                                                     }

New-AzVmss: The requested VM Size xxx does not support creation of Low Priority instances.
DEBUG: AzureQoSEvent: CommandName - New-AzVmss; IsSuccess - False; Duration - 00:00:04.5369009;; Exception - Microsoft.Rest.Azure.CloudException: The requested VM Size xxx does not support creation of Low Priority instances.
   at Microsoft.Azure.Commands.Common.Strategies.SyncTaskScheduler.Wait(Task task, Action progressUpdate)
   at Microsoft.Azure.Commands.Common.Strategies.AsyncCmdletExtensions.CmdletStartAndWait(ICmdlet cmdlet, Func`2 createAndStartTask)
   at Microsoft.Azure.Commands.Compute.Strategies.AsyncCmdletExtensions.StartAndWait[T](T cmdlet, Func`2 createAndStartTask)
   at Microsoft.Azure.Commands.Compute.Automation.NewAzureRmVmss.ExecuteCmdlet()
   at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.<ExecuteSynchronouslyOrAsJob>b__3_0(T c)
   at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet, Action`1 executor)
   at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet)
   at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord();
DEBUG: Finish sending metric.
DEBUG: 5:28:45 PM - NewAzureRmVmss end processing.

Error output

RequestId      : b67a73d5-9c05-4763-bc4d-b978a37dbfd5
Message        : The requested VM Size xxx does not support creation of Low Priority instances.
ServerMessage  : OperationNotAllowed: The requested VM Size xxx does not support creation of Low Priority instances. (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {Conflict}
RequestMessage : {PUT https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachineScaleSets/xxx-temp2?api-version=2019-07-01}
InvocationInfo : {New-AzVmss}
Line           : New-AzVmss -Priority Spot -VmSize "xxx" -ResourceGroupName "xxx" -VMScaleSetName "xxx-temp2" -Credential (get-credential)
Position       : At line:1 char:1
                 + New-AzVmss -Priority Spot -VmSize "xxx" -ResourceGroupName "xxx...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Commands.Common.Strategies.SyncTaskScheduler.Wait(Task task, Action progressUpdate)
                    at Microsoft.Azure.Commands.Common.Strategies.AsyncCmdletExtensions.CmdletStartAndWait(ICmdlet cmdlet, Func`2 createAndStartTask)
                    at Microsoft.Azure.Commands.Compute.Strategies.AsyncCmdletExtensions.StartAndWait[T](T cmdlet, Func`2 createAndStartTask)
                    at Microsoft.Azure.Commands.Compute.Automation.NewAzureRmVmss.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.<ExecuteSynchronouslyOrAsJob>b__3_0(T c)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet, Action`1 executor)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
HistoryId      : 7
ghost commented 4 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv.

dingmeng-xue commented 4 years ago

Compute Team, please help to look into this question.

Drewm3 commented 4 years ago

We will review the existing error messages and make sure none of them refer to "Low Priority".

sandeepkv93 commented 4 years ago

We have a PR out internally to fix these error messages in the service.

sandeepkv93 commented 4 years ago

The PR is completed. The changes will be reflected in the next release.