none
Exchange Online Management cmdlets return Display Name instead of Identity RRS feed

  • Question

  • Hello,

    We've got an issue when managing our Exchange Online environment using remote PowerShell.

    We use Exchange management cmdlets to manage Exchange Online mailboxes. When we run, for example, the Get-MailboxPermission or Get-RecipientPermission cmdlets, it returns Display Names of the users with mailbox rights. Previously, when we initially tested remote PowerShell with Exchange Online, the cmdlets returned the Identity property, which is unique and worked well for us. However, currently the cmdlets return the Display Name, which is not unique and causes us issues. For example, in our environment there can exist two or more users with the same Display Name (see highlighted on the screenshot):


    In cases when only one of the users is granted a permission, we cannot distinguish programmatically, which of the 2 users this is. Also, we cannot run cmdlets, such as Get-SecurityPrincipal, to get more info about the principals who are granted the permission.

    Is it possible to get the old behavior of the cmdlets back so that they return the unique Identity instead of the non-unique Display Name? Or how do we workaround this?

    Friday, November 28, 2014 4:51 AM

All replies