Skip to content

Commit d357a70

Browse files
committed
fix schema extension list
1 parent a5728d5 commit d357a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Settings/Invoke-ExecCustomData.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function Invoke-ExecCustomData {
1818
'ListSchemaExtensions' {
1919
try {
2020
$SchemaExtensions = Get-CIPPAzDataTableEntity @CustomDataTable -Filter "PartitionKey eq 'SchemaExtension'" | Select-Object -ExpandProperty JSON | ConvertFrom-Json
21-
if (!$SchemaExtensions) {
21+
if (!$SchemaExtensions -or $SchemaExtensions.id -notmatch '_') {
2222
$SchemaExtensions = Get-CIPPSchemaExtensions | Sort-Object id
2323
}
2424
$Body = @{

0 commit comments

Comments
 (0)