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
The property Alias in a planner attachment can be null. In this case the Convert-M365DSCPlannerTaskAssignmentToCIMArray will fail on line 886 in MSFT_PlannerTask.psm1: $attachment.Alias.Replace("'", "''")
Microsoft 365 DSC Version
1.25.402.1
Which workloads are affected
Planner
The DSC configuration
Verbose logs showing the problem
{InvalidOperation}
System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at Convert-M365DSCPlannerTaskAssignmentToCIMArray(Closure , FunctionContext )
at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
at System.Management.Automation.CommandProcessorBase.Complete()
"Error during Export:"
at Convert-M365DSCPlannerTaskAssignmentToCIMArray, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.402.1\DSCResources\MSFT_PlannerTask\MSFT_PlannerTask.psm1: line 886
at Export-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.402.1\DSCResources\MSFT_PlannerTask\MSFT_PlannerTask.psm1: line 763
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.402.1\Modules\M365DSCReverse.psm1: line 682
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.402.1\Modules\M365DSCUtil.psm1: line 1495
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered:
Description of the issue
The property
Alias
in a planner attachment can benull
. In this case theConvert-M365DSCPlannerTaskAssignmentToCIMArray
will fail on line 886 inMSFT_PlannerTask.psm1
:$attachment.Alias.Replace("'", "''")
Microsoft 365 DSC Version
1.25.402.1
Which workloads are affected
Planner
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: