Exchange: The security principal specified is already on the permission set

Every once in a while you will find customers running in to the following issue. When they try to get mailbox folder permissions or set mailbox folder permissions  a red error message pops up stating: The security principal specified is already on the permission set. + CategoryInfo          : NotSpecified: (:) [Get-MailboxFolderPermission], CorruptDataException + FullyQualifiedErrorId : [Server=SU8000006141,RequestId=628b5335-6148-4297-8f06-4c607b029737,TimeStamp=15-2-2017 06:46:24] [FailureCategory=Cmdlet-CorruptDataException] BE7556A,Microsoft.Exchange.Management.StoreTasks.GetMailboxFolderPermission + PSComputerName       …

PS Script: Connect to one or multiple Exchange server PowerShell sessions from any computer.

In my previous posts I showed some functions for finding an AD DC and run LDAP query’s against those DC`s. The following function “Connect-Exchangeservice” builds on top of the Get-LDAPobject function. This new function will connect you to the PowerShell management session of an exchange server. This way you do not have to install the exchange management tools to manage exchange via PowerShell. The big…