You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Modules/CippExtensions/Public/NinjaOne/Invoke-NinjaOneTenantSync.ps1
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ function Invoke-NinjaOneTenantSync {
48
48
Write-LogMessage-tenant $Customer.defaultDomainName-API 'NinjaOneSync'-message "Processing NinjaOne Synchronization for $($Customer.displayName) - Queued for $((New-TimeSpan-Start $StartQueueTime-End $StartTime).TotalSeconds)"-Sev 'Info'
49
49
50
50
if (($Customer|Measure-Object).count -ne1) {
51
-
throw"Unable to match the recieved ID to a tenant QueueItem: $($QueueItem|ConvertTo-Json-Depth 100|Out-String) Matched Customer: $($Customer|ConvertTo-Json-Depth 100|Out-String)"
51
+
throw"Unable to match the received ID to a tenant QueueItem: $($QueueItem|ConvertTo-Json-Depth 100|Out-String) Matched Customer: $($Customer|ConvertTo-Json-Depth 100|Out-String)"
52
52
}
53
53
54
54
$TenantFilter=$Customer.defaultDomainName
@@ -611,7 +611,7 @@ function Invoke-NinjaOneTenantSync {
0 commit comments