Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSFT_TeamsUpdateManagementPolicy #2639

Closed
upaneshpatel opened this issue Dec 8, 2022 · 0 comments · Fixed by #2640 or #2667
Closed

MSFT_TeamsUpdateManagementPolicy #2639

upaneshpatel opened this issue Dec 8, 2022 · 0 comments · Fixed by #2640 or #2667
Assignees
Labels
Bug Something isn't working Teams

Comments

@upaneshpatel
Copy link

Hi Team - Can you please look into this error.

When extracting MSFT_TeamsUpdateManagementPolicy from our tenant, we are getting below error:

### {InvalidOperation}
System.Management.Automation.RuntimeException: Method invocation failed because [System.DateTime] does not contain a method named 'Split'.

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 retrieving data:"
at Get-TargetResource, C:\Program Files\WindowsPowerShell\Modules\microsoft365dsc\1.22.1207.1\DSCResources\MSFT_TeamsUpdateManagementPolicy\MSFT_TeamsUpdateManagementPolicy.psm1: line 93
at Export-TargetResource, C:\Program Files\WindowsPowerShell\Modules\microsoft365dsc\1.22.1207.1\DSCResources\MSFT_TeamsUpdateManagementPolicy\MSFT_TeamsUpdateManagementPolicy.psm1: line 382
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\microsoft365dsc\1.22.1207.1\modules\M365DSCReverse.psm1: line 615
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\microsoft365dsc\1.22.1207.1\modules\M365DSCUtil.psm1: line 1190
at , : line 1

@NikCharlebois NikCharlebois self-assigned this Dec 8, 2022
@NikCharlebois NikCharlebois added Bug Something isn't working Teams labels Dec 8, 2022
NikCharlebois added a commit to NikCharlebois/Microsoft365DSC that referenced this issue Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Teams
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants