Get-MailUser Get-Contact (et al) is not recognized as the name of a cmdlet, function, script file, or operable program2018-03-21 11:13:50
Errors Office 365 System Requirements Troubleshooting
The following errors may occur on Discovery or Sync of an Office 365 tenant:
Discovery: Get-User, Get-MailUser, Get-Mailbox, Get-Contact, Get-MailContact, and Get-DistributionGroup
Sync: Set-Contact, Set-MailContact, and Set-DistributionGroup
The exact error will differ depending on the action being taken:
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 (Source tab of the connection).
Please review UnitySync Office 365 login requirements which explains the minimum rights necessary for Discovery of o365.