Azure / azure-powershell

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

AzResources commands run in Cloud Shell and Functions don't work immediately after a VM is deployed #13659

Open neanderson opened 3 years ago

neanderson commented 3 years ago

Description

After a new VM is deployed, there is a large delay before the Get-AzResource and New-AzTag commands start working with the VM when executed in Cloud Shell or an Azure function. This is causing a function that automatically adds tags to VMs following deployment to fail. A resource not found error is returned when the function is triggered by an operation write success event and the New-AzTag command is executed.

The Get-AzVM command run in Cloud Shell shows that provisioning is successful and that the VM is running, but the Get-AzResource command doesn't return the VM and the New-AzTag command fails.

Even when the commands are failing in Cloud Shell, they work when run from a local PowerShell session.

The delay before the Get-AzResource and New-AzTag commands start working in Cloud Shell varies. In testing I've doing over the past several weeks, some days the delay is non-existent and other days it's 20+ minutes.

Example using Cloud Shell:

PS /home/nate> Get-AzVM -ResourceGroupName nate -Name Test14 -Status

ResourceGroupName : nate
Name              : Test14
ComputerName      : Test14
OsName            : ubuntu
OsVersion         : 18.04
HyperVGeneration  : V1
BootDiagnostics   :
Disks[0]          :
  Name            : Test14_disk1_d37b395fe91b4eb69c4fcdd40b047436
  Statuses[0]     :
    Code          : ProvisioningState/succeeded
    Level         : Info
    DisplayStatus : Provisioning succeeded
    Time          : 12/3/2020 11:16:03 PM
VMAgent           :
  VmAgentVersion  : 2.2.52
  Statuses[0]     :
    Code          : ProvisioningState/succeeded
    Level         : Info
    DisplayStatus : Ready
    Message       : Guest Agent is running
    Time          : 12/3/2020 11:16:35 PM
Statuses[0]       :
  Code            : ProvisioningState/succeeded
  Level           : Info
  DisplayStatus   : Provisioning succeeded
  Time            : 12/3/2020 11:16:18 PM
Statuses[1]       :
  Code            : PowerState/running
  Level           : Info
  DisplayStatus   : VM running

PS /home/nate> date
Thu Dec  3 23:33:43 UTC 2020
PS /home/nate> Get-AzResource -ResourceGroupName nate -Name Test14
PS /home/nate> $Tags = @{"Dept"="Finance"; "Status"="Normal"}
PS /home/nate> New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags
New-AzTag: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix

Steps to reproduce

1. Deploy a new VM>
2. Run the 'Get-AzResource -ResourceGroupName <name> -Name <VM name>' command

Environment data

PS /home/nate> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.0.3
PSEdition                      Core
GitCommitId                    7.0.3
OS                             Linux 4.15.0-1100-azure #111~16.04.1-Ubuntu SMP Thu Nov 19 06:49:21 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

PS /home/nate> Get-Module  -ListAvailable

    Directory: /home/nate/.local/share/powershell/Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     5.1.0                 Az                                  Core,Desk
Script     2.2.1                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContex…
Script     2.0.1                 Az.Aks                              Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…}
Script     1.0.0                 Az.AppConfiguration                 Core,Desk {Get-AzAppConfigurationStore, Get-AzAppConfigurationStoreKey, New-AzAppConfigurationStore, New…
Script     2.0.0                 Az.Billing                          Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…}
Script     1.6.0                 Az.Cdn                              Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…}
Script     1.8.0                 Az.CognitiveServices                Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAcc…
Script     4.6.0                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailability…
Script     2.0.0                 Az.ContainerRegistry                Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContai…
Script     1.0.1                 Az.Databricks                       Core,Desk {Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace, New-AzDatabricksVNetPeering, New-AzDa…
Script     1.11.1                Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script     1.3.0                 Az.DataLakeStore                    Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataL…
Script     2.0.1                 Az.DesktopVirtualization            Core,Desk {Disconnect-AzWvdUserSession, Expand-AzWvdMsixImage, Get-AzWvdApplication, Get-AzWvdApplicatio…
Script     1.7.1                 Az.EventHub                         Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubN…
Script     2.0.0                 Az.Functions                        Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionA…
Script     4.1.0                 Az.HDInsight                        Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightSt…
Script     2.7.0                 Az.IotHub                           Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHu…
Script     3.1.0                 Az.KeyVault                         Core,Desk {Add-AzManagedHsmKey, Get-AzManagedHsmKey, Remove-AzManagedHsmKey, Undo-AzManagedHsmKeyRemoval…
Script     1.4.0                 Az.LogicApp                         Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccount…
Script     2.0.0                 Az.ManagedServices                  Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAss…
Script     4.3.0                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCert…
Script     3.0.1                 Az.RecoveryServices                 Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaul…
Script     3.0.1                 Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     2.12.0                Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivit…
Script     3.0.0                 Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     2.1.0                 Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}

    Directory: /usr/local/share/powershell/Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     4.8.0                 Az                                  Core,Desk
Script     2.1.0                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContex…
Script     1.1.1                 Az.Advisor                          Core,Desk {Get-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Disable-AzAdvisorRecommendation,…
Script     1.3.0                 Az.Aks                              Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…}
Script     1.1.4                 Az.AnalysisServices                 Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServ…
Script     2.1.0                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductT…
Script     1.1.0                 Az.ApplicationInsights              Core,Desk {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Update-Az…
Script     1.4.0                 Az.Automation                       Core,Desk {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobO…
Script     3.1.0                 Az.Batch                            Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…}
Script     1.0.3                 Az.Billing                          Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…}
Script     1.4.3                 Az.Cdn                              Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…}
Script     1.7.0                 Az.CognitiveServices                Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAcc…
Script     4.5.0                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailability…
Script     1.0.3                 Az.ContainerInstance                Core,Desk {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceL…
Script     1.1.1                 Az.ContainerRegistry                Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContai…
Script     1.1.0                 Az.DataBoxEdge                      Core,Desk {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeDevice, New-AzDataBoxEdgeD…
Script     1.0.0                 Az.Databricks                       Core,Desk {Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace, New-AzDatabricksVNetPeering, New-AzDa…
Script     1.10.2                Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script     1.0.2                 Az.DataLakeAnalytics                Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLak…
Script     1.2.8                 Az.DataLakeStore                    Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataL…
Script     1.0.0                 Az.DataShare                        Core,Desk {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAccount, New-AzDataShare…}
Script     1.1.0                 Az.DeploymentManager                Core,Desk {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymen…
Script     1.0.0                 Az.DesktopVirtualization            Core,Desk {Disconnect-AzWvdUserSession, Get-AzWvdApplication, Get-AzWvdApplicationGroup, Get-AzWvdDeskto…
Script     1.0.2                 Az.DevTestLabs                      Core,Desk {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzD…
Script     1.1.2                 Az.Dns                              Core,Desk {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet…}
Script     1.3.0                 Az.EventGrid                        Core,Desk {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey…}
Script     1.7.0                 Az.EventHub                         Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubN…
Script     1.6.1                 Az.FrontDoor                        Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor…}
Script     1.0.2                 Az.Functions                        Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionA…
Script     0.10.8                Az.GuestConfiguration               Core,Desk {Get-AzVMGuestPolicyStatus, Get-AzVMGuestPolicyStatusHistory}
Script     3.6.1                 Az.HDInsight                        Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightSt…
Script     1.1.0                 Az.HealthcareApis                   Core,Desk {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get…
Script     2.6.0                 Az.IotHub                           Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHu…
Script     2.2.1                 Az.KeyVault                         Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation,…
Script     1.0.0                 Az.Kusto                            Core,Desk {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, Get-AzKustoAttachedDatabas…
Script     1.3.2                 Az.LogicApp                         Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccount…
Script     1.1.3                 Az.MachineLearning                  Core,Desk {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHis…
Script     1.1.0                 Az.Maintenance                      Core,Desk {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaint…
Script     1.1.1                 Az.ManagedServices                  Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAss…
Script     1.0.2                 Az.MarketplaceOrdering              Core,Desk {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms}
Script     1.1.1                 Az.Media                            Core,Desk {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServi…
Script     2.2.0                 Az.Monitor                          Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…}
Script     3.5.0                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCert…
Script     1.1.1                 Az.NotificationHubs                 Core,Desk {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, …
Script     2.3.0                 Az.OperationalInsights              Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSo…
Script     1.3.1                 Az.PolicyInsights                   Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…}
Script     1.1.2                 Az.PowerBIEmbedded                  Core,Desk {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspace…
Script     1.0.3                 Az.PrivateDns                       Core,Desk {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone…}
Script     2.12.2                Az.RecoveryServices                 Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaul…
Script     1.4.0                 Az.RedisCache                       Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedul…
Script     1.0.3                 Az.Relay                            Core,Desk {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace…}
Script     2.5.1                 Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     1.4.1                 Az.ServiceBus                       Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzSer…
Script     2.2.0                 Az.ServiceFabric                    Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFab…
Script     1.2.0                 Az.SignalR                          Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…}
Script     2.11.0                Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivit…
Script     1.1.0                 Az.SqlVirtualMachine                Core,Desk {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlVM, Remove-AzSqlVM…}
Script     2.7.0                 Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     1.3.0                 Az.StorageSync                      Core,Desk {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, S…
Script     1.0.1                 Az.StreamAnalytics                  Core,Desk {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAn…
Script     1.0.0                 Az.Support                          Core,Desk {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupportTicket, Get-AzSupportT…
Script     1.0.4                 Az.TrafficManager                   Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, …
Script     1.11.0                Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}
Script     0.0.0.10              AzureAD.Standard.Preview            Desk      {Set-AzureADUserThumbnailPhoto, Remove-AzureADApplicationProxyApplication, New-AzureADMSGroupL…
Script     0.9.3                 AzurePSDrive                        Desk
Script     17.0.4716…            EXOPSSessionConnector               Desk      Connect-EXOPSSession
Binary     0.1.1                 Microsoft.PowerShell.UnixCompleters Core      {Import-UnixCompleters, Remove-UnixCompleters, Set-UnixCompleter}
Manifest   1.0.840               MicrosoftPowerBIMgmt                Desk
Binary     1.0.840               MicrosoftPowerBIMgmt.Admin          Desk      {Add-PowerBIEncryptionKey, Get-PowerBIEncryptionKey, Get-PowerBIWorkspaceEncryptionStatus, Swi…
Binary     1.0.840               MicrosoftPowerBIMgmt.Capacities     Desk      Get-PowerBICapacity
Binary     1.0.840               MicrosoftPowerBIMgmt.Data           Desk      {Add-PowerBIDataset, Set-PowerBITable, New-PowerBIDataset, New-PowerBITable…}
Binary     1.0.840               MicrosoftPowerBIMgmt.Profile        Desk      {Connect-PowerBIServiceAccount, Disconnect-PowerBIServiceAccount, Invoke-PowerBIRestMethod, Ge…
Binary     1.0.840               MicrosoftPowerBIMgmt.Reports        Desk      {Get-PowerBIReport, New-PowerBIReport, Export-PowerBIReport, Get-PowerBIDashboard…}
Binary     1.0.840               MicrosoftPowerBIMgmt.Workspaces     Desk      {Get-PowerBIWorkspace, Get-PowerBIWorkspaceMigrationStatus, Add-PowerBIWorkspaceUser, Remove-P…
Binary     1.1.4                 MicrosoftTeams                      Core,Desk {Add-TeamUser, Connect-MicrosoftTeams, Disconnect-MicrosoftTeams, Get-CsPolicyPackage…}
Script     0.9.3                 PSCloudShellUtility                 Desk      {Enter-AzVM, Get-AzCommand, Invoke-AzVMCommand, Enable-AzVMPSRemoting…}
Binary     0.8.1                 SHiPS                               Desk
Script     21.1.18226            SqlServer                           Desk      {Add-RoleMember, Add-SqlAvailabilityDatabase, Add-SqlAvailabilityGroupListenerStaticIp, Add-Sq…

    Directory: /opt/microsoft/powershell/7/Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Manifest   1.2.5                 Microsoft.PowerShell.Archive        Desk      {Compress-Archive, Expand-Archive}
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, Clear-ItemProperty, Join-Path…}
Manifest   7.0.0.0               Microsoft.PowerShell.Security       Core      {Get-Credential, Get-ExecutionPolicy, Set-ExecutionPolicy, ConvertFrom-SecureString…}
Manifest   7.0.0.0               Microsoft.PowerShell.Utility        Core      {Export-Alias, Get-Alias, Import-Alias, New-Alias…}
Script     1.4.7                 PackageManagement                   Desk      {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource…}
Script     2.2.4.1               PowerShellGet                       Desk      {Find-Command, Find-DSCResource, Find-Module, Find-RoleCapability…}
Script     2.0.5                 PSDesiredStateConfiguration         Core      {Configuration, New-DscChecksum, Get-DscResource, Invoke-DscResource}
Script     2.0.2                 PSReadLine                          Desk      {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLi…
Binary     2.0.3                 ThreadJob                           Desk      Start-ThreadJob

Debug output

PS /home/nate> Get-AzResource -ResourceGroupName nate -Name Test14
DEBUG: 11:22:57 PM - GetAzureResourceCmdlet begin processing with ParameterSet 'ByTagNameValueParameterSet'.
DEBUG: 11:22:57 PM - using account id 'MSI@xxxxx'...
DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@xxxxx', environment: 'AzureCloud', tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
DEBUG: [HttpClientOperations]: Adding Header 'Metadata'
DEBUG: [Common.Authentication]: Received token with LoginType 'ManagedService', Tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', UserId: 'MSI@xxxxx'
DEBUG: Checking Cache request http://localhost:xxxxx/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01
DEBUG: Cache Hit
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/resources?api-version=2020-06-01

Headers:
x-ms-client-request-id        : d80c01ff-3445-4459-bce1-48ddf6929714
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: 11998
x-ms-request-id               : 19bd5d0b-3732-4a7a-9910-f3b842e90ed4
x-ms-correlation-request-id   : 19bd5d0b-3732-4a7a-9910-f3b842e90ed4
x-ms-routing-request-id       : WESTUS:20201203T232257Z:19bd5d0b-3732-4a7a-9910-f3b842e90ed4
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Thu, 03 Dec 2020 23:22:57 GMT

Body:
{
  "value": [
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/DC-Win2019_disk1_838ed882e1dc451db72cd3980f3a25fd",
      "name": "DC-Win2019_disk1_838ed882e1dc451db72cd3980f3a25fd",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/DC-Win2019",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/nate-Asterix-PBX_OsDisk_1_46551c1fdf0b4e11b543e6030b7aef66",
      "name": "nate-Asterix-PBX_OsDisk_1_46551c1fdf0b4e11b543e6030b7aef66",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "StandardSSD_LRS",
        "tier": "Standard"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nate-Asterix-PBX",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/nateWindows10-2_disk1_b25431e810a74b249835f70785042439",
      "name": "nateWindows10-2_disk1_b25431e810a74b249835f70785042439",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "StandardSSD_LRS",
        "tier": "Standard"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nateWindows10-2",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/nateWindows10_disk1_b4179f6f40b54cdeb937414c33e3d962",
      "name": "nateWindows10_disk1_b4179f6f40b54cdeb937414c33e3d962",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nateWindows10",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/SCCM_disk1_add2ec16cdb0456894020619f4b592df",
      "name": "SCCM_disk1_add2ec16cdb0456894020619f4b592df",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/SCCM",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test10_disk1_c88fa55f10d640c884914b6b52923b7a",
      "name": "Test10_disk1_c88fa55f10d640c884914b6b52923b7a",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test10",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test12_disk1_71cf2c8c09244ed682a6741ac86021b6",
      "name": "Test12_disk1_71cf2c8c09244ed682a6741ac86021b6",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test12",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test2_disk1_1d5f223ffc044fbd86aa8d32db5eaba0",
      "name": "Test2_disk1_1d5f223ffc044fbd86aa8d32db5eaba0",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test2",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test5_disk1_a659c18216564d02aa5c52b38af38777",
      "name": "Test5_disk1_a659c18216564d02aa5c52b38af38777",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test5",
      "location": "uksouth"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test6_OsDisk_1_1a62e25c93e64b5d8ec443cf88aaa47c",
      "name": "Test6_OsDisk_1_1a62e25c93e64b5d8ec443cf88aaa47c",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test6",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test7_OsDisk_1_131651aab06647169ebf048d614099b9",
      "name": "Test7_OsDisk_1_131651aab06647169ebf048d614099b9",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test7",
      "location": "eastus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test8_disk1_ce24522acc56430a8be2dfc0b791d0d1",
      "name": "Test8_disk1_ce24522acc56430a8be2dfc0b791d0d1",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test8",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test9_OsDisk_1_8a86e6dc03bd449489a980af6fb332f2",
      "name": "Test9_OsDisk_1_8a86e6dc03bd449489a980af6fb332f2",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test9",
      "location": "japaneast"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Ubuntu18_disk1_8b2de47132764c8fad65442fde2b59a9",
      "name": "Ubuntu18_disk1_8b2de47132764c8fad65442fde2b59a9",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Ubuntu18",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/ubuntuServer1804_OsDisk_1_176fa8b0529945208eb554804c5f5f7b",
      "name": "ubuntuServer1804_OsDisk_1_176fa8b0529945208eb554804c5f5f7b",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "StandardSSD_LRS",
        "tier": "Standard"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/ubuntuServer1804",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/disks/vsocket-32548",
      "name": "vsocket-32548",
      "type": "Microsoft.Compute/disks",
      "sku": {
        "name": "Standard_LRS",
        "tier": "Standard"
      },
      "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket",
      "location": "westus2",
      "tags": {}
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/sshPublicKeys/Ubuntu18_key",
      "name": "Ubuntu18_key",
      "type": "Microsoft.Compute/sshPublicKeys",
      "location": "westus2",
      "tags": {}
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket",
      "name": "AzurevSocket",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2",
      "tags": {
        "Owner": "Nate Anderson",
        "Created": "11/14/2020 12:02:27 AM",
        "ObjectId": "91fae75d527f4782963966bc5b18dbde"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket/extensions/AzureNetworkWatcherExtension",
      "name": "AzurevSocket/AzureNetworkWatcherExtension",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket/extensions/CustomScript",
      "name": "AzurevSocket/CustomScript",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket/extensions/LinuxDiagnostic",
      "name": "AzurevSocket/LinuxDiagnostic",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/DC-Win2019",
      "name": "DC-Win2019",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2",
      "tags": {
        "ObjectId": "91fae75d527f4782963966bc5b18dbde",
        "Owner": "Nate Anderson",
        "Created": "11/14/2020 12:06:42 AM"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/DC-Win2019/extensions/AzureNetworkWatcherExtension",
      "name": "DC-Win2019/AzureNetworkWatcherExtension",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/virtualMachines/DC-Win2019/extensions/enablevmaccess",
      "name": "DC-Win2019/enablevmaccess",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "westus2",
      "tags": {
        "Created": "11/13/2020 7:32:37 PM",
        "Owner": "Nate Anderson",
        "ObjectId": "91fae75d527f4782963966bc5b18dbde"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nate-Asterix-PBX",
      "name": "nate-Asterix-PBX",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/SCCM",
      "name": "SCCM",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/SCCM/extensions/enablevmaccess",
      "name": "SCCM/enablevmaccess",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test10",
      "name": "Test10",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2",
      "tags": {
        "Started": "12/3/2020 7:00:42 AM",
        "MaxUptime": "24"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test11",
      "name": "Test11",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2",
      "tags": {
        "Started": "12/3/2020 9:00:42 PM",
        "MaxUptime": "24"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test12",
      "name": "Test12",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2",
      "tags": {
        "Owner": "Nate Anderson",
        "Role": "Manager",
        "MaxUptime": "24",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325",
        "Created": "12/3/2020 11:00:32 PM",
        "Started": "12/3/2020 11:00:32 PM"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test2",
      "name": "Test2",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2",
      "tags": {
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325",
        "Created": "11/30/2020 11:54:46 PM",
        "Owner": "Nate Anderson",
        "Role": "Manager",
        "MaxUptime": "24"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test5",
      "name": "Test5",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "uksouth",
      "tags": {
        "MaxUptime": "48",
        "Created": "12/2/2020 12:35:03 AM",
        "Started": "12/2/2020 12:35:03 AM",
        "Owner": "Nate Anderson",
        "Role": "Manager",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test6",
      "name": "Test6",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2",
      "tags": {
        "MaxUptime": "0",
        "Created": "12/2/2020 12:33:59 AM",
        "Started": "12/2/2020 12:33:59 AM",
        "Owner": "Nate Anderson",
        "Role": "Manager",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test7",
      "name": "Test7",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "eastus2",
      "tags": {
        "MaxUptime": "24"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test8",
      "name": "Test8",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2",
      "tags": {
        "MaxUptime": "24"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test9",
      "name": "Test9",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "japaneast",
      "tags": {
        "Role": "Manager",
        "Owner": "Nate Anderson",
        "MaxUptime": "24",
        "Created": "12/3/2020 9:32:16 PM",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Ubuntu18",
      "name": "Ubuntu18",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Ubuntu18/extensions/enablevmaccess",
      "name": "Ubuntu18/enablevmaccess",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/ubuntuServer1804",
      "name": "ubuntuServer1804",
      "type": "Microsoft.Compute/virtualMachines",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-AzurevSocket",
      "name": "shutdown-computevm-AzurevSocket",
      "type": "Microsoft.DevTestLab/schedules",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-DC-Win2019",
      "name": "shutdown-computevm-DC-Win2019",
      "type": "Microsoft.DevTestLab/schedules",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-nate-Asterix-PBX",
      "name": "shutdown-computevm-nate-Asterix-PBX",
      "type": "Microsoft.DevTestLab/schedules",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-SCCM",
      "name": "shutdown-computevm-SCCM",
      "type": "Microsoft.DevTestLab/schedules",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-Ubuntu18",
      "name": "shutdown-computevm-Ubuntu18",
      "type": "Microsoft.DevTestLab/schedules",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-ubuntuServer1804",
      "name": "shutdown-computevm-ubuntuServer1804",
      "type": "Microsoft.DevTestLab/schedules",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/connections/nate-ikev2",
      "name": "nate-ikev2",
      "type": "Microsoft.Network/connections",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/localNetworkGateways/nate-LNG",
      "name": "nate-LNG",
      "type": "Microsoft.Network/localNetworkGateways",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/dc-win201939",
      "name": "dc-win201939",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-asterix-pbx328",
      "name": "nate-asterix-pbx328",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-LAN1-interface",
      "name": "nate-LAN1-interface",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2",
      "tags": {}
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-MGMT-interface",
      "name": "nate-MGMT-interface",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2",
      "tags": {}
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-WAN-interface",
      "name": "nate-WAN-interface",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2",
      "tags": {}
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/natewindows10684",
      "name": "natewindows10684",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/natewindows10-2422",
      "name": "natewindows10-2422",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/sccm148",
      "name": "sccm148",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test10329",
      "name": "test10329",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test1244",
      "name": "test1244",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2",
      "tags": {
        "Started": "11/30/2020 8:47:33 PM",
        "Role": "Manager",
        "Created": "11/30/2020 8:47:33 PM",
        "MaxUptime": "24",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325",
        "Owner": "Nate Anderson"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test12609",
      "name": "test12609",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test2979",
      "name": "test2979",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2",
      "tags": {
        "Started": "11/30/2020 11:54:22 PM",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325",
        "Created": "11/30/2020 11:54:22 PM",
        "Owner": "Nate Anderson",
        "Role": "Manager",
        "MaxUptime": "24"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test5660",
      "name": "test5660",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "uksouth"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test6559",
      "name": "test6559",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test7693",
      "name": "test7693",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "eastus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test8852",
      "name": "test8852",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test9120",
      "name": "test9120",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "japaneast"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/ubuntu18746",
      "name": "ubuntu18746",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/ubuntuserver1804810",
      "name": "ubuntuserver1804810",
      "type": "Microsoft.Network/networkInterfaces",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/DC-Win2019-nsg",
      "name": "DC-Win2019-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/nate-Asterix-PBX-nsg",
      "name": "nate-Asterix-PBX-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/nateWindows10-2-nsg",
      "name": "nateWindows10-2-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/nateWindows10-nsg",
      "name": "nateWindows10-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/SCCM-nsg",
      "name": "SCCM-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test10-nsg",
      "name": "Test10-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test11-nsg",
      "name": "Test11-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test12-nsg",
      "name": "Test12-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test1-nsg",
      "name": "Test1-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2",
      "tags": {
        "Started": "11/30/2020 8:48:24 PM",
        "Role": "Manager",
        "Created": "11/30/2020 8:48:24 PM",
        "MaxUptime": "24",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325",
        "Owner": "Nate Anderson"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test2-nsg",
      "name": "Test2-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2",
      "tags": {
        "Started": "11/30/2020 11:53:50 PM",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325",
        "Created": "11/30/2020 11:53:50 PM",
        "Owner": "Nate Anderson",
        "Role": "Manager",
        "MaxUptime": "24"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test5-nsg",
      "name": "Test5-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "uksouth"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test6-nsg",
      "name": "Test6-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test7-nsg",
      "name": "Test7-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "eastus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test8-nsg",
      "name": "Test8-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test9-nsg",
      "name": "Test9-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "japaneast"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Ubuntu18-nsg",
      "name": "Ubuntu18-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/ubuntuServer1804-nsg",
      "name": "ubuntuServer1804-nsg",
      "type": "Microsoft.Network/networkSecurityGroups",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nate-Asterix-PBX-ip",
      "name": "nate-Asterix-PBX-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nate-ikev2-public-IP",
      "name": "nate-ikev2-public-IP",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nate-VNG-Public-IP",
      "name": "nate-VNG-Public-IP",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nateWindows10-2-ip",
      "name": "nateWindows10-2-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nateWindows10-ip",
      "name": "nateWindows10-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/SCCM-ip",
      "name": "SCCM-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test10-ip",
      "name": "Test10-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test11-ip",
      "name": "Test11-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test12-ip",
      "name": "Test12-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test1-ip",
      "name": "Test1-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2",
      "tags": {
        "Created": "11/30/2020 8:50:17 PM",
        "MaxUptime": "24",
        "Started": "11/30/2020 8:50:17 PM",
        "Role": "Manager",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325",
        "Owner": "Nate Anderson"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test2-ip",
      "name": "Test2-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2",
      "tags": {
        "Started": "11/30/2020 11:54:14 PM",
        "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325",
        "Created": "11/30/2020 11:54:14 PM",
        "Owner": "Nate Anderson",
        "Role": "Manager",
        "MaxUptime": "24"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test5-ip",
      "name": "Test5-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "uksouth"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test6-ip",
      "name": "Test6-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test7-ip",
      "name": "Test7-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "eastus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test8-ip",
      "name": "Test8-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test9-ip",
      "name": "Test9-ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "japaneast"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/u1804_public_ip",
      "name": "u1804_public_ip",
      "type": "Microsoft.Network/publicIPAddresses",
      "sku": {
        "name": "Basic"
      },
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/routeTables/nate-ikev2-RT",
      "name": "nate-ikev2-RT",
      "type": "Microsoft.Network/routeTables",
      "location": "westus2",
      "tags": {}
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/routeTables/nate-RT",
      "name": "nate-RT",
      "type": "Microsoft.Network/routeTables",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworkGateways/nate-ikev2-VNG",
      "name": "nate-ikev2-VNG",
      "type": "Microsoft.Network/virtualNetworkGateways",
      "location": "westus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/nate-vn",
      "name": "nate-vn",
      "type": "Microsoft.Network/virtualNetworks",
      "location": "westus2",
      "tags": {}
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/nate-vnet",
      "name": "nate-vnet",
      "type": "Microsoft.Network/virtualNetworks",
      "location": "eastus",
      "tags": {
        "Owner": "Nate Anderson",
        "Created": "11/12/2020 1:44:50 AM",
        "ObjectId": "91fae75d527f4782963966bc5b18dbde"
      }
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/natevnet537",
      "name": "natevnet537",
      "type": "Microsoft.Network/virtualNetworks",
      "location": "japaneast"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/natevnet551",
      "name": "natevnet551",
      "type": "Microsoft.Network/virtualNetworks",
      "location": "uksouth"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/natevnet717",
      "name": "natevnet717",
      "type": "Microsoft.Network/virtualNetworks",
      "location": "eastus2"
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Storage/storageAccounts/natecato",
      "name": "natecato",
      "type": "Microsoft.Storage/storageAccounts",
      "sku": {
        "name": "Standard_RAGRS",
        "tier": "Standard"
      },
      "kind": "StorageV2",
      "location": "westus2",
      "tags": {}
    },
    {
      "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Storage/storageAccounts/natesa",
      "name": "natesa",
      "type": "Microsoft.Storage/storageAccounts",
      "sku": {
        "name": "Standard_RAGRS",
        "tier": "Standard"
      },
      "kind": "StorageV2",
      "location": "westus2",
      "tags": {}
    }
  ]
}

DEBUG: AzureQoSEvent: CommandName - Get-AzResource; IsSuccess - True; Duration - 00:00:00.0883370;
DEBUG: Finish sending metric.
DEBUG: 11:22:58 PM - GetAzureResourceCmdlet end processing.

PS /home/nate> New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags
DEBUG: 11:23:33 PM - NewAzureTagCommand begin processing with ParameterSet 'CreateByResourceIdParameterSet'.
DEBUG: 11:23:33 PM - using account id 'MSI@xxxxx'...
DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@xxxxx', environment: 'AzureCloud', tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
DEBUG: [HttpClientOperations]: Adding Header 'Metadata'
DEBUG: [Common.Authentication]: Received token with LoginType 'ManagedService', Tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', UserId: 'MSI@xxxxx'
DEBUG: Checking Cache request http://localhost:xxxxx/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01
DEBUG: Cache Hit
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
PUT

Absolute Uri:
https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/providers/Microsoft.Resources/tags/default?api-version=2020-06-01

Headers:
x-ms-client-request-id        : dd17247b-24a4-43ea-adb9-34d45ba2607f
Accept-Language               : en-US

Body:
{
  "properties": {
    "tags": {
      "Dept": "Finance",
      "Status": "Normal"
    }
  }
}

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

Status Code:
NotFound

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
x-ms-failure-cause            : gateway
x-ms-request-id               : 91fc824a-c667-4471-a935-24e0bde3daf6
x-ms-correlation-request-id   : 91fc824a-c667-4471-a935-24e0bde3daf6
x-ms-routing-request-id       : WESTUS:20201203T232333Z:91fc824a-c667-4471-a935-24e0bde3daf6
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Thu, 03 Dec 2020 23:23:33 GMT

Body:
{
  "error": {
    "code": "ResourceNotFound",
    "message": "The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
  }
}

New-AzTag: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
DEBUG: AzureQoSEvent: CommandName - New-AzTag; IsSuccess - False; Duration - 00:00:00.0971012;; Exception - Microsoft.Rest.Azure.CloudException: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
   at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken)
   at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource parameters, CancellationToken cancellationToken)
   at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource parameters)
   at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters)
   at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.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: 11:23:34 PM - NewAzureTagCommand end processing.

Error output

PS /home/nate> Resolve-AzError
DEBUG: 11:24:35 PM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 11:24:35 PM - using account id 'MSI@xxxxx'...
WARNING: Upcoming breaking changes in the cmdlet 'Resolve-AzError' :
The `Resolve-Error` alias will be removed in a future release.  Please change any scripts that use this alias to use `Resolve-AzError` instead.
Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell.

   HistoryId: 28

RequestId      : 91fc824a-c667-4471-a935-24e0bde3daf6
Message        : The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to
                 https://aka.ms/ARMResourceNotFoundFix
ServerMessage  : ResourceNotFound: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to
                 https://aka.ms/ARMResourceNotFoundFix (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {NotFound}
RequestMessage : {PUT https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/
                 providers/Microsoft.Resources/tags/default?api-version=2020-06-01}
InvocationInfo : {New-AzTag}
Line           : New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags
Position       : At line:1 char:1
                 + New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx …
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters,
                 Dictionary`2 customHeaders, CancellationToken cancellationToken)
                    at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource
                 parameters, CancellationToken cancellationToken)
                    at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource
                 parameters)
                    at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters)
                    at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.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      : 28

   HistoryId: 26

RequestId      : 5c94071e-c596-4ce4-9839-27029d0d9fa5
Message        : The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to
                 https://aka.ms/ARMResourceNotFoundFix
ServerMessage  : ResourceNotFound: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to
                 https://aka.ms/ARMResourceNotFoundFix (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {NotFound}
RequestMessage : {PUT https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/
                 providers/Microsoft.Resources/tags/default?api-version=2020-06-01}
InvocationInfo : {New-AzTag}
Line           : New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags
Position       : At line:1 char:1
                 + New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx …
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters,
                 Dictionary`2 customHeaders, CancellationToken cancellationToken)
                    at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource
                 parameters, CancellationToken cancellationToken)
                    at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource
                 parameters)
                    at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters)
                    at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.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      : 26

   HistoryId: 20

RequestId      : dca2bff1-99ca-4db2-b119-fefd665bdba9
Message        : The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to
                 https://aka.ms/ARMResourceNotFoundFix
ServerMessage  : ResourceNotFound: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to
                 https://aka.ms/ARMResourceNotFoundFix (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {NotFound}
RequestMessage : {PUT https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/
                 providers/Microsoft.Resources/tags/default?api-version=2020-06-01}
InvocationInfo : {New-AzTag}
Line           : New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags
Position       : At line:1 char:1
                 + New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx …
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters,
                 Dictionary`2 customHeaders, CancellationToken cancellationToken)
                    at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource
                 parameters, CancellationToken cancellationToken)
                    at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource
                 parameters)
                    at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters)
                    at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.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      : 20

The Azure PowerShell team is listening, please let us know how we are doing: https://aka.ms/azpssurvey?Q_CHL=ERROR.

DEBUG: AzureQoSEvent: CommandName - Resolve-AzError; IsSuccess - True; Duration - 00:00:00.0339151;
DEBUG: Finish sending metric.
DEBUG: 11:24:36 PM - ResolveError end processing.
dingmeng-xue commented 3 years ago

@neanderson , local PowerShell and CloudShell are using different authentication. In CloudShell, Azure PowerShell uses system assigned MSI. If MSI doesn't work, all Azure PowerShell cmdlets cannot work in CloudShell. Could you try other cmdlet in CloudShell such as get-AzSubscription?

In addition, the result of Get-AzResource -ResourceGroupName nate -Name Test14 is empty. It means VM is not accessible in your environment.

In parallel, we will do further test to check which area have problem.

neanderson commented 3 years ago

Hi @dingmeng-xue , I did notice the different authentication methods, but if I wait some time, the Get-AzResource command starts working in Cloud Shell without restarting the session, so I figured authentication was not the problem. And I don't think it would explain why the Get-AzVM command returns a result for Test 14 at the same time. Right now the Get-AzResource command is working fine for Test14 in Cloud Shell.

Is it expected that there will be noticeable delay from when a VM is deployed to when the Az.Resource commands work?

PS /home/nate> Get-AzSubscription

Name            Id                                   TenantId                             State
----            --                                   --------                             -----
Microsoft Azure bab6f0ef-6aca-4894-9942-2e50f7cc2b43 b124ed85-f72c-46ff-b40d-edafa5f708f4 Enabled

PS /home/nate> Get-AzResource -ResourceGroupName nate -Name Test14

Name              : Test14
ResourceGroupName : nate
ResourceType      : Microsoft.Compute/virtualMachines
Location          : westus2
ResourceId        : /subscriptions/bab6f0ef-6aca-4894-9942-2e50f7cc2b43/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14
Tags              :
                    Name       Value
                    =========  =====================
                    Started    12/4/2020 12:00:36 AM
                    MaxUptime  24

PS /home/nate> Get-AzVM -ResourceGroupName nate -Name Test14 -Status

ResourceGroupName : nate
Name              : Test14
ComputerName      : Test14
OsName            : ubuntu
OsVersion         : 18.04
HyperVGeneration  : V1
BootDiagnostics   :
Disks[0]          :
  Name            : Test14_disk1_d37b395fe91b4eb69c4fcdd40b047436
  Statuses[0]     :
    Code          : ProvisioningState/succeeded
    Level         : Info
    DisplayStatus : Provisioning succeeded
    Time          : 12/3/2020 11:16:03 PM
VMAgent           :
  VmAgentVersion  : 2.2.52
  Statuses[0]     :
    Code          : ProvisioningState/succeeded
    Level         : Info
    DisplayStatus : Ready
    Message       : Guest Agent is running
    Time          : 12/4/2020 1:12:19 AM
Statuses[0]       :
  Code            : ProvisioningState/succeeded
  Level           : Info
  DisplayStatus   : Provisioning succeeded
  Time            : 12/4/2020 12:01:01 AM
Statuses[1]       :
  Code            : PowerState/running
  Level           : Info
  DisplayStatus   : VM running
neanderson commented 3 years ago

I opened a ticket with Azure Support and found out why this is happening. It's because Azure commands only run in a single region, and no matter where the VM is deployed, the VM's info must replicate to the region in which the command is run before it is successful. Right now it's taking a very long time for this info to replicate. This is a known issue and ARM PG is supposedly working on fixing it.

From Azure support:

"I got the confirmation once again from our ARM PG that they will address these kind of delays within the next months (we have quite a big project going on in this regard). The major change will be a move from Azure Storage Queues to Azure CosmosDB in order to store underlying replication data. That should then work much faster than the current design."

ghost commented 3 years ago

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

Issue Details
## Description After a new VM is deployed, there is a large delay before the Get-AzResource and New-AzTag commands start working with the VM when executed in Cloud Shell or an Azure function. This is causing a function that automatically adds tags to VMs following deployment to fail. A resource not found error is returned when the function is triggered by an operation write success event and the New-AzTag command is executed. The Get-AzVM command run in Cloud Shell shows that provisioning is successful and that the VM is running, but the Get-AzResource command doesn't return the VM and the New-AzTag command fails. Even when the commands are failing in Cloud Shell, they work when run from a local PowerShell session. The delay before the Get-AzResource and New-AzTag commands start working in Cloud Shell varies. In testing I've doing over the past several weeks, some days the delay is non-existent and other days it's 20+ minutes. **Example using Cloud Shell:** ``` PS /home/nate> Get-AzVM -ResourceGroupName nate -Name Test14 -Status ResourceGroupName : nate Name : Test14 ComputerName : Test14 OsName : ubuntu OsVersion : 18.04 HyperVGeneration : V1 BootDiagnostics : Disks[0] : Name : Test14_disk1_d37b395fe91b4eb69c4fcdd40b047436 Statuses[0] : Code : ProvisioningState/succeeded Level : Info DisplayStatus : Provisioning succeeded Time : 12/3/2020 11:16:03 PM VMAgent : VmAgentVersion : 2.2.52 Statuses[0] : Code : ProvisioningState/succeeded Level : Info DisplayStatus : Ready Message : Guest Agent is running Time : 12/3/2020 11:16:35 PM Statuses[0] : Code : ProvisioningState/succeeded Level : Info DisplayStatus : Provisioning succeeded Time : 12/3/2020 11:16:18 PM Statuses[1] : Code : PowerState/running Level : Info DisplayStatus : VM running PS /home/nate> date Thu Dec 3 23:33:43 UTC 2020 PS /home/nate> Get-AzResource -ResourceGroupName nate -Name Test14 PS /home/nate> $Tags = @{"Dept"="Finance"; "Status"="Normal"} PS /home/nate> New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags New-AzTag: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix ``` ## Steps to reproduce ```powershell 1. Deploy a new VM> 2. Run the 'Get-AzResource -ResourceGroupName -Name ' command ``` ## Environment data ``` PS /home/nate> $PSVersionTable Name Value ---- ----- PSVersion 7.0.3 PSEdition Core GitCommitId 7.0.3 OS Linux 4.15.0-1100-azure #111~16.04.1-Ubuntu SMP Thu Nov 19 06:49:21 UTC 2020 Platform Unix PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0 ``` ## Module versions ```powershell PS /home/nate> Get-Module -ListAvailable Directory: /home/nate/.local/share/powershell/Modules ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- Script 5.1.0 Az Core,Desk Script 2.2.1 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContex… Script 2.0.1 Az.Aks Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…} Script 1.0.0 Az.AppConfiguration Core,Desk {Get-AzAppConfigurationStore, Get-AzAppConfigurationStoreKey, New-AzAppConfigurationStore, New… Script 2.0.0 Az.Billing Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…} Script 1.6.0 Az.Cdn Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…} Script 1.8.0 Az.CognitiveServices Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAcc… Script 4.6.0 Az.Compute Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailability… Script 2.0.0 Az.ContainerRegistry Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContai… Script 1.0.1 Az.Databricks Core,Desk {Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace, New-AzDatabricksVNetPeering, New-AzDa… Script 1.11.1 Az.DataFactory Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…} Script 1.3.0 Az.DataLakeStore Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataL… Script 2.0.1 Az.DesktopVirtualization Core,Desk {Disconnect-AzWvdUserSession, Expand-AzWvdMsixImage, Get-AzWvdApplication, Get-AzWvdApplicatio… Script 1.7.1 Az.EventHub Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubN… Script 2.0.0 Az.Functions Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionA… Script 4.1.0 Az.HDInsight Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightSt… Script 2.7.0 Az.IotHub Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHu… Script 3.1.0 Az.KeyVault Core,Desk {Add-AzManagedHsmKey, Get-AzManagedHsmKey, Remove-AzManagedHsmKey, Undo-AzManagedHsmKeyRemoval… Script 1.4.0 Az.LogicApp Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccount… Script 2.0.0 Az.ManagedServices Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAss… Script 4.3.0 Az.Network Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCert… Script 3.0.1 Az.RecoveryServices Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaul… Script 3.0.1 Az.Resources Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…} Script 2.12.0 Az.Sql Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivit… Script 3.0.0 Az.Storage Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…} Script 2.1.0 Az.Websites Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…} Directory: /usr/local/share/powershell/Modules ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- Script 4.8.0 Az Core,Desk Script 2.1.0 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContex… Script 1.1.1 Az.Advisor Core,Desk {Get-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Disable-AzAdvisorRecommendation,… Script 1.3.0 Az.Aks Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…} Script 1.1.4 Az.AnalysisServices Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServ… Script 2.1.0 Az.ApiManagement Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductT… Script 1.1.0 Az.ApplicationInsights Core,Desk {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Update-Az… Script 1.4.0 Az.Automation Core,Desk {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobO… Script 3.1.0 Az.Batch Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…} Script 1.0.3 Az.Billing Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…} Script 1.4.3 Az.Cdn Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…} Script 1.7.0 Az.CognitiveServices Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAcc… Script 4.5.0 Az.Compute Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailability… Script 1.0.3 Az.ContainerInstance Core,Desk {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceL… Script 1.1.1 Az.ContainerRegistry Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContai… Script 1.1.0 Az.DataBoxEdge Core,Desk {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeDevice, New-AzDataBoxEdgeD… Script 1.0.0 Az.Databricks Core,Desk {Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace, New-AzDatabricksVNetPeering, New-AzDa… Script 1.10.2 Az.DataFactory Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…} Script 1.0.2 Az.DataLakeAnalytics Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLak… Script 1.2.8 Az.DataLakeStore Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataL… Script 1.0.0 Az.DataShare Core,Desk {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAccount, New-AzDataShare…} Script 1.1.0 Az.DeploymentManager Core,Desk {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymen… Script 1.0.0 Az.DesktopVirtualization Core,Desk {Disconnect-AzWvdUserSession, Get-AzWvdApplication, Get-AzWvdApplicationGroup, Get-AzWvdDeskto… Script 1.0.2 Az.DevTestLabs Core,Desk {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzD… Script 1.1.2 Az.Dns Core,Desk {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet…} Script 1.3.0 Az.EventGrid Core,Desk {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey…} Script 1.7.0 Az.EventHub Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubN… Script 1.6.1 Az.FrontDoor Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor…} Script 1.0.2 Az.Functions Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionA… Script 0.10.8 Az.GuestConfiguration Core,Desk {Get-AzVMGuestPolicyStatus, Get-AzVMGuestPolicyStatusHistory} Script 3.6.1 Az.HDInsight Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightSt… Script 1.1.0 Az.HealthcareApis Core,Desk {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get… Script 2.6.0 Az.IotHub Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHu… Script 2.2.1 Az.KeyVault Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation,… Script 1.0.0 Az.Kusto Core,Desk {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, Get-AzKustoAttachedDatabas… Script 1.3.2 Az.LogicApp Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccount… Script 1.1.3 Az.MachineLearning Core,Desk {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHis… Script 1.1.0 Az.Maintenance Core,Desk {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaint… Script 1.1.1 Az.ManagedServices Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAss… Script 1.0.2 Az.MarketplaceOrdering Core,Desk {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms} Script 1.1.1 Az.Media Core,Desk {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServi… Script 2.2.0 Az.Monitor Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…} Script 3.5.0 Az.Network Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCert… Script 1.1.1 Az.NotificationHubs Core,Desk {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, … Script 2.3.0 Az.OperationalInsights Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSo… Script 1.3.1 Az.PolicyInsights Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…} Script 1.1.2 Az.PowerBIEmbedded Core,Desk {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspace… Script 1.0.3 Az.PrivateDns Core,Desk {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone…} Script 2.12.2 Az.RecoveryServices Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaul… Script 1.4.0 Az.RedisCache Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedul… Script 1.0.3 Az.Relay Core,Desk {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace…} Script 2.5.1 Az.Resources Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…} Script 1.4.1 Az.ServiceBus Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzSer… Script 2.2.0 Az.ServiceFabric Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFab… Script 1.2.0 Az.SignalR Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…} Script 2.11.0 Az.Sql Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivit… Script 1.1.0 Az.SqlVirtualMachine Core,Desk {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlVM, Remove-AzSqlVM…} Script 2.7.0 Az.Storage Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…} Script 1.3.0 Az.StorageSync Core,Desk {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, S… Script 1.0.1 Az.StreamAnalytics Core,Desk {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAn… Script 1.0.0 Az.Support Core,Desk {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupportTicket, Get-AzSupportT… Script 1.0.4 Az.TrafficManager Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, … Script 1.11.0 Az.Websites Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…} Script 0.0.0.10 AzureAD.Standard.Preview Desk {Set-AzureADUserThumbnailPhoto, Remove-AzureADApplicationProxyApplication, New-AzureADMSGroupL… Script 0.9.3 AzurePSDrive Desk Script 17.0.4716… EXOPSSessionConnector Desk Connect-EXOPSSession Binary 0.1.1 Microsoft.PowerShell.UnixCompleters Core {Import-UnixCompleters, Remove-UnixCompleters, Set-UnixCompleter} Manifest 1.0.840 MicrosoftPowerBIMgmt Desk Binary 1.0.840 MicrosoftPowerBIMgmt.Admin Desk {Add-PowerBIEncryptionKey, Get-PowerBIEncryptionKey, Get-PowerBIWorkspaceEncryptionStatus, Swi… Binary 1.0.840 MicrosoftPowerBIMgmt.Capacities Desk Get-PowerBICapacity Binary 1.0.840 MicrosoftPowerBIMgmt.Data Desk {Add-PowerBIDataset, Set-PowerBITable, New-PowerBIDataset, New-PowerBITable…} Binary 1.0.840 MicrosoftPowerBIMgmt.Profile Desk {Connect-PowerBIServiceAccount, Disconnect-PowerBIServiceAccount, Invoke-PowerBIRestMethod, Ge… Binary 1.0.840 MicrosoftPowerBIMgmt.Reports Desk {Get-PowerBIReport, New-PowerBIReport, Export-PowerBIReport, Get-PowerBIDashboard…} Binary 1.0.840 MicrosoftPowerBIMgmt.Workspaces Desk {Get-PowerBIWorkspace, Get-PowerBIWorkspaceMigrationStatus, Add-PowerBIWorkspaceUser, Remove-P… Binary 1.1.4 MicrosoftTeams Core,Desk {Add-TeamUser, Connect-MicrosoftTeams, Disconnect-MicrosoftTeams, Get-CsPolicyPackage…} Script 0.9.3 PSCloudShellUtility Desk {Enter-AzVM, Get-AzCommand, Invoke-AzVMCommand, Enable-AzVMPSRemoting…} Binary 0.8.1 SHiPS Desk Script 21.1.18226 SqlServer Desk {Add-RoleMember, Add-SqlAvailabilityDatabase, Add-SqlAvailabilityGroupListenerStaticIp, Add-Sq… Directory: /opt/microsoft/powershell/7/Modules ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- Manifest 1.2.5 Microsoft.PowerShell.Archive Desk {Compress-Archive, Expand-Archive} 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, Clear-ItemProperty, Join-Path…} Manifest 7.0.0.0 Microsoft.PowerShell.Security Core {Get-Credential, Get-ExecutionPolicy, Set-ExecutionPolicy, ConvertFrom-SecureString…} Manifest 7.0.0.0 Microsoft.PowerShell.Utility Core {Export-Alias, Get-Alias, Import-Alias, New-Alias…} Script 1.4.7 PackageManagement Desk {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource…} Script 2.2.4.1 PowerShellGet Desk {Find-Command, Find-DSCResource, Find-Module, Find-RoleCapability…} Script 2.0.5 PSDesiredStateConfiguration Core {Configuration, New-DscChecksum, Get-DscResource, Invoke-DscResource} Script 2.0.2 PSReadLine Desk {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLi… Binary 2.0.3 ThreadJob Desk Start-ThreadJob ``` ## Debug output ``` PS /home/nate> Get-AzResource -ResourceGroupName nate -Name Test14 DEBUG: 11:22:57 PM - GetAzureResourceCmdlet begin processing with ParameterSet 'ByTagNameValueParameterSet'. DEBUG: 11:22:57 PM - using account id 'MSI@xxxxx'... DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@xxxxx', environment: 'AzureCloud', tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' DEBUG: [HttpClientOperations]: Adding Header 'Metadata' DEBUG: [Common.Authentication]: Received token with LoginType 'ManagedService', Tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', UserId: 'MSI@xxxxx' DEBUG: Checking Cache request http://localhost:xxxxx/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01 DEBUG: Cache Hit DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: GET Absolute Uri: https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/resources?api-version=2020-06-01 Headers: x-ms-client-request-id : d80c01ff-3445-4459-bce1-48ddf6929714 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: 11998 x-ms-request-id : 19bd5d0b-3732-4a7a-9910-f3b842e90ed4 x-ms-correlation-request-id : 19bd5d0b-3732-4a7a-9910-f3b842e90ed4 x-ms-routing-request-id : WESTUS:20201203T232257Z:19bd5d0b-3732-4a7a-9910-f3b842e90ed4 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Date : Thu, 03 Dec 2020 23:22:57 GMT Body: { "value": [ { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/DC-Win2019_disk1_838ed882e1dc451db72cd3980f3a25fd", "name": "DC-Win2019_disk1_838ed882e1dc451db72cd3980f3a25fd", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/DC-Win2019", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/nate-Asterix-PBX_OsDisk_1_46551c1fdf0b4e11b543e6030b7aef66", "name": "nate-Asterix-PBX_OsDisk_1_46551c1fdf0b4e11b543e6030b7aef66", "type": "Microsoft.Compute/disks", "sku": { "name": "StandardSSD_LRS", "tier": "Standard" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nate-Asterix-PBX", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/nateWindows10-2_disk1_b25431e810a74b249835f70785042439", "name": "nateWindows10-2_disk1_b25431e810a74b249835f70785042439", "type": "Microsoft.Compute/disks", "sku": { "name": "StandardSSD_LRS", "tier": "Standard" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nateWindows10-2", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/nateWindows10_disk1_b4179f6f40b54cdeb937414c33e3d962", "name": "nateWindows10_disk1_b4179f6f40b54cdeb937414c33e3d962", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nateWindows10", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/SCCM_disk1_add2ec16cdb0456894020619f4b592df", "name": "SCCM_disk1_add2ec16cdb0456894020619f4b592df", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/SCCM", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test10_disk1_c88fa55f10d640c884914b6b52923b7a", "name": "Test10_disk1_c88fa55f10d640c884914b6b52923b7a", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test10", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test12_disk1_71cf2c8c09244ed682a6741ac86021b6", "name": "Test12_disk1_71cf2c8c09244ed682a6741ac86021b6", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test12", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test2_disk1_1d5f223ffc044fbd86aa8d32db5eaba0", "name": "Test2_disk1_1d5f223ffc044fbd86aa8d32db5eaba0", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test2", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test5_disk1_a659c18216564d02aa5c52b38af38777", "name": "Test5_disk1_a659c18216564d02aa5c52b38af38777", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test5", "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test6_OsDisk_1_1a62e25c93e64b5d8ec443cf88aaa47c", "name": "Test6_OsDisk_1_1a62e25c93e64b5d8ec443cf88aaa47c", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test6", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test7_OsDisk_1_131651aab06647169ebf048d614099b9", "name": "Test7_OsDisk_1_131651aab06647169ebf048d614099b9", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test7", "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test8_disk1_ce24522acc56430a8be2dfc0b791d0d1", "name": "Test8_disk1_ce24522acc56430a8be2dfc0b791d0d1", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test8", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test9_OsDisk_1_8a86e6dc03bd449489a980af6fb332f2", "name": "Test9_OsDisk_1_8a86e6dc03bd449489a980af6fb332f2", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test9", "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Ubuntu18_disk1_8b2de47132764c8fad65442fde2b59a9", "name": "Ubuntu18_disk1_8b2de47132764c8fad65442fde2b59a9", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Ubuntu18", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/ubuntuServer1804_OsDisk_1_176fa8b0529945208eb554804c5f5f7b", "name": "ubuntuServer1804_OsDisk_1_176fa8b0529945208eb554804c5f5f7b", "type": "Microsoft.Compute/disks", "sku": { "name": "StandardSSD_LRS", "tier": "Standard" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/ubuntuServer1804", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/disks/vsocket-32548", "name": "vsocket-32548", "type": "Microsoft.Compute/disks", "sku": { "name": "Standard_LRS", "tier": "Standard" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/sshPublicKeys/Ubuntu18_key", "name": "Ubuntu18_key", "type": "Microsoft.Compute/sshPublicKeys", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket", "name": "AzurevSocket", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "Owner": "Nate Anderson", "Created": "11/14/2020 12:02:27 AM", "ObjectId": "91fae75d527f4782963966bc5b18dbde" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket/extensions/AzureNetworkWatcherExtension", "name": "AzurevSocket/AzureNetworkWatcherExtension", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket/extensions/CustomScript", "name": "AzurevSocket/CustomScript", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket/extensions/LinuxDiagnostic", "name": "AzurevSocket/LinuxDiagnostic", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/DC-Win2019", "name": "DC-Win2019", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "ObjectId": "91fae75d527f4782963966bc5b18dbde", "Owner": "Nate Anderson", "Created": "11/14/2020 12:06:42 AM" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/DC-Win2019/extensions/AzureNetworkWatcherExtension", "name": "DC-Win2019/AzureNetworkWatcherExtension", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/virtualMachines/DC-Win2019/extensions/enablevmaccess", "name": "DC-Win2019/enablevmaccess", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2", "tags": { "Created": "11/13/2020 7:32:37 PM", "Owner": "Nate Anderson", "ObjectId": "91fae75d527f4782963966bc5b18dbde" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nate-Asterix-PBX", "name": "nate-Asterix-PBX", "type": "Microsoft.Compute/virtualMachines", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/SCCM", "name": "SCCM", "type": "Microsoft.Compute/virtualMachines", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/SCCM/extensions/enablevmaccess", "name": "SCCM/enablevmaccess", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test10", "name": "Test10", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "Started": "12/3/2020 7:00:42 AM", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test11", "name": "Test11", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "Started": "12/3/2020 9:00:42 PM", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test12", "name": "Test12", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "12/3/2020 11:00:32 PM", "Started": "12/3/2020 11:00:32 PM" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test2", "name": "Test2", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "11/30/2020 11:54:46 PM", "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test5", "name": "Test5", "type": "Microsoft.Compute/virtualMachines", "location": "uksouth", "tags": { "MaxUptime": "48", "Created": "12/2/2020 12:35:03 AM", "Started": "12/2/2020 12:35:03 AM", "Owner": "Nate Anderson", "Role": "Manager", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test6", "name": "Test6", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "MaxUptime": "0", "Created": "12/2/2020 12:33:59 AM", "Started": "12/2/2020 12:33:59 AM", "Owner": "Nate Anderson", "Role": "Manager", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test7", "name": "Test7", "type": "Microsoft.Compute/virtualMachines", "location": "eastus2", "tags": { "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test8", "name": "Test8", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test9", "name": "Test9", "type": "Microsoft.Compute/virtualMachines", "location": "japaneast", "tags": { "Role": "Manager", "Owner": "Nate Anderson", "MaxUptime": "24", "Created": "12/3/2020 9:32:16 PM", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Ubuntu18", "name": "Ubuntu18", "type": "Microsoft.Compute/virtualMachines", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Ubuntu18/extensions/enablevmaccess", "name": "Ubuntu18/enablevmaccess", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/ubuntuServer1804", "name": "ubuntuServer1804", "type": "Microsoft.Compute/virtualMachines", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-AzurevSocket", "name": "shutdown-computevm-AzurevSocket", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-DC-Win2019", "name": "shutdown-computevm-DC-Win2019", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-nate-Asterix-PBX", "name": "shutdown-computevm-nate-Asterix-PBX", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-SCCM", "name": "shutdown-computevm-SCCM", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-Ubuntu18", "name": "shutdown-computevm-Ubuntu18", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-ubuntuServer1804", "name": "shutdown-computevm-ubuntuServer1804", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/connections/nate-ikev2", "name": "nate-ikev2", "type": "Microsoft.Network/connections", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/localNetworkGateways/nate-LNG", "name": "nate-LNG", "type": "Microsoft.Network/localNetworkGateways", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/dc-win201939", "name": "dc-win201939", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-asterix-pbx328", "name": "nate-asterix-pbx328", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-LAN1-interface", "name": "nate-LAN1-interface", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-MGMT-interface", "name": "nate-MGMT-interface", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-WAN-interface", "name": "nate-WAN-interface", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/natewindows10684", "name": "natewindows10684", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/natewindows10-2422", "name": "natewindows10-2422", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/sccm148", "name": "sccm148", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test10329", "name": "test10329", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test1244", "name": "test1244", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": { "Started": "11/30/2020 8:47:33 PM", "Role": "Manager", "Created": "11/30/2020 8:47:33 PM", "MaxUptime": "24", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Owner": "Nate Anderson" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test12609", "name": "test12609", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test2979", "name": "test2979", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": { "Started": "11/30/2020 11:54:22 PM", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "11/30/2020 11:54:22 PM", "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test5660", "name": "test5660", "type": "Microsoft.Network/networkInterfaces", "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test6559", "name": "test6559", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test7693", "name": "test7693", "type": "Microsoft.Network/networkInterfaces", "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test8852", "name": "test8852", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test9120", "name": "test9120", "type": "Microsoft.Network/networkInterfaces", "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/ubuntu18746", "name": "ubuntu18746", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/ubuntuserver1804810", "name": "ubuntuserver1804810", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/DC-Win2019-nsg", "name": "DC-Win2019-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/nate-Asterix-PBX-nsg", "name": "nate-Asterix-PBX-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/nateWindows10-2-nsg", "name": "nateWindows10-2-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/nateWindows10-nsg", "name": "nateWindows10-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/SCCM-nsg", "name": "SCCM-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test10-nsg", "name": "Test10-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test11-nsg", "name": "Test11-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test12-nsg", "name": "Test12-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test1-nsg", "name": "Test1-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2", "tags": { "Started": "11/30/2020 8:48:24 PM", "Role": "Manager", "Created": "11/30/2020 8:48:24 PM", "MaxUptime": "24", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Owner": "Nate Anderson" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test2-nsg", "name": "Test2-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2", "tags": { "Started": "11/30/2020 11:53:50 PM", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "11/30/2020 11:53:50 PM", "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test5-nsg", "name": "Test5-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test6-nsg", "name": "Test6-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test7-nsg", "name": "Test7-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test8-nsg", "name": "Test8-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test9-nsg", "name": "Test9-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Ubuntu18-nsg", "name": "Ubuntu18-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/ubuntuServer1804-nsg", "name": "ubuntuServer1804-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nate-Asterix-PBX-ip", "name": "nate-Asterix-PBX-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nate-ikev2-public-IP", "name": "nate-ikev2-public-IP", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nate-VNG-Public-IP", "name": "nate-VNG-Public-IP", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nateWindows10-2-ip", "name": "nateWindows10-2-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nateWindows10-ip", "name": "nateWindows10-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/SCCM-ip", "name": "SCCM-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test10-ip", "name": "Test10-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test11-ip", "name": "Test11-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test12-ip", "name": "Test12-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test1-ip", "name": "Test1-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2", "tags": { "Created": "11/30/2020 8:50:17 PM", "MaxUptime": "24", "Started": "11/30/2020 8:50:17 PM", "Role": "Manager", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Owner": "Nate Anderson" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test2-ip", "name": "Test2-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2", "tags": { "Started": "11/30/2020 11:54:14 PM", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "11/30/2020 11:54:14 PM", "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test5-ip", "name": "Test5-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test6-ip", "name": "Test6-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test7-ip", "name": "Test7-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test8-ip", "name": "Test8-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test9-ip", "name": "Test9-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/u1804_public_ip", "name": "u1804_public_ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/routeTables/nate-ikev2-RT", "name": "nate-ikev2-RT", "type": "Microsoft.Network/routeTables", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/routeTables/nate-RT", "name": "nate-RT", "type": "Microsoft.Network/routeTables", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworkGateways/nate-ikev2-VNG", "name": "nate-ikev2-VNG", "type": "Microsoft.Network/virtualNetworkGateways", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/nate-vn", "name": "nate-vn", "type": "Microsoft.Network/virtualNetworks", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/nate-vnet", "name": "nate-vnet", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "tags": { "Owner": "Nate Anderson", "Created": "11/12/2020 1:44:50 AM", "ObjectId": "91fae75d527f4782963966bc5b18dbde" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/natevnet537", "name": "natevnet537", "type": "Microsoft.Network/virtualNetworks", "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/natevnet551", "name": "natevnet551", "type": "Microsoft.Network/virtualNetworks", "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/natevnet717", "name": "natevnet717", "type": "Microsoft.Network/virtualNetworks", "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Storage/storageAccounts/natecato", "name": "natecato", "type": "Microsoft.Storage/storageAccounts", "sku": { "name": "Standard_RAGRS", "tier": "Standard" }, "kind": "StorageV2", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Storage/storageAccounts/natesa", "name": "natesa", "type": "Microsoft.Storage/storageAccounts", "sku": { "name": "Standard_RAGRS", "tier": "Standard" }, "kind": "StorageV2", "location": "westus2", "tags": {} } ] } DEBUG: AzureQoSEvent: CommandName - Get-AzResource; IsSuccess - True; Duration - 00:00:00.0883370; DEBUG: Finish sending metric. DEBUG: 11:22:58 PM - GetAzureResourceCmdlet end processing. PS /home/nate> New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags DEBUG: 11:23:33 PM - NewAzureTagCommand begin processing with ParameterSet 'CreateByResourceIdParameterSet'. DEBUG: 11:23:33 PM - using account id 'MSI@xxxxx'... DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@xxxxx', environment: 'AzureCloud', tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' DEBUG: [HttpClientOperations]: Adding Header 'Metadata' DEBUG: [Common.Authentication]: Received token with LoginType 'ManagedService', Tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', UserId: 'MSI@xxxxx' DEBUG: Checking Cache request http://localhost:xxxxx/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01 DEBUG: Cache Hit DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: PUT Absolute Uri: https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/providers/Microsoft.Resources/tags/default?api-version=2020-06-01 Headers: x-ms-client-request-id : dd17247b-24a4-43ea-adb9-34d45ba2607f Accept-Language : en-US Body: { "properties": { "tags": { "Dept": "Finance", "Status": "Normal" } } } DEBUG: ============================ HTTP RESPONSE ============================ Status Code: NotFound Headers: Cache-Control : no-cache Pragma : no-cache x-ms-failure-cause : gateway x-ms-request-id : 91fc824a-c667-4471-a935-24e0bde3daf6 x-ms-correlation-request-id : 91fc824a-c667-4471-a935-24e0bde3daf6 x-ms-routing-request-id : WESTUS:20201203T232333Z:91fc824a-c667-4471-a935-24e0bde3daf6 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Date : Thu, 03 Dec 2020 23:23:33 GMT Body: { "error": { "code": "ResourceNotFound", "message": "The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix" } } New-AzTag: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix DEBUG: AzureQoSEvent: CommandName - New-AzTag; IsSuccess - False; Duration - 00:00:00.0971012;; Exception - Microsoft.Rest.Azure.CloudException: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource parameters, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource parameters) at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters) at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.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: 11:23:34 PM - NewAzureTagCommand end processing. ``` ## Error output ``` PS /home/nate> Resolve-AzError DEBUG: 11:24:35 PM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'. DEBUG: 11:24:35 PM - using account id 'MSI@xxxxx'... WARNING: Upcoming breaking changes in the cmdlet 'Resolve-AzError' : The `Resolve-Error` alias will be removed in a future release. Please change any scripts that use this alias to use `Resolve-AzError` instead. Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell. HistoryId: 28 RequestId : 91fc824a-c667-4471-a935-24e0bde3daf6 Message : The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix ServerMessage : ResourceNotFound: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError]) ServerResponse : {NotFound} RequestMessage : {PUT https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/ providers/Microsoft.Resources/tags/default?api-version=2020-06-01} InvocationInfo : {New-AzTag} Line : New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags Position : At line:1 char:1 + New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StackTrace : at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource parameters, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource parameters) at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters) at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.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 : 28 HistoryId: 26 RequestId : 5c94071e-c596-4ce4-9839-27029d0d9fa5 Message : The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix ServerMessage : ResourceNotFound: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError]) ServerResponse : {NotFound} RequestMessage : {PUT https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/ providers/Microsoft.Resources/tags/default?api-version=2020-06-01} InvocationInfo : {New-AzTag} Line : New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags Position : At line:1 char:1 + New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StackTrace : at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource parameters, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource parameters) at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters) at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.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 : 26 HistoryId: 20 RequestId : dca2bff1-99ca-4db2-b119-fefd665bdba9 Message : The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix ServerMessage : ResourceNotFound: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError]) ServerResponse : {NotFound} RequestMessage : {PUT https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/ providers/Microsoft.Resources/tags/default?api-version=2020-06-01} InvocationInfo : {New-AzTag} Line : New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags Position : At line:1 char:1 + New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StackTrace : at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource parameters, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource parameters) at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters) at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.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 : 20 The Azure PowerShell team is listening, please let us know how we are doing: https://aka.ms/azpssurvey?Q_CHL=ERROR. DEBUG: AzureQoSEvent: CommandName - Resolve-AzError; IsSuccess - True; Duration - 00:00:00.0339151; DEBUG: Finish sending metric. DEBUG: 11:24:36 PM - ResolveError end processing. ```
Author: neanderson
Assignees: -
Labels: `Compute - VM`, `Service Attention`, `customer-reported`, `question`
Milestone: -
dingmeng-xue commented 3 years ago

Adding compute team

Compute team, do you know whether there is latency?

axayjo commented 3 years ago

@avirishuv, @jaylabell, can you please look into this issue?

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.

Issue Details
## Description After a new VM is deployed, there is a large delay before the Get-AzResource and New-AzTag commands start working with the VM when executed in Cloud Shell or an Azure function. This is causing a function that automatically adds tags to VMs following deployment to fail. A resource not found error is returned when the function is triggered by an operation write success event and the New-AzTag command is executed. The Get-AzVM command run in Cloud Shell shows that provisioning is successful and that the VM is running, but the Get-AzResource command doesn't return the VM and the New-AzTag command fails. Even when the commands are failing in Cloud Shell, they work when run from a local PowerShell session. The delay before the Get-AzResource and New-AzTag commands start working in Cloud Shell varies. In testing I've doing over the past several weeks, some days the delay is non-existent and other days it's 20+ minutes. **Example using Cloud Shell:** ``` PS /home/nate> Get-AzVM -ResourceGroupName nate -Name Test14 -Status ResourceGroupName : nate Name : Test14 ComputerName : Test14 OsName : ubuntu OsVersion : 18.04 HyperVGeneration : V1 BootDiagnostics : Disks[0] : Name : Test14_disk1_d37b395fe91b4eb69c4fcdd40b047436 Statuses[0] : Code : ProvisioningState/succeeded Level : Info DisplayStatus : Provisioning succeeded Time : 12/3/2020 11:16:03 PM VMAgent : VmAgentVersion : 2.2.52 Statuses[0] : Code : ProvisioningState/succeeded Level : Info DisplayStatus : Ready Message : Guest Agent is running Time : 12/3/2020 11:16:35 PM Statuses[0] : Code : ProvisioningState/succeeded Level : Info DisplayStatus : Provisioning succeeded Time : 12/3/2020 11:16:18 PM Statuses[1] : Code : PowerState/running Level : Info DisplayStatus : VM running PS /home/nate> date Thu Dec 3 23:33:43 UTC 2020 PS /home/nate> Get-AzResource -ResourceGroupName nate -Name Test14 PS /home/nate> $Tags = @{"Dept"="Finance"; "Status"="Normal"} PS /home/nate> New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags New-AzTag: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix ``` ## Steps to reproduce ```powershell 1. Deploy a new VM> 2. Run the 'Get-AzResource -ResourceGroupName -Name ' command ``` ## Environment data ``` PS /home/nate> $PSVersionTable Name Value ---- ----- PSVersion 7.0.3 PSEdition Core GitCommitId 7.0.3 OS Linux 4.15.0-1100-azure #111~16.04.1-Ubuntu SMP Thu Nov 19 06:49:21 UTC 2020 Platform Unix PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0 ``` ## Module versions ```powershell PS /home/nate> Get-Module -ListAvailable Directory: /home/nate/.local/share/powershell/Modules ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- Script 5.1.0 Az Core,Desk Script 2.2.1 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContex… Script 2.0.1 Az.Aks Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…} Script 1.0.0 Az.AppConfiguration Core,Desk {Get-AzAppConfigurationStore, Get-AzAppConfigurationStoreKey, New-AzAppConfigurationStore, New… Script 2.0.0 Az.Billing Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…} Script 1.6.0 Az.Cdn Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…} Script 1.8.0 Az.CognitiveServices Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAcc… Script 4.6.0 Az.Compute Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailability… Script 2.0.0 Az.ContainerRegistry Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContai… Script 1.0.1 Az.Databricks Core,Desk {Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace, New-AzDatabricksVNetPeering, New-AzDa… Script 1.11.1 Az.DataFactory Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…} Script 1.3.0 Az.DataLakeStore Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataL… Script 2.0.1 Az.DesktopVirtualization Core,Desk {Disconnect-AzWvdUserSession, Expand-AzWvdMsixImage, Get-AzWvdApplication, Get-AzWvdApplicatio… Script 1.7.1 Az.EventHub Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubN… Script 2.0.0 Az.Functions Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionA… Script 4.1.0 Az.HDInsight Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightSt… Script 2.7.0 Az.IotHub Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHu… Script 3.1.0 Az.KeyVault Core,Desk {Add-AzManagedHsmKey, Get-AzManagedHsmKey, Remove-AzManagedHsmKey, Undo-AzManagedHsmKeyRemoval… Script 1.4.0 Az.LogicApp Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccount… Script 2.0.0 Az.ManagedServices Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAss… Script 4.3.0 Az.Network Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCert… Script 3.0.1 Az.RecoveryServices Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaul… Script 3.0.1 Az.Resources Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…} Script 2.12.0 Az.Sql Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivit… Script 3.0.0 Az.Storage Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…} Script 2.1.0 Az.Websites Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…} Directory: /usr/local/share/powershell/Modules ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- Script 4.8.0 Az Core,Desk Script 2.1.0 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContex… Script 1.1.1 Az.Advisor Core,Desk {Get-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Disable-AzAdvisorRecommendation,… Script 1.3.0 Az.Aks Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…} Script 1.1.4 Az.AnalysisServices Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServ… Script 2.1.0 Az.ApiManagement Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductT… Script 1.1.0 Az.ApplicationInsights Core,Desk {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Update-Az… Script 1.4.0 Az.Automation Core,Desk {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobO… Script 3.1.0 Az.Batch Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…} Script 1.0.3 Az.Billing Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…} Script 1.4.3 Az.Cdn Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…} Script 1.7.0 Az.CognitiveServices Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAcc… Script 4.5.0 Az.Compute Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailability… Script 1.0.3 Az.ContainerInstance Core,Desk {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceL… Script 1.1.1 Az.ContainerRegistry Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContai… Script 1.1.0 Az.DataBoxEdge Core,Desk {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeDevice, New-AzDataBoxEdgeD… Script 1.0.0 Az.Databricks Core,Desk {Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace, New-AzDatabricksVNetPeering, New-AzDa… Script 1.10.2 Az.DataFactory Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…} Script 1.0.2 Az.DataLakeAnalytics Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLak… Script 1.2.8 Az.DataLakeStore Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataL… Script 1.0.0 Az.DataShare Core,Desk {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAccount, New-AzDataShare…} Script 1.1.0 Az.DeploymentManager Core,Desk {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymen… Script 1.0.0 Az.DesktopVirtualization Core,Desk {Disconnect-AzWvdUserSession, Get-AzWvdApplication, Get-AzWvdApplicationGroup, Get-AzWvdDeskto… Script 1.0.2 Az.DevTestLabs Core,Desk {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzD… Script 1.1.2 Az.Dns Core,Desk {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet…} Script 1.3.0 Az.EventGrid Core,Desk {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey…} Script 1.7.0 Az.EventHub Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubN… Script 1.6.1 Az.FrontDoor Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor…} Script 1.0.2 Az.Functions Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionA… Script 0.10.8 Az.GuestConfiguration Core,Desk {Get-AzVMGuestPolicyStatus, Get-AzVMGuestPolicyStatusHistory} Script 3.6.1 Az.HDInsight Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightSt… Script 1.1.0 Az.HealthcareApis Core,Desk {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get… Script 2.6.0 Az.IotHub Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHu… Script 2.2.1 Az.KeyVault Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation,… Script 1.0.0 Az.Kusto Core,Desk {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, Get-AzKustoAttachedDatabas… Script 1.3.2 Az.LogicApp Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccount… Script 1.1.3 Az.MachineLearning Core,Desk {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHis… Script 1.1.0 Az.Maintenance Core,Desk {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaint… Script 1.1.1 Az.ManagedServices Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAss… Script 1.0.2 Az.MarketplaceOrdering Core,Desk {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms} Script 1.1.1 Az.Media Core,Desk {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServi… Script 2.2.0 Az.Monitor Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…} Script 3.5.0 Az.Network Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCert… Script 1.1.1 Az.NotificationHubs Core,Desk {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, … Script 2.3.0 Az.OperationalInsights Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSo… Script 1.3.1 Az.PolicyInsights Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…} Script 1.1.2 Az.PowerBIEmbedded Core,Desk {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspace… Script 1.0.3 Az.PrivateDns Core,Desk {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone…} Script 2.12.2 Az.RecoveryServices Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaul… Script 1.4.0 Az.RedisCache Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedul… Script 1.0.3 Az.Relay Core,Desk {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace…} Script 2.5.1 Az.Resources Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…} Script 1.4.1 Az.ServiceBus Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzSer… Script 2.2.0 Az.ServiceFabric Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFab… Script 1.2.0 Az.SignalR Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…} Script 2.11.0 Az.Sql Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivit… Script 1.1.0 Az.SqlVirtualMachine Core,Desk {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlVM, Remove-AzSqlVM…} Script 2.7.0 Az.Storage Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…} Script 1.3.0 Az.StorageSync Core,Desk {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, S… Script 1.0.1 Az.StreamAnalytics Core,Desk {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAn… Script 1.0.0 Az.Support Core,Desk {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupportTicket, Get-AzSupportT… Script 1.0.4 Az.TrafficManager Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, … Script 1.11.0 Az.Websites Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…} Script 0.0.0.10 AzureAD.Standard.Preview Desk {Set-AzureADUserThumbnailPhoto, Remove-AzureADApplicationProxyApplication, New-AzureADMSGroupL… Script 0.9.3 AzurePSDrive Desk Script 17.0.4716… EXOPSSessionConnector Desk Connect-EXOPSSession Binary 0.1.1 Microsoft.PowerShell.UnixCompleters Core {Import-UnixCompleters, Remove-UnixCompleters, Set-UnixCompleter} Manifest 1.0.840 MicrosoftPowerBIMgmt Desk Binary 1.0.840 MicrosoftPowerBIMgmt.Admin Desk {Add-PowerBIEncryptionKey, Get-PowerBIEncryptionKey, Get-PowerBIWorkspaceEncryptionStatus, Swi… Binary 1.0.840 MicrosoftPowerBIMgmt.Capacities Desk Get-PowerBICapacity Binary 1.0.840 MicrosoftPowerBIMgmt.Data Desk {Add-PowerBIDataset, Set-PowerBITable, New-PowerBIDataset, New-PowerBITable…} Binary 1.0.840 MicrosoftPowerBIMgmt.Profile Desk {Connect-PowerBIServiceAccount, Disconnect-PowerBIServiceAccount, Invoke-PowerBIRestMethod, Ge… Binary 1.0.840 MicrosoftPowerBIMgmt.Reports Desk {Get-PowerBIReport, New-PowerBIReport, Export-PowerBIReport, Get-PowerBIDashboard…} Binary 1.0.840 MicrosoftPowerBIMgmt.Workspaces Desk {Get-PowerBIWorkspace, Get-PowerBIWorkspaceMigrationStatus, Add-PowerBIWorkspaceUser, Remove-P… Binary 1.1.4 MicrosoftTeams Core,Desk {Add-TeamUser, Connect-MicrosoftTeams, Disconnect-MicrosoftTeams, Get-CsPolicyPackage…} Script 0.9.3 PSCloudShellUtility Desk {Enter-AzVM, Get-AzCommand, Invoke-AzVMCommand, Enable-AzVMPSRemoting…} Binary 0.8.1 SHiPS Desk Script 21.1.18226 SqlServer Desk {Add-RoleMember, Add-SqlAvailabilityDatabase, Add-SqlAvailabilityGroupListenerStaticIp, Add-Sq… Directory: /opt/microsoft/powershell/7/Modules ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- Manifest 1.2.5 Microsoft.PowerShell.Archive Desk {Compress-Archive, Expand-Archive} 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, Clear-ItemProperty, Join-Path…} Manifest 7.0.0.0 Microsoft.PowerShell.Security Core {Get-Credential, Get-ExecutionPolicy, Set-ExecutionPolicy, ConvertFrom-SecureString…} Manifest 7.0.0.0 Microsoft.PowerShell.Utility Core {Export-Alias, Get-Alias, Import-Alias, New-Alias…} Script 1.4.7 PackageManagement Desk {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource…} Script 2.2.4.1 PowerShellGet Desk {Find-Command, Find-DSCResource, Find-Module, Find-RoleCapability…} Script 2.0.5 PSDesiredStateConfiguration Core {Configuration, New-DscChecksum, Get-DscResource, Invoke-DscResource} Script 2.0.2 PSReadLine Desk {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLi… Binary 2.0.3 ThreadJob Desk Start-ThreadJob ``` ## Debug output ``` PS /home/nate> Get-AzResource -ResourceGroupName nate -Name Test14 DEBUG: 11:22:57 PM - GetAzureResourceCmdlet begin processing with ParameterSet 'ByTagNameValueParameterSet'. DEBUG: 11:22:57 PM - using account id 'MSI@xxxxx'... DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@xxxxx', environment: 'AzureCloud', tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' DEBUG: [HttpClientOperations]: Adding Header 'Metadata' DEBUG: [Common.Authentication]: Received token with LoginType 'ManagedService', Tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', UserId: 'MSI@xxxxx' DEBUG: Checking Cache request http://localhost:xxxxx/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01 DEBUG: Cache Hit DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: GET Absolute Uri: https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/resources?api-version=2020-06-01 Headers: x-ms-client-request-id : d80c01ff-3445-4459-bce1-48ddf6929714 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: 11998 x-ms-request-id : 19bd5d0b-3732-4a7a-9910-f3b842e90ed4 x-ms-correlation-request-id : 19bd5d0b-3732-4a7a-9910-f3b842e90ed4 x-ms-routing-request-id : WESTUS:20201203T232257Z:19bd5d0b-3732-4a7a-9910-f3b842e90ed4 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Date : Thu, 03 Dec 2020 23:22:57 GMT Body: { "value": [ { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/DC-Win2019_disk1_838ed882e1dc451db72cd3980f3a25fd", "name": "DC-Win2019_disk1_838ed882e1dc451db72cd3980f3a25fd", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/DC-Win2019", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/nate-Asterix-PBX_OsDisk_1_46551c1fdf0b4e11b543e6030b7aef66", "name": "nate-Asterix-PBX_OsDisk_1_46551c1fdf0b4e11b543e6030b7aef66", "type": "Microsoft.Compute/disks", "sku": { "name": "StandardSSD_LRS", "tier": "Standard" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nate-Asterix-PBX", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/nateWindows10-2_disk1_b25431e810a74b249835f70785042439", "name": "nateWindows10-2_disk1_b25431e810a74b249835f70785042439", "type": "Microsoft.Compute/disks", "sku": { "name": "StandardSSD_LRS", "tier": "Standard" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nateWindows10-2", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/nateWindows10_disk1_b4179f6f40b54cdeb937414c33e3d962", "name": "nateWindows10_disk1_b4179f6f40b54cdeb937414c33e3d962", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nateWindows10", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/SCCM_disk1_add2ec16cdb0456894020619f4b592df", "name": "SCCM_disk1_add2ec16cdb0456894020619f4b592df", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/SCCM", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test10_disk1_c88fa55f10d640c884914b6b52923b7a", "name": "Test10_disk1_c88fa55f10d640c884914b6b52923b7a", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test10", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test12_disk1_71cf2c8c09244ed682a6741ac86021b6", "name": "Test12_disk1_71cf2c8c09244ed682a6741ac86021b6", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test12", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test2_disk1_1d5f223ffc044fbd86aa8d32db5eaba0", "name": "Test2_disk1_1d5f223ffc044fbd86aa8d32db5eaba0", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test2", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test5_disk1_a659c18216564d02aa5c52b38af38777", "name": "Test5_disk1_a659c18216564d02aa5c52b38af38777", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test5", "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test6_OsDisk_1_1a62e25c93e64b5d8ec443cf88aaa47c", "name": "Test6_OsDisk_1_1a62e25c93e64b5d8ec443cf88aaa47c", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test6", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test7_OsDisk_1_131651aab06647169ebf048d614099b9", "name": "Test7_OsDisk_1_131651aab06647169ebf048d614099b9", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test7", "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test8_disk1_ce24522acc56430a8be2dfc0b791d0d1", "name": "Test8_disk1_ce24522acc56430a8be2dfc0b791d0d1", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test8", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Test9_OsDisk_1_8a86e6dc03bd449489a980af6fb332f2", "name": "Test9_OsDisk_1_8a86e6dc03bd449489a980af6fb332f2", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test9", "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/Ubuntu18_disk1_8b2de47132764c8fad65442fde2b59a9", "name": "Ubuntu18_disk1_8b2de47132764c8fad65442fde2b59a9", "type": "Microsoft.Compute/disks", "sku": { "name": "Premium_LRS", "tier": "Premium" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Ubuntu18", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/disks/ubuntuServer1804_OsDisk_1_176fa8b0529945208eb554804c5f5f7b", "name": "ubuntuServer1804_OsDisk_1_176fa8b0529945208eb554804c5f5f7b", "type": "Microsoft.Compute/disks", "sku": { "name": "StandardSSD_LRS", "tier": "Standard" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/ubuntuServer1804", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/disks/vsocket-32548", "name": "vsocket-32548", "type": "Microsoft.Compute/disks", "sku": { "name": "Standard_LRS", "tier": "Standard" }, "managedBy": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/sshPublicKeys/Ubuntu18_key", "name": "Ubuntu18_key", "type": "Microsoft.Compute/sshPublicKeys", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket", "name": "AzurevSocket", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "Owner": "Nate Anderson", "Created": "11/14/2020 12:02:27 AM", "ObjectId": "91fae75d527f4782963966bc5b18dbde" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket/extensions/AzureNetworkWatcherExtension", "name": "AzurevSocket/AzureNetworkWatcherExtension", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket/extensions/CustomScript", "name": "AzurevSocket/CustomScript", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/AzurevSocket/extensions/LinuxDiagnostic", "name": "AzurevSocket/LinuxDiagnostic", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/DC-Win2019", "name": "DC-Win2019", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "ObjectId": "91fae75d527f4782963966bc5b18dbde", "Owner": "Nate Anderson", "Created": "11/14/2020 12:06:42 AM" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/DC-Win2019/extensions/AzureNetworkWatcherExtension", "name": "DC-Win2019/AzureNetworkWatcherExtension", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/NATE/providers/Microsoft.Compute/virtualMachines/DC-Win2019/extensions/enablevmaccess", "name": "DC-Win2019/enablevmaccess", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2", "tags": { "Created": "11/13/2020 7:32:37 PM", "Owner": "Nate Anderson", "ObjectId": "91fae75d527f4782963966bc5b18dbde" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/nate-Asterix-PBX", "name": "nate-Asterix-PBX", "type": "Microsoft.Compute/virtualMachines", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/SCCM", "name": "SCCM", "type": "Microsoft.Compute/virtualMachines", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/SCCM/extensions/enablevmaccess", "name": "SCCM/enablevmaccess", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test10", "name": "Test10", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "Started": "12/3/2020 7:00:42 AM", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test11", "name": "Test11", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "Started": "12/3/2020 9:00:42 PM", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test12", "name": "Test12", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "12/3/2020 11:00:32 PM", "Started": "12/3/2020 11:00:32 PM" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test2", "name": "Test2", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "11/30/2020 11:54:46 PM", "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test5", "name": "Test5", "type": "Microsoft.Compute/virtualMachines", "location": "uksouth", "tags": { "MaxUptime": "48", "Created": "12/2/2020 12:35:03 AM", "Started": "12/2/2020 12:35:03 AM", "Owner": "Nate Anderson", "Role": "Manager", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test6", "name": "Test6", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "MaxUptime": "0", "Created": "12/2/2020 12:33:59 AM", "Started": "12/2/2020 12:33:59 AM", "Owner": "Nate Anderson", "Role": "Manager", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test7", "name": "Test7", "type": "Microsoft.Compute/virtualMachines", "location": "eastus2", "tags": { "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test8", "name": "Test8", "type": "Microsoft.Compute/virtualMachines", "location": "westus2", "tags": { "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test9", "name": "Test9", "type": "Microsoft.Compute/virtualMachines", "location": "japaneast", "tags": { "Role": "Manager", "Owner": "Nate Anderson", "MaxUptime": "24", "Created": "12/3/2020 9:32:16 PM", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Ubuntu18", "name": "Ubuntu18", "type": "Microsoft.Compute/virtualMachines", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Ubuntu18/extensions/enablevmaccess", "name": "Ubuntu18/enablevmaccess", "type": "Microsoft.Compute/virtualMachines/extensions", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/ubuntuServer1804", "name": "ubuntuServer1804", "type": "Microsoft.Compute/virtualMachines", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-AzurevSocket", "name": "shutdown-computevm-AzurevSocket", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-DC-Win2019", "name": "shutdown-computevm-DC-Win2019", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-nate-Asterix-PBX", "name": "shutdown-computevm-nate-Asterix-PBX", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-SCCM", "name": "shutdown-computevm-SCCM", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-Ubuntu18", "name": "shutdown-computevm-Ubuntu18", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.DevTestLab/schedules/shutdown-computevm-ubuntuServer1804", "name": "shutdown-computevm-ubuntuServer1804", "type": "Microsoft.DevTestLab/schedules", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/connections/nate-ikev2", "name": "nate-ikev2", "type": "Microsoft.Network/connections", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/localNetworkGateways/nate-LNG", "name": "nate-LNG", "type": "Microsoft.Network/localNetworkGateways", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/dc-win201939", "name": "dc-win201939", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-asterix-pbx328", "name": "nate-asterix-pbx328", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-LAN1-interface", "name": "nate-LAN1-interface", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-MGMT-interface", "name": "nate-MGMT-interface", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/nate-WAN-interface", "name": "nate-WAN-interface", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/natewindows10684", "name": "natewindows10684", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/natewindows10-2422", "name": "natewindows10-2422", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/sccm148", "name": "sccm148", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test10329", "name": "test10329", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test1244", "name": "test1244", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": { "Started": "11/30/2020 8:47:33 PM", "Role": "Manager", "Created": "11/30/2020 8:47:33 PM", "MaxUptime": "24", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Owner": "Nate Anderson" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test12609", "name": "test12609", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test2979", "name": "test2979", "type": "Microsoft.Network/networkInterfaces", "location": "westus2", "tags": { "Started": "11/30/2020 11:54:22 PM", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "11/30/2020 11:54:22 PM", "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test5660", "name": "test5660", "type": "Microsoft.Network/networkInterfaces", "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test6559", "name": "test6559", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test7693", "name": "test7693", "type": "Microsoft.Network/networkInterfaces", "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test8852", "name": "test8852", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/test9120", "name": "test9120", "type": "Microsoft.Network/networkInterfaces", "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/ubuntu18746", "name": "ubuntu18746", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkInterfaces/ubuntuserver1804810", "name": "ubuntuserver1804810", "type": "Microsoft.Network/networkInterfaces", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/DC-Win2019-nsg", "name": "DC-Win2019-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/nate-Asterix-PBX-nsg", "name": "nate-Asterix-PBX-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/nateWindows10-2-nsg", "name": "nateWindows10-2-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/nateWindows10-nsg", "name": "nateWindows10-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/SCCM-nsg", "name": "SCCM-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test10-nsg", "name": "Test10-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test11-nsg", "name": "Test11-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test12-nsg", "name": "Test12-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test1-nsg", "name": "Test1-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2", "tags": { "Started": "11/30/2020 8:48:24 PM", "Role": "Manager", "Created": "11/30/2020 8:48:24 PM", "MaxUptime": "24", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Owner": "Nate Anderson" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test2-nsg", "name": "Test2-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2", "tags": { "Started": "11/30/2020 11:53:50 PM", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "11/30/2020 11:53:50 PM", "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test5-nsg", "name": "Test5-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test6-nsg", "name": "Test6-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test7-nsg", "name": "Test7-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test8-nsg", "name": "Test8-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Test9-nsg", "name": "Test9-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/Ubuntu18-nsg", "name": "Ubuntu18-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/networkSecurityGroups/ubuntuServer1804-nsg", "name": "ubuntuServer1804-nsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nate-Asterix-PBX-ip", "name": "nate-Asterix-PBX-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nate-ikev2-public-IP", "name": "nate-ikev2-public-IP", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nate-VNG-Public-IP", "name": "nate-VNG-Public-IP", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nateWindows10-2-ip", "name": "nateWindows10-2-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/nateWindows10-ip", "name": "nateWindows10-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/SCCM-ip", "name": "SCCM-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test10-ip", "name": "Test10-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test11-ip", "name": "Test11-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test12-ip", "name": "Test12-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test1-ip", "name": "Test1-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2", "tags": { "Created": "11/30/2020 8:50:17 PM", "MaxUptime": "24", "Started": "11/30/2020 8:50:17 PM", "Role": "Manager", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Owner": "Nate Anderson" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test2-ip", "name": "Test2-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2", "tags": { "Started": "11/30/2020 11:54:14 PM", "ObjectId": "9ca9585d-dad3-4fc7-9a88-a626bf9dc325", "Created": "11/30/2020 11:54:14 PM", "Owner": "Nate Anderson", "Role": "Manager", "MaxUptime": "24" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test5-ip", "name": "Test5-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test6-ip", "name": "Test6-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test7-ip", "name": "Test7-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test8-ip", "name": "Test8-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/Test9-ip", "name": "Test9-ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/publicIPAddresses/u1804_public_ip", "name": "u1804_public_ip", "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Basic" }, "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/routeTables/nate-ikev2-RT", "name": "nate-ikev2-RT", "type": "Microsoft.Network/routeTables", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/routeTables/nate-RT", "name": "nate-RT", "type": "Microsoft.Network/routeTables", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworkGateways/nate-ikev2-VNG", "name": "nate-ikev2-VNG", "type": "Microsoft.Network/virtualNetworkGateways", "location": "westus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/nate-vn", "name": "nate-vn", "type": "Microsoft.Network/virtualNetworks", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/nate-vnet", "name": "nate-vnet", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "tags": { "Owner": "Nate Anderson", "Created": "11/12/2020 1:44:50 AM", "ObjectId": "91fae75d527f4782963966bc5b18dbde" } }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/natevnet537", "name": "natevnet537", "type": "Microsoft.Network/virtualNetworks", "location": "japaneast" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/natevnet551", "name": "natevnet551", "type": "Microsoft.Network/virtualNetworks", "location": "uksouth" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Network/virtualNetworks/natevnet717", "name": "natevnet717", "type": "Microsoft.Network/virtualNetworks", "location": "eastus2" }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Storage/storageAccounts/natecato", "name": "natecato", "type": "Microsoft.Storage/storageAccounts", "sku": { "name": "Standard_RAGRS", "tier": "Standard" }, "kind": "StorageV2", "location": "westus2", "tags": {} }, { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Storage/storageAccounts/natesa", "name": "natesa", "type": "Microsoft.Storage/storageAccounts", "sku": { "name": "Standard_RAGRS", "tier": "Standard" }, "kind": "StorageV2", "location": "westus2", "tags": {} } ] } DEBUG: AzureQoSEvent: CommandName - Get-AzResource; IsSuccess - True; Duration - 00:00:00.0883370; DEBUG: Finish sending metric. DEBUG: 11:22:58 PM - GetAzureResourceCmdlet end processing. PS /home/nate> New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags DEBUG: 11:23:33 PM - NewAzureTagCommand begin processing with ParameterSet 'CreateByResourceIdParameterSet'. DEBUG: 11:23:33 PM - using account id 'MSI@xxxxx'... DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@xxxxx', environment: 'AzureCloud', tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' DEBUG: [HttpClientOperations]: Adding Header 'Metadata' DEBUG: [Common.Authentication]: Received token with LoginType 'ManagedService', Tenant: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', UserId: 'MSI@xxxxx' DEBUG: Checking Cache request http://localhost:xxxxx/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01 DEBUG: Cache Hit DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: PUT Absolute Uri: https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/providers/Microsoft.Resources/tags/default?api-version=2020-06-01 Headers: x-ms-client-request-id : dd17247b-24a4-43ea-adb9-34d45ba2607f Accept-Language : en-US Body: { "properties": { "tags": { "Dept": "Finance", "Status": "Normal" } } } DEBUG: ============================ HTTP RESPONSE ============================ Status Code: NotFound Headers: Cache-Control : no-cache Pragma : no-cache x-ms-failure-cause : gateway x-ms-request-id : 91fc824a-c667-4471-a935-24e0bde3daf6 x-ms-correlation-request-id : 91fc824a-c667-4471-a935-24e0bde3daf6 x-ms-routing-request-id : WESTUS:20201203T232333Z:91fc824a-c667-4471-a935-24e0bde3daf6 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Date : Thu, 03 Dec 2020 23:23:33 GMT Body: { "error": { "code": "ResourceNotFound", "message": "The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix" } } New-AzTag: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix DEBUG: AzureQoSEvent: CommandName - New-AzTag; IsSuccess - False; Duration - 00:00:00.0971012;; Exception - Microsoft.Rest.Azure.CloudException: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource parameters, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource parameters) at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters) at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.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: 11:23:34 PM - NewAzureTagCommand end processing. ``` ## Error output ``` PS /home/nate> Resolve-AzError DEBUG: 11:24:35 PM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'. DEBUG: 11:24:35 PM - using account id 'MSI@xxxxx'... WARNING: Upcoming breaking changes in the cmdlet 'Resolve-AzError' : The `Resolve-Error` alias will be removed in a future release. Please change any scripts that use this alias to use `Resolve-AzError` instead. Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell. HistoryId: 28 RequestId : 91fc824a-c667-4471-a935-24e0bde3daf6 Message : The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix ServerMessage : ResourceNotFound: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError]) ServerResponse : {NotFound} RequestMessage : {PUT https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/ providers/Microsoft.Resources/tags/default?api-version=2020-06-01} InvocationInfo : {New-AzTag} Line : New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags Position : At line:1 char:1 + New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StackTrace : at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource parameters, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource parameters) at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters) at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.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 : 28 HistoryId: 26 RequestId : 5c94071e-c596-4ce4-9839-27029d0d9fa5 Message : The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix ServerMessage : ResourceNotFound: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError]) ServerResponse : {NotFound} RequestMessage : {PUT https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/ providers/Microsoft.Resources/tags/default?api-version=2020-06-01} InvocationInfo : {New-AzTag} Line : New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags Position : At line:1 char:1 + New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StackTrace : at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource parameters, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource parameters) at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters) at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.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 : 26 HistoryId: 20 RequestId : dca2bff1-99ca-4db2-b119-fefd665bdba9 Message : The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix ServerMessage : ResourceNotFound: The Resource 'Microsoft.Compute/virtualMachines/Test14' under resource group 'nate' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError]) ServerResponse : {NotFound} RequestMessage : {PUT https://management.azure.com//subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14/ providers/Microsoft.Resources/tags/default?api-version=2020-06-01} InvocationInfo : {New-AzTag} Line : New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nate/providers/Microsoft.Compute/virtualMachines/Test14 -Tag $Tags Position : At line:1 char:1 + New-AzTag -ResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StackTrace : at Microsoft.Azure.Management.ResourceManager.TagsOperations.CreateOrUpdateAtScopeWithHttpMessagesAsync(String scope, TagsResource parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScopeAsync(ITagsOperations operations, String scope, TagsResource parameters, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.TagsOperationsExtensions.CreateOrUpdateAtScope(ITagsOperations operations, String scope, TagsResource parameters) at Microsoft.Azure.Commands.Tags.Client.TagsClient.CreateOrUpdateTagAtScope(String scope, IDictionary`2 parameters) at Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.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 : 20 The Azure PowerShell team is listening, please let us know how we are doing: https://aka.ms/azpssurvey?Q_CHL=ERROR. DEBUG: AzureQoSEvent: CommandName - Resolve-AzError; IsSuccess - True; Duration - 00:00:00.0339151; DEBUG: Finish sending metric. DEBUG: 11:24:36 PM - ResolveError end processing. ```
Author: neanderson
Assignees: -
Labels: `ARM - Core`, `Service Attention`, `customer-reported`, `question`
Milestone: -
Drewm3 commented 3 years ago

Correcting the label on this to ARM. As @neanderson mentioned this is an issue with replication in Azure Resource Manager, and is above the Azure Compute layer.