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
I would add this information to the export of the resource. This could cause errors in export/import scenarios across various "stages". I someone would have enable the setting, it would not be disabled in other cases. Disabled is the default state, isn't it?
Details of the scenario you tried and the problem that is occurring
When this setting is disabled, the export does not include the resource because Enabled=False is filtered out here:
Microsoft365DSC/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantCdnEnabled/MSFT_SPOTenantCdnEnabled.psm1
Lines 372 to 384 in d3e1ad0
But this can be False because of either the Get-TargetResource returned False or nothing (because Get-PnPTenantCdnEnabled threw an exception.
Question now is: Should the resource be filtered when the setting is False?
Verbose logs showing the problem
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
# insert configuration here
The operating system the target node is running
Version of the DSC module that was used ('dev' if using current dev branch)
dev
The text was updated successfully, but these errors were encountered: