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
Reviewing the log file, this is shown:
[2023/11/2810:25:33]
{InvalidData}
System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'templateId'. The argument "2d345ec2-c817-49e5-9156-3ed416dc972a_1" does not belong to the set "d948ff9b-99cb-4ee0-8012-1fbc09685377_1,e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1,45fea5e9-280d-4da1-9792-fb5736da0ca9_1,804339ad-1553-4478-a742-138fb5807418_1" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again. ---> System.Management.Automation.ValidationMetadataException: The argument "2d345ec2-c817-49e5-9156-3ed416dc972a_1" does not belong to the set "d948ff9b-99cb-4ee0-8012-1fbc09685377_1,e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1,45fea5e9-280d-4da1-9792-fb5736da0ca9_1,804339ad-1553-4478-a742-138fb5807418_1" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
at System.Management.Automation.ValidateSetAttribute.ValidateElement(Object element)
at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
---End of inner exception stack trace ---
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
"Error during Export:"
at Export-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.23.1025.1\DSCResources\MSFT_IntuneAntivirusPolicyWindows10SettingCatalog\MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.psm1: line 1452
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.23.1025.1\modules\M365DSCReverse.psm1: line 615
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.23.1025.1\modules\M365DSCUtil.psm1: line 1321
Description of the issue
Exporting Intune workload using credentials.
[1/66] Extracting [IntuneAntivirusPolicyWindows10SettingCatalog] using {Credentials}...
|---[1/3] macOS Antivirus Configuration❌
Microsoft 365 DSC Version
1.23.1025.1
Which workloads are affected
other
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: