Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/powershell/private/core/Add-ZtTestResultDetail.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function Add-ZtTestResultDetail {

[ValidateSet('NotConnectedAzure', 'NotConnectedExchange', 'NotDotGovDomain', 'NotLicensedEntraIDP1', 'NotConnectedSecurityCompliance',
'NotLicensedEntraIDP2', 'NotLicensedEntraIDGovernance', 'NotLicensedEntraWorkloadID', 'NotSupported', 'UnderConstruction',
'NotLicensedIntune', 'NoAzureAccess'
'NotLicensedIntune', 'NoAzureAccess', 'NotApplicable'
)]
[string] $SkippedBecause,

Expand Down
1 change: 1 addition & 0 deletions src/powershell/private/core/Get-ZtSkippedReason.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function Get-ZtSkippedReason {
"NotLicensedIntune" { "This test is for tenants that are licensed for Microsoft Intune. See [Microsoft Intune licensing](https://learn.microsoft.com/intune/intune-service/fundamentals/licenses)"; break}
"NotSupported" { "This test relies on capabilities not currently available (e.g., cmdlets that are not available on all platforms, Resolve-DnsName)"; break}
"NoAzureAccess" { "The signed in user does not have access to the Azure subscription to perform this test."; break}
"NotApplicable" { "This test is not applicable to the current environment."; break}
default { $SkippedBecause; break}
}
}