Azure / Azure/azure-powershell

Get-AzDevCenterAdminNetworkConnectionHealthDetail returns no data

Open
#29,108 2 comments 0 reactions 0 assignees View on GitHub
bug Dev Center Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

The cmd returns
Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType
---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ----------------------------
for an existing ANC

### Issue script & Debug output

```PowerShell
Connect-AzAccount -Tenant "xx" -Subscription "yy"
Get-AzDevCenterAdminNetworkConnectionHealthDetail -NetworkConnectionName "xx" -ResourceGroupName "yy" -Debug

DEBUG: Got version 0 of Az
DEBUG: Got version 0 of Az.Accounts
DEBUG: 2:17:33 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 2:17:33 PM - GetAzureRMContextCommand begin processing with ParameterSet 'GetSingleContext'.
DEBUG: 2:17:33 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Get-AzContext]. Returning default value [True].
DEBUG: 2:17:33 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 2:17:33 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 2:17:33 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 2:17:33 PM - GetAzureRMContextCommand end processing.
DEBUG: [CmdletBeginProcessing]: Starting command
DEBUG: CmdletBeginProcessing:
DEBUG: CmdletProcessRecordStart:
DEBUG: CmdletGetPipeline:
DEBUG: CmdletBeforeAPICall:
DEBUG: URLCreated: /subscriptions/354eeafc-1dda-4165-86c0-d4525e57efef/resourceGroups/rg-rebabprivate/providers/Microsoft.DevCenter/networkConnections/rebabvnetconn/healthChecks?api-version=2025-04-01-preview
DEBUG: RequestCreated: /subscriptions/354eeafc-1dda-4165-86c0-d4525e57efef/resourceGroups/rg-rebabprivate/providers/Microsoft.DevCenter/networkConnections/rebabvnetconn/healthChecks?api-version=2025-04-01-preview
DEBUG: HeaderParametersAdded:
DEBUG: 2:17:33 PM - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/354eeafc-1dda-4165-86c0-d4525e57efef/resourceGroups/rg-rebabprivate/providers/Microsoft.DevCenter/networkConnections/rebabvnetconn/healthChecks?api-version=2025-04-01-preview

Headers:
x-ms-unique-id : 1
x-ms-client-request-id : 0e464ed9-f287-4b91-b52e-b844050c12c1
CommandName : Get-AzDevCenterAdminNetworkConnectionHealthDetail
FullCommandName : Get-AzDevCenterAdminNetworkConnectionHealthDetail_List
ParameterSetName : __AllParameterSets
User-Agent : AzurePowershell/v15.2.0,PSVersion/v7.5.4,Az.DevCenter/2.0.2

Body:

DEBUG: BeforeCall:
DEBUG: 2:17:33 PM - [ConfigManager] Got [False] from [EnableLoginByWam], Module = [], Cmdlet = [].
DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control : no-cache
Pragma : no-cache
x-ms-operation-identifier : tenantId=f1574226-b693-4879-874a-1f9aaeca370c,objectId=5c90d70d-a3a1-432e-97db-933493c1da4e/westus2/9359871c-f87e-463a-ad84-a19241dbf3f1
x-ms-providerhub-traffic : True
x-ms-correlation-request-id : 368a81dc-a76e-46d2-be24-0bab8c39aea5
x-ms-client-request-id : 0e464ed9-f287-4b91-b52e-b844050c12c1
X-Rate-Limit-Limit : 1m
X-Rate-Limit-Remaining : 298
X-Rate-Limit-Reset : 2026-01-27T22:17:58.0917132Z
Strict-Transport-Security : max-age=31536000; includeSubDomains
x-ms-request-id : df364ad6-74f4-445d-afcd-90fb659758af
x-ms-ratelimit-remaining-subscription-reads: 249
x-ms-ratelimit-remaining-subscription-global-reads: 3749
x-ms-routing-request-id : WESTUS2:20260127T221734Z:368a81dc-a76e-46d2-be24-0bab8c39aea5
X-Content-Type-Options : nosniff
X-Cache : CONFIG_NOCACHE
X-MSEdge-Ref : Ref A: BA481BE85E1E46CF93AE6394A2ECF07E Ref B: MWH011020808034 Ref C: 2026-01-27T22:17:34Z
Date : Tue, 27 Jan 2026 22:17:34 GMT

Body:
{
"value": [
{
"properties": {
"startDateTime": "2025-12-11T00:54:49Z",
"endDateTime": "2025-12-11T01:03:28Z",
"healthChecks": [
{
"status": "Passed",
"displayName": "Azure tenant readiness",
"startDateTime": "2025-12-11T00:54:56.772409Z",
"endDateTime": "2025-12-11T00:54:56.772409Z"
},
{
"status": "Passed",
"displayName": "Azure virtual network readiness",
"startDateTime": "2025-12-11T00:54:57.878308Z",
"endDateTime": "2025-12-11T00:54:57.878308Z"
},
{
"status": "Passed",
"displayName": "Intune enrollment restrictions allow Windows enrollment",
"startDateTime": "2025-12-11T00:54:57.787243Z",
"endDateTime": "2025-12-11T00:54:57.787243Z"
},
{
"status": "Passed",
"displayName": "Azure subnet IP address usage",
"startDateTime": "2025-12-11T00:54:58.172303Z",
"endDateTime": "2025-12-11T00:54:58.172303Z"
},
{
"status": "Passed",
"displayName": "Endpoint connectivity",
"startDateTime": "2025-12-11T01:03:28.310136Z",
"endDateTime": "2025-12-11T01:03:28.310136Z"
},
{
"status": "Passed",
"displayName": "Localization language package readiness",
"startDateTime": "2025-12-11T01:03:28.310159Z",
"endDateTime": "2025-12-11T01:03:28.310159Z"
},
{
"status": "Passed",
"displayName": "UDP connection check",
"startDateTime": "2025-12-11T01:03:28.310177Z",
"endDateTime": "2025-12-11T01:03:28.310177Z"
}
]
}
}
]
}

DEBUG: ResponseCreated:
DEBUG: BeforeResponseDispatch:
DEBUG: 2:17:35 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].

DEBUG: Finally:
DEBUG: CmdletAfterAPICall:
DEBUG: [CmdletProcessRecordAsyncEnd]: Finish HTTP process
DEBUG: CmdletProcessRecordAsyncEnd:
DEBUG: CmdletProcessRecordEnd:
DEBUG: 2:17:35 PM - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: AzureQoSEvent: Module: Az.DevCenter:3.0.0; CommandName: Get-AzDevCenterAdminNetworkConnectionHealthDetail; PSVersion: 7.5.4; IsSuccess: True; Duration: 00:00:02.4212606; SanitizeDuration: 00:00:00.0031726
Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType
---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ----------------------------
```

### Environment data

```PowerShell
Name Value
---- -----
PSVersion 7.5.4
PSEdition Core
GitCommitId 7.5.4
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```

### Module versions

```PowerShell
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 5.3.2 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script 3.0.0 Az.DevCenter {Approve-AzDevCenterUserDevBox, Build-AzDevCenterAdminProjectCatalogImageDefinitionImage, Connect-AzDevCenterAdminCatalog, Connect-AzDevCe…
```

### Error output

```PowerShell
No error
```

Contributor guide

Open the contributing guide

Research direction

Start with the Get-AzDevCenterAdminNetworkConnectionHealthDetail cmdlet and its debug response. Compare the returned healthChecks data with the emitted object fields; done means an existing network connection returns the health-check details instead of only empty metadata columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
api, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.