Add member to View-Only Organization Management role in Powershell Exchange Online

Exchange Online

To add a user to a specific role in Exchange Online an easy way to do this is to use the Office365 GUI. However, this is by far not a fast way. Especially when adding and removing users to and from a group  is a day to day effort. In that case, you’d better give …

Read moreAdd member to View-Only Organization Management role in Powershell Exchange Online

Fix for The operation on mailbox "" failed because it’s out of the current user’s write scope. The action ‘Set-Mailbox’, ‘HiddenFromAddressListsEnabled’, can’t be performed on the object

Mailboxes in Exchange Online can’t be set as hidden in the address book, while having DirSync / ADConnect enabled to sync your on premises AD objects. In fact, when trying to do so in the Exchange Online web interface, the following error will popup: The operation on mailbox “” failed because it’s out of the …

Read moreFix for The operation on mailbox "" failed because it’s out of the current user’s write scope. The action ‘Set-Mailbox’, ‘HiddenFromAddressListsEnabled’, can’t be performed on the object

Content index state failed (event 3170) in Exchange 2013 and Exchange 2016

Exchange Online

Problem In ECP (Exchange Control Panel) the content index state of one Mailbox DB was failed. In EMS (Exchange Management Shell), everything was fine:

Moving the DB to another Mailbox server by using ECP failed : An Active Manager operation failed. Error: The database action failed. Error: An error occurred while trying to validate …

Read moreContent index state failed (event 3170) in Exchange 2013 and Exchange 2016

Fix for Enable-DistributionGroup : Unable to generate the e-mail address. Unable to load address module

Exchange Online

To assign a group permissions to a mailbox in Office 365, the group needs to be enabled as a distribution group. To do so, you can use the cmdlet Enable-DistributionGroup “groupname” However, you may encounter the following error: [PS] C:\Windows\system32>Enable-DistributionGroup sharedmailbox-finance-fullpermission Enable-DistributionGroup : Unable to generate the e-mail address. Unable to load address module ‘C:\Program …

Read moreFix for Enable-DistributionGroup : Unable to generate the e-mail address. Unable to load address module

MigrationPermanentException: Target user already has a primary mailbox in Office365 Exchange Online

Exchange Online

In a Microsoft Office365 migration project, I faced the following error trying to migrate a mailbox from an on-premises Exchange 2013 database to Exchange Online: Error: MigrationPermanentException: Target user ‎’Doodle, Johnny’ already has a primary mailbox. –> Target user ‎’Doodle, Johnny‎’ already has a primary mailbox. I was sure I hadn’t migrated Johnny’s mailbox before. …

Read moreMigrationPermanentException: Target user already has a primary mailbox in Office365 Exchange Online