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
After successfully exporting the Security and Compliance components from my source tenant and compiling, the Start-DscConfiguration immediately failed with this error:
Start-DscConfiguration -Path $PathToCompiledMOF -Wait -Verbose -Force
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigura
tionManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer ULTRASBOOK6 with user sid S-1-12-1-2786440620-1107658995-3191192979-3267944029.
VERBOSE: [ULTRASBOOK6]: LCM: [ Start Set ]
VERBOSE: [ULTRASBOOK6]: LCM: [ End Set ]
The PowerShell DSC resource MSFT_SCComplianceTag from module <Microsoft365DSC,1.24.1211.1> does not exist at the PowerShell module path nor is it
registered as a WMI DSC resource.
+ CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : DscResourceNotFound
+ PSComputerName : localhost
VERBOSE: Operation 'Invoke CimMethod' complete.
I tried these command for more info:
When I listed all DSC modules, MSFT_SCComplianceTag was not listed:
VERBOSE: Importing function 'Add-M365DSCEvent'.
VERBOSE: Importing function 'Add-M365DSCTelemetryEvent'.
VERBOSE: Importing function 'Assert-M365DSCBlueprint'.
VERBOSE: Importing function 'Assert-M365DSCIsNonInteractiveShell'.
VERBOSE: Importing function 'Clear-M365DSCAuthenticationParameter'.
VERBOSE: Importing function 'Compare-M365DSCComplexObject'.
VERBOSE: Importing function 'Compare-M365DSCConfigurations'.
VERBOSE: Importing function 'Compare-M365DSCIntunePolicyAssignment'.
VERBOSE: Importing function 'Confirm-ImportedCmdletIsAvailable'.
VERBOSE: Importing function 'Confirm-M365DSCDependencies'.
VERBOSE: Importing function 'Convert-M365DSCDRGComplexTypeToHashtable'.
VERBOSE: Importing function 'Convert-M365DscHashtableToString'.
VERBOSE: Importing function 'ConvertFrom-IntuneMobileAppAssignment'.
VERBOSE: Importing function 'ConvertFrom-IntunePolicyAssignment'.
VERBOSE: Importing function 'ConvertTo-IntuneMobileAppAssignment'.
VERBOSE: Importing function 'ConvertTo-IntunePolicyAssignment'.
VERBOSE: Importing function 'Export-IntuneSettingCatalogPolicySettings'.
VERBOSE: Importing function 'Export-M365DSCConfiguration'.
VERBOSE: Importing function 'Export-M365DSCDiagnosticData'.
VERBOSE: Importing function 'Find-GraphDataUsingComplexFunctions'.
VERBOSE: Importing function 'Format-M365DSCString'.
VERBOSE: Importing function 'Format-M365DSCTelemetryParameters'.
VERBOSE: Importing function 'Get-AllSPOPackages'.
VERBOSE: Importing function 'Get-ComplexFunctionsFromFilterQuery'.
VERBOSE: Importing function 'Get-IntuneSettingCatalogPolicySetting'.
VERBOSE: Importing function 'Get-IntuneSettingCatalogPolicySettingDSCValue'.
VERBOSE: Importing function 'Get-IntuneSettingCatalogPolicySettingInstanceValue'.
VERBOSE: Importing function 'Get-M365DSCAllResources'.
VERBOSE: Importing function 'Get-M365DSCAPIEndpoint'.
VERBOSE: Importing function 'Get-M365DSCAuthenticationMode'.
VERBOSE: Importing function 'Get-M365DSCAzureBillingAccount'.
VERBOSE: Importing function 'Get-M365DSCAzureBillingAccountsAssociatedTenant'.
VERBOSE: Importing function 'Get-M365DSCAzureBillingAccountsRoleAssignment'.
VERBOSE: Importing function 'Get-M365DSCAzureBillingAccountsRoleDefinition'.
VERBOSE: Importing function 'Get-M365DSCCIMInstanceKey'.
VERBOSE: Importing function 'Get-M365DSCCompiledPermissionList'.
VERBOSE: Importing function 'Get-M365DSCComponentsForAuthenticationType'.
VERBOSE: Importing function 'Get-M365DSCComponentsWithMostSecureAuthenticationType'.
VERBOSE: Importing function 'Get-M365DSCConfigurationConflict'.
VERBOSE: Importing function 'Get-M365DSCDRGComplexTypeToHashtable'.
VERBOSE: Importing function 'Get-M365DSCDRGComplexTypeToString'.
VERBOSE: Importing function 'Get-M365DSCDRGSimpleObjectTypeToString'.
VERBOSE: Importing function 'Get-M365DSCEvaluationRulesForConfiguration'.
VERBOSE: Importing function 'Get-M365DSCExportContentForResource'.
VERBOSE: Importing function 'Get-M365DSCLoggingOption'.
VERBOSE: Importing function 'Get-M365DSCNotificationEndPointRegistration'.
VERBOSE: Importing function 'Get-M365DSCOrganization'.
VERBOSE: Importing function 'Get-M365DSCTelemetryOption'.
VERBOSE: Importing function 'Get-M365DSCTenantDomain'.
VERBOSE: Importing function 'Get-M365DSCWorkloadsListFromResourceNames'.
VERBOSE: Importing function 'Get-M365TenantName'.
VERBOSE: Importing function 'Get-OmaSettingPlainTextValue'.
VERBOSE: Importing function 'Get-ParentSettingDefinition'.
VERBOSE: Importing function 'Get-SettingDefinitionNameFromOffsetUri'.
VERBOSE: Importing function 'Get-SettingsCatalogSettingName'.
VERBOSE: Importing function 'Get-SPOAdministrationUrl'.
VERBOSE: Importing function 'Get-SPOUserProfilePropertyInstance'.
VERBOSE: Importing function 'Get-StringFirstCharacterToLower'.
VERBOSE: Importing function 'Get-StringFirstCharacterToUpper'.
VERBOSE: Importing function 'Get-TeamByName'.
VERBOSE: Importing function 'Get-UniqueSettingDefinitionNameFromMultipleMatches'.
VERBOSE: Importing function 'Import-M365DSCDependencies'.
VERBOSE: Importing function 'Install-M365DSCDevBranch'.
VERBOSE: Importing function 'Invoke-M365DSCAzureDevOPSWebRequest'.
VERBOSE: Importing function 'Invoke-M365DSCCommand'.
VERBOSE: Importing function 'Invoke-M365DSCDefenderREST'.
VERBOSE: Importing function 'Invoke-M365DSCFabricWebRequest'.
VERBOSE: Importing function 'New-EXOSafeAttachmentRule'.
VERBOSE: Importing function 'New-EXOSafeLinksRule'.
VERBOSE: Importing function 'New-M365DSCAzureBillingAccountsAssociatedTenant'.
VERBOSE: Importing function 'New-M365DSCAzureBillingAccountsRoleAssignment'.
VERBOSE: Importing function 'New-M365DSCCmdletDocumentation'.
VERBOSE: Importing function 'New-M365DSCConnection'.
VERBOSE: Importing function 'New-M365DSCDeltaReport'.
VERBOSE: Importing function 'New-M365DSCLogEntry'.
VERBOSE: Importing function 'New-M365DSCMissingResourcesExample'.
VERBOSE: Importing function 'New-M365DSCNotificationEndPointRegistration'.
VERBOSE: Importing function 'New-M365DSCReportFromConfiguration'.
VERBOSE: Importing function 'New-M365DSCStubFiles'.
VERBOSE: Importing function 'Remove-ComplexFunctionsFromFilterQuery'.
VERBOSE: Importing function 'Remove-EmptyValue'.
VERBOSE: Importing function 'Remove-M365DSCAuthenticationParameter'.
VERBOSE: Importing function 'Remove-M365DSCAzureBillingAccountsAssociatedTenant'.
VERBOSE: Importing function 'Remove-M365DSCAzureBillingAccountsRoleAssignment'.
VERBOSE: Importing function 'Remove-M365DSCCimInstanceTrailingCharacterFromExport'.
VERBOSE: Importing function 'Remove-M365DSCNotificationEndPointRegistration'.
VERBOSE: Importing function 'Remove-NullEntriesFromHashtable'.
VERBOSE: Importing function 'Rename-M365DSCCimInstanceParameter'.
VERBOSE: Importing function 'Save-M365DSCPartialExport'.
VERBOSE: Importing function 'Set-EXOSafeAttachmentRule'.
VERBOSE: Importing function 'Set-EXOSafeLinksRule'.
VERBOSE: Importing function 'Set-M365DSCAgentCertificateConfiguration'.
VERBOSE: Importing function 'Set-M365DSCLoggingOption'.
VERBOSE: Importing function 'Set-M365DSCTelemetryOption'.
VERBOSE: Importing function 'Split-ArrayByParts'.
VERBOSE: Importing function 'Start-M365DSCConfigurationExtract'.
VERBOSE: Importing function 'Sync-M365DSCParameter'.
VERBOSE: Importing function 'Test-M365DSCAgent'.
VERBOSE: Importing function 'Test-M365DSCAuthenticationParameter'.
VERBOSE: Importing function 'Test-M365DSCDependenciesForNewVersions'.
VERBOSE: Importing function 'Test-M365DSCModuleValidity'.
VERBOSE: Importing function 'Test-M365DSCParameterState'.
VERBOSE: Importing function 'Uninstall-M365DSCOutdatedDependencies'.
VERBOSE: Importing function 'Update-DeviceAppManagementPolicyAssignment'.
VERBOSE: Importing function 'Update-DeviceConfigurationPolicyAssignment'.
VERBOSE: Importing function 'Update-IntuneDeviceConfigurationPolicy'.
VERBOSE: Importing function 'Update-M365DSCAllowedGraphScopes'.
VERBOSE: Importing function 'Update-M365DSCAzureAdApplication'.
VERBOSE: Importing function 'Update-M365DSCDependencies'.
VERBOSE: Importing function 'Update-M365DSCExchangeResourcesSettingsJSON'.
VERBOSE: Importing function 'Update-M365DSCExportAuthenticationResults'.
VERBOSE: Importing function 'Update-M365DSCModule'.
VERBOSE: Importing function 'Update-M365DSCResourceDocumentationPage'.
VERBOSE: Importing function 'Update-M365DSCResourcesSettingsJSON'.
VERBOSE: Importing function 'Update-M365DSCSharePointResourcesSettingsJSON'.
VERBOSE: Importing function 'Write-M365DSCLogEvent'.
Start-DscConfiguration-Path $PathToCompiledMOF-Wait -Verbose -Force
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters,''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer ULTRASBOOK6 with user sid S-1-12-1-2786440620-1107658995-3191192979-3267944029.
VERBOSE: [ULTRASBOOK6]: LCM: [ StartSet ]
VERBOSE: [ULTRASBOOK6]: LCM: [ EndSet ]
The PowerShell DSC resource MSFT_SCComplianceTag from module <Microsoft365DSC,1.24.1211.1> does not exist at the PowerShell module path nor is it
registered as a WMI DSC resource.
+ CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : DscResourceNotFound
+ PSComputerName : localhost
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 1.634 seconds
Environment Information + PowerShell Version
OsName : Microsoft Windows 11 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 26100.1.amd64fre.ge_release.240331-1435
OsLanguage : en-US
OsMuiLanguages : {en-US}
Key : PSVersion
Value : 5.1.26100.2161
Name : PSVersion
Key : PSEdition
Value : Desktop
Name : PSEdition
Key : PSCompatibleVersions
Value : {1.0,2.0,3.0,4.0...}
Name : PSCompatibleVersions
Key : BuildVersion
Value : 10.0.26100.2161
Name : BuildVersion
Key : CLRVersion
Value : 4.0.30319.42000
Name : CLRVersion
Key : WSManStackVersion
Value : 3.0
Name : WSManStackVersion
Key : PSRemotingProtocolVersion
Value : 2.3
Name : PSRemotingProtocolVersion
Key : SerializationVersion
Value : 1.1.0.1
Name : SerializationVersion
The text was updated successfully, but these errors were encountered:
Description of the issue
After successfully exporting the Security and Compliance components from my source tenant and compiling, the Start-DscConfiguration immediately failed with this error:
Start-DscConfiguration -Path $PathToCompiledMOF -Wait -Verbose -Force
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigura
tionManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer ULTRASBOOK6 with user sid S-1-12-1-2786440620-1107658995-3191192979-3267944029.
VERBOSE: [ULTRASBOOK6]: LCM: [ Start Set ]
VERBOSE: [ULTRASBOOK6]: LCM: [ End Set ]
The PowerShell DSC resource MSFT_SCComplianceTag from module <Microsoft365DSC,1.24.1211.1> does not exist at the PowerShell module path nor is it
registered as a WMI DSC resource.
+ CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : DscResourceNotFound
+ PSComputerName : localhost
VERBOSE: Operation 'Invoke CimMethod' complete.
I tried these command for more info:
When I listed all DSC modules, MSFT_SCComplianceTag was not listed:
VERBOSE: Importing function 'Add-M365DSCEvent'.
VERBOSE: Importing function 'Add-M365DSCTelemetryEvent'.
VERBOSE: Importing function 'Assert-M365DSCBlueprint'.
VERBOSE: Importing function 'Assert-M365DSCIsNonInteractiveShell'.
VERBOSE: Importing function 'Clear-M365DSCAuthenticationParameter'.
VERBOSE: Importing function 'Compare-M365DSCComplexObject'.
VERBOSE: Importing function 'Compare-M365DSCConfigurations'.
VERBOSE: Importing function 'Compare-M365DSCIntunePolicyAssignment'.
VERBOSE: Importing function 'Confirm-ImportedCmdletIsAvailable'.
VERBOSE: Importing function 'Confirm-M365DSCDependencies'.
VERBOSE: Importing function 'Convert-M365DSCDRGComplexTypeToHashtable'.
VERBOSE: Importing function 'Convert-M365DscHashtableToString'.
VERBOSE: Importing function 'ConvertFrom-IntuneMobileAppAssignment'.
VERBOSE: Importing function 'ConvertFrom-IntunePolicyAssignment'.
VERBOSE: Importing function 'ConvertTo-IntuneMobileAppAssignment'.
VERBOSE: Importing function 'ConvertTo-IntunePolicyAssignment'.
VERBOSE: Importing function 'Export-IntuneSettingCatalogPolicySettings'.
VERBOSE: Importing function 'Export-M365DSCConfiguration'.
VERBOSE: Importing function 'Export-M365DSCDiagnosticData'.
VERBOSE: Importing function 'Find-GraphDataUsingComplexFunctions'.
VERBOSE: Importing function 'Format-M365DSCString'.
VERBOSE: Importing function 'Format-M365DSCTelemetryParameters'.
VERBOSE: Importing function 'Get-AllSPOPackages'.
VERBOSE: Importing function 'Get-ComplexFunctionsFromFilterQuery'.
VERBOSE: Importing function 'Get-IntuneSettingCatalogPolicySetting'.
VERBOSE: Importing function 'Get-IntuneSettingCatalogPolicySettingDSCValue'.
VERBOSE: Importing function 'Get-IntuneSettingCatalogPolicySettingInstanceValue'.
VERBOSE: Importing function 'Get-M365DSCAllResources'.
VERBOSE: Importing function 'Get-M365DSCAPIEndpoint'.
VERBOSE: Importing function 'Get-M365DSCAuthenticationMode'.
VERBOSE: Importing function 'Get-M365DSCAzureBillingAccount'.
VERBOSE: Importing function 'Get-M365DSCAzureBillingAccountsAssociatedTenant'.
VERBOSE: Importing function 'Get-M365DSCAzureBillingAccountsRoleAssignment'.
VERBOSE: Importing function 'Get-M365DSCAzureBillingAccountsRoleDefinition'.
VERBOSE: Importing function 'Get-M365DSCCIMInstanceKey'.
VERBOSE: Importing function 'Get-M365DSCCompiledPermissionList'.
VERBOSE: Importing function 'Get-M365DSCComponentsForAuthenticationType'.
VERBOSE: Importing function 'Get-M365DSCComponentsWithMostSecureAuthenticationType'.
VERBOSE: Importing function 'Get-M365DSCConfigurationConflict'.
VERBOSE: Importing function 'Get-M365DSCDRGComplexTypeToHashtable'.
VERBOSE: Importing function 'Get-M365DSCDRGComplexTypeToString'.
VERBOSE: Importing function 'Get-M365DSCDRGSimpleObjectTypeToString'.
VERBOSE: Importing function 'Get-M365DSCEvaluationRulesForConfiguration'.
VERBOSE: Importing function 'Get-M365DSCExportContentForResource'.
VERBOSE: Importing function 'Get-M365DSCLoggingOption'.
VERBOSE: Importing function 'Get-M365DSCNotificationEndPointRegistration'.
VERBOSE: Importing function 'Get-M365DSCOrganization'.
VERBOSE: Importing function 'Get-M365DSCTelemetryOption'.
VERBOSE: Importing function 'Get-M365DSCTenantDomain'.
VERBOSE: Importing function 'Get-M365DSCWorkloadsListFromResourceNames'.
VERBOSE: Importing function 'Get-M365TenantName'.
VERBOSE: Importing function 'Get-OmaSettingPlainTextValue'.
VERBOSE: Importing function 'Get-ParentSettingDefinition'.
VERBOSE: Importing function 'Get-SettingDefinitionNameFromOffsetUri'.
VERBOSE: Importing function 'Get-SettingsCatalogSettingName'.
VERBOSE: Importing function 'Get-SPOAdministrationUrl'.
VERBOSE: Importing function 'Get-SPOUserProfilePropertyInstance'.
VERBOSE: Importing function 'Get-StringFirstCharacterToLower'.
VERBOSE: Importing function 'Get-StringFirstCharacterToUpper'.
VERBOSE: Importing function 'Get-TeamByName'.
VERBOSE: Importing function 'Get-UniqueSettingDefinitionNameFromMultipleMatches'.
VERBOSE: Importing function 'Import-M365DSCDependencies'.
VERBOSE: Importing function 'Install-M365DSCDevBranch'.
VERBOSE: Importing function 'Invoke-M365DSCAzureDevOPSWebRequest'.
VERBOSE: Importing function 'Invoke-M365DSCCommand'.
VERBOSE: Importing function 'Invoke-M365DSCDefenderREST'.
VERBOSE: Importing function 'Invoke-M365DSCFabricWebRequest'.
VERBOSE: Importing function 'New-EXOSafeAttachmentRule'.
VERBOSE: Importing function 'New-EXOSafeLinksRule'.
VERBOSE: Importing function 'New-M365DSCAzureBillingAccountsAssociatedTenant'.
VERBOSE: Importing function 'New-M365DSCAzureBillingAccountsRoleAssignment'.
VERBOSE: Importing function 'New-M365DSCCmdletDocumentation'.
VERBOSE: Importing function 'New-M365DSCConnection'.
VERBOSE: Importing function 'New-M365DSCDeltaReport'.
VERBOSE: Importing function 'New-M365DSCLogEntry'.
VERBOSE: Importing function 'New-M365DSCMissingResourcesExample'.
VERBOSE: Importing function 'New-M365DSCNotificationEndPointRegistration'.
VERBOSE: Importing function 'New-M365DSCReportFromConfiguration'.
VERBOSE: Importing function 'New-M365DSCStubFiles'.
VERBOSE: Importing function 'Remove-ComplexFunctionsFromFilterQuery'.
VERBOSE: Importing function 'Remove-EmptyValue'.
VERBOSE: Importing function 'Remove-M365DSCAuthenticationParameter'.
VERBOSE: Importing function 'Remove-M365DSCAzureBillingAccountsAssociatedTenant'.
VERBOSE: Importing function 'Remove-M365DSCAzureBillingAccountsRoleAssignment'.
VERBOSE: Importing function 'Remove-M365DSCCimInstanceTrailingCharacterFromExport'.
VERBOSE: Importing function 'Remove-M365DSCNotificationEndPointRegistration'.
VERBOSE: Importing function 'Remove-NullEntriesFromHashtable'.
VERBOSE: Importing function 'Rename-M365DSCCimInstanceParameter'.
VERBOSE: Importing function 'Save-M365DSCPartialExport'.
VERBOSE: Importing function 'Set-EXOSafeAttachmentRule'.
VERBOSE: Importing function 'Set-EXOSafeLinksRule'.
VERBOSE: Importing function 'Set-M365DSCAgentCertificateConfiguration'.
VERBOSE: Importing function 'Set-M365DSCLoggingOption'.
VERBOSE: Importing function 'Set-M365DSCTelemetryOption'.
VERBOSE: Importing function 'Split-ArrayByParts'.
VERBOSE: Importing function 'Start-M365DSCConfigurationExtract'.
VERBOSE: Importing function 'Sync-M365DSCParameter'.
VERBOSE: Importing function 'Test-M365DSCAgent'.
VERBOSE: Importing function 'Test-M365DSCAuthenticationParameter'.
VERBOSE: Importing function 'Test-M365DSCDependenciesForNewVersions'.
VERBOSE: Importing function 'Test-M365DSCModuleValidity'.
VERBOSE: Importing function 'Test-M365DSCParameterState'.
VERBOSE: Importing function 'Uninstall-M365DSCOutdatedDependencies'.
VERBOSE: Importing function 'Update-DeviceAppManagementPolicyAssignment'.
VERBOSE: Importing function 'Update-DeviceConfigurationPolicyAssignment'.
VERBOSE: Importing function 'Update-IntuneDeviceConfigurationPolicy'.
VERBOSE: Importing function 'Update-M365DSCAllowedGraphScopes'.
VERBOSE: Importing function 'Update-M365DSCAzureAdApplication'.
VERBOSE: Importing function 'Update-M365DSCDependencies'.
VERBOSE: Importing function 'Update-M365DSCExchangeResourcesSettingsJSON'.
VERBOSE: Importing function 'Update-M365DSCExportAuthenticationResults'.
VERBOSE: Importing function 'Update-M365DSCModule'.
VERBOSE: Importing function 'Update-M365DSCResourceDocumentationPage'.
VERBOSE: Importing function 'Update-M365DSCResourcesSettingsJSON'.
VERBOSE: Importing function 'Update-M365DSCSharePointResourcesSettingsJSON'.
VERBOSE: Importing function 'Write-M365DSCLogEvent'.
Microsoft 365 DSC Version
1.24.1211.1
Which workloads are affected
Security & Compliance Center
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: