Get-MailUser Get-Contact Set-Contact (et al.) is not recognized as the name of a cmdlet, function, script file, or operable program

Created: 2018-03-15 09:17:36
Modified: 2023-04-13 11:53:01
Tags: Errors Office 365 System Requirements Troubleshooting UnitySync

The following errors may occur on Discovery or Sync of an Office 365 tenant:

CommandNotFoundException: The term 'Get-MailUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again

These errors usually result from insufficient access rights on the Office 365 User account being used on the Source and/or Destination tab of your connection. It is highly recommended you use an O365 Admin account.

For help resolving these errors, and to learn more about required permissions, please refer to UnitySync Office 365 login requirements.

Refer to this Microsoft Learn - Advanced permissions for information on adding/removing rights for cmdlets.

See also:
The term ‘Connect-ExchangeOnline’ is not recognized.

Share this article:
Knowledgebase

Directory
  1. Directify - Self Service

  2. Mimic - Replication

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