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.
Answered by
milanholemans
Feb 20, 2024
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.
0 replies
-
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.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
?