o365 error: Windows PowerShell is in NonInteractive mode.

Created: 2022-10-13 13:52:06
Modified: 2023-09-13 12:13:02
Tags: Office 365 System Requirements Troubleshooting UnitySync

The following errors indicate insufficient permissions to run certain powershell commands in Non interactive mode.

WriteErrorException: Exception calling “ShouldProcess” with “3” argument(s): “Windows PowerShell is in Non Interactive mode. Powershell Error Crit | Exception calling "ShouldContinue" with "2" argument(s): "PowerShell is in NonInteractive mode. Read and Prompt functionality is not available."

This situation occurs if you installed EXO while logged in as a non Admin.

You need to Log out and log in as an Admin. Open the required Powershell as Admin and re install EXO.

Please see Special Office 365 System Requirements for complete details and instructions related to Powershell and EXO versions.

Share this article:

  1. Directify - Self Service

  2. Mimic - Replication

  3. UnitySync - Sync
  1. emPass - Sync
  1. Profiler
  2. SimpleSync