We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c2f46 commit 818991aCopy full SHA for 818991a
Modules/CippExtensions/Public/NinjaOne/Invoke-NinjaOneTenantSync.ps1
@@ -8,7 +8,7 @@ function Invoke-NinjaOneTenantSync {
8
Write-Information "$(Get-Date) - Starting NinjaOne Sync"
9
10
$MappingTable = Get-CIPPTable -TableName CippMapping
11
- $CurrentMap = (Get-CIPPAzDataTableEntity @MappingTable -Filter "PartitionKey eq '$ExtensionPartitionKey'")
+ $CurrentMap = (Get-CIPPAzDataTableEntity @MappingTable -Filter "PartitionKey eq 'NinjaOneMapping'")
12
$CurrentMap | ForEach-Object {
13
if ($Null -ne $_.lastEndTime -and $_.lastEndTime -ne '') {
14
$_.lastEndTime = (Get-Date($_.lastEndTime))
0 commit comments