File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Modules/CippExtensions/Public/Extension Functions Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function Register-CIPPExtensionScheduledTasks {
1414 $PushTasks = Get-CIPPAzDataTableEntity @ScheduledTasksTable - Filter ' Hidden eq true' | Where-Object { $_.Command -match ' Push-CippExtensionData' }
1515 $Tenants = Get-Tenants - IncludeErrors
1616
17- $Extensions = @ (' Hudu' )
17+ $Extensions = @ (' Hudu' , ' NinjaOne ' )
1818 $MappedTenants = [System.Collections.Generic.List [string ]]::new()
1919 foreach ($Extension in $Extensions ) {
2020 $ExtensionConfig = $Config .$Extension
@@ -30,14 +30,9 @@ function Register-CIPPExtensionScheduledTasks {
3030
3131 $SyncTypes.Add (' Overview' )
3232 $SyncTypes.Add (' Groups' )
33-
34- if ($FieldSync.Users ) {
35- $SyncTypes.Add (' Users' )
36- $SyncTypes.Add (' Mailboxes' )
37- }
38- if ($FieldSync.Devices ) {
39- $SyncTypes.Add (' Devices' )
40- }
33+ $SyncTypes.Add (' Users' )
34+ $SyncTypes.Add (' Mailboxes' )
35+ $SyncTypes.Add (' Devices' )
4136
4237 foreach ($Mapping in $Mappings ) {
4338 $Tenant = $Tenants | Where-Object { $_.customerId -eq $Mapping.RowKey }
You can’t perform that action at this time.
0 commit comments