Skip to content

Commit 042d5d3

Browse files
committed
fix extension sync registration
1 parent 7c89917 commit 042d5d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CippExtensions/Public/Extension Functions/Register-CippExtensionScheduledTasks.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function Register-CIPPExtensionScheduledTasks {
2323
$CustomDataMappingTable = Get-CIPPTable -TableName CustomDataMappings
2424
$Mappings = Get-CIPPAzDataTableEntity @CustomDataMappingTable | ForEach-Object {
2525
$Mapping = $_.JSON | ConvertFrom-Json
26-
if ($Mapping.sourceType -eq 'extensionSync') {
26+
if ($Mapping.sourceType.value -eq 'extensionSync') {
2727
$TenantMappings = if ($Mapping.tenantFilter.value -contains 'AllTenants') {
2828
$Tenants
2929
} else {

0 commit comments

Comments
 (0)