Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

SfBWithTeamsCollabAndMeetingsWithNotify & TeamsVoiceRoutingPolicy requiring Destination Path

Open nlangsto opened this issue 6 years ago • 7 comments

Asking me for a destination path, it did it for TeamsVoiceRoutingPolicy too.

[10/10] SfBWithTeamsCollabAndMeetingsWithNotify

WARNING: "OriginalRegistrarPool" with identity "1903724638" assigned to "sip:xxxxxxxxxxxxxxxxxx" has been removed from configuration store. WARNING: "TeamsMeetingBroadcastPolicy" with identity "1000000002" assigned to "sip:xxxxxxxxxxxxxxxxxxxxx" has been removed from configuration store. Destination Path: VERBOSE: Logging a new Error PS C:\WINDOWS\system32>

Getting a few errors

[2020/07/22 10:38:33] {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 System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess) at System.Management.Automation.PSScriptCmdlet.DoEndProcessing() at System.Management.Automation.CommandProcessorBase.Complete() "MSFT_EXOAvailabilityConfig.psm1"

[2020/07/22 10:50:23] {InvalidData} System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Path' because it is an empty string. at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess) at System.Management.Automation.PSScriptCmdlet.DoEndProcessing() at System.Management.Automation.CommandProcessorBase.Complete() ""

[2020/07/22 10:52:36] {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 System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess) at System.Management.Automation.PSScriptCmdlet.DoEndProcessing() at System.Management.Automation.CommandProcessorBase.Complete() "MSFT_EXOAvailabilityConfig.psm1"

[2020/07/22 11:03:54] {InvalidData} System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Path' because it is an empty string. at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess) at System.Management.Automation.PSScriptCmdlet.DoEndProcessing() at System.Management.Automation.CommandProcessorBase.Complete() ""

nlangsto avatar Jul 22 '20 10:07 nlangsto

It should default to the current directory if nothing specified.

nlangsto avatar Jul 22 '20 10:07 nlangsto

@NikCharlebois is this fixed?

jeff29922 avatar Sep 23 '20 13:09 jeff29922

@jeff29922 Not sure. Give it a try with the latest v1.20.923.1 since we've refactor the Teams Auth logic last release. Thanks

NikCharlebois avatar Sep 23 '20 13:09 NikCharlebois

Ok will do.

jeff29922 avatar Sep 23 '20 14:09 jeff29922

@jeff29922 any updates on this?

NikCharlebois avatar Oct 01 '20 16:10 NikCharlebois

@NikCharlebois Testing this today, will provide feedback.

jeff29922 avatar Oct 15 '20 06:10 jeff29922

@jeff29922 any updates?

NikCharlebois avatar Oct 27 '20 14:10 NikCharlebois