NativeCommandError when calling m365 from PowerShell script #5854
-
|
I have a simple ps script on my Windows machine with the command The command Is there any way to resolve/hide the error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
|
Hi @MartinM85 thanks for letting us know. Do you have any more information about the error? |
Beta Was this translation helpful? Give feedback.
-
|
It's happening when running the script from Windows PowerShell ISE. When the script is executed from Windows PowerShell terminal...no error. |
Beta Was this translation helpful? Give feedback.




Now that you mention it, that will probably be it @MartinM85! Have you tried running a command with
--output none, or disable the spinner by usingcli config set --key showSpinner --value false?