File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ function Invoke-CIPPStandardsRun {
23
23
24
24
if ($Drift.IsPresent ) {
25
25
Write-Information ' Drift Standards Run'
26
- $AllTasks = Get-CIPPTenantAlignment | Where-Object - Property standardtype -EQ ' drift' | Select-Object - Property Tenant | Sort-Object - Unique - Property Tenant
26
+ $AllTasks = Get-CIPPTenantAlignment | Where-Object - Property standardtype -EQ ' drift' | Select-Object - Property TenantFilter | Sort-Object - Unique - Property TenantFilter
27
27
28
28
# For each item in our object, run the queue.
29
29
$Queue = New-CippQueueEntry - Name ' Drift Standards' - TotalTasks ($AllTasks | Measure-Object ).Count
30
30
31
31
$Batch = foreach ($Task in $AllTasks ) {
32
32
[PSCustomObject ]@ {
33
33
FunctionName = ' CIPPDriftManagement'
34
- Tenant = $Task.Tenant
34
+ Tenant = $Task.TenantFilter
35
35
}
36
36
}
37
37
You can’t perform that action at this time.
0 commit comments