Skip to content

Commit b2c84fb

Browse files
Fix bug
1 parent 2beb9d4 commit b2c84fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Functions/Get-CIPPTenantAlignment.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function Get-CIPPTenantAlignment {
162162
Write-Host "Processing Intune Tag: $($Tag.value)"
163163
$IntuneActions = if ($IntuneTemplate.action) { $IntuneTemplate.action } else { @() }
164164
$IntuneReportingEnabled = ($IntuneActions | Where-Object { $_.value -and ($_.value.ToLower() -eq 'report' -or $_.value.ToLower() -eq 'remediate') }).Count -gt 0
165-
$TagTemplates | Where-Object -Property package -EQ $Tag.value
165+
$TagTemplate = $TagTemplates | Where-Object -Property package -EQ $Tag.value
166166
$TagTemplates | ForEach-Object {
167167
$TagStandardId = "standards.IntuneTemplate.$($_.GUID)"
168168
[PSCustomObject]@{

0 commit comments

Comments
 (0)