Sometimes, when managing many Office 365 tenants you need to open multiple connections to tenants and various Office 365 Services. The PowerShell script below offers quick and easy way managing your own connections to Azure AD and Exchange Online.
This is simple form-based PS script that will allow you to store connection profiles and quickly access service you need.
Warning! Nevertheless script stores password as secure string,
do not store your connection profiles on publicly used computers.
Please find script and short manual below.
Sometimes when performing Remote Move mailboxes from Exchange 2007 to Office 365 (using Exchange 2013 Hybrid server as proxy) you may face following error:
Error: MigrationMRSPermanentException: Error: MapiExceptionAmbiguousAlias: Unable to synchronize manifest. (hr=0x80004005, ec=2202) Diagnostic context: ...... Lid: 52176 ClientVersion: 15.0.1104.8 Lid: 50032 ServerVersion: 8.3.389.2 Lid: 23226 --- ROP Parse Start --- Lid: 27962 ROP: ropOpenFolder  Lid: 27962 ROP: ropIncrCfg  Lid: 27962 ROP: ropUpldStStrmBegin  Lid: 27962 ROP: ropUpldStStrmEnd  Lid: 27962 ROP: ropUpldStStrmBegin  Lid: 27962 ROP: ropUpldStStrmEnd  Lid: 27962 ROP: ropUpldStStrmBegin  Lid: 27962 ROP: ropUpldStStrmEnd  Lid: 27962 ROP: ropUpldStStrmBegin  Lid: 27962 ROP: ropUpldStStrmEnd  Lid: 27962 ROP: ropFXSrcGetBufferEx  Lid: 17082 ROP Error: 0x89A Lid: 23137 Lid: 21921 StoreEc: 0x89A Lid: 27962 ROP: ropExtendedError  Lid: 1494 ---- Remote Context Beg ----
Move request for the mailbox is failing and if you restart the move, same error appears again.
Sometimes when you trying to convert Shared mailbox to Regular mailbox or vice versa on your Office 365 tenant you may face following error: (actually you may face the error when performing any type of mailbox conversions):
Error on proxy command 'Set-Mailbox -type: 'Shared' -Identity: 'your_alias' -Confirm:$False -Force:$True' to server DBXPR04MB205.eurprd04.prod.outlook.com: Sever version 1941996320, Proxy method PSWS: Request return error with the following error message:
The remote server returned an error: (500)
Internal Servicer Error...
+CategoryInfo :NotSpecified: (:)
+FullyQualifiedErrorID : Microsoft.Exchange.Configuration.CmdletProxyException,Microsoft.Exchange.Management.RecipientTasks.SetMailbox
+PSComputerName : pod51000psh.outlook.com
It seems to be internal Office 365 issue and there is no other solution other than give Microsoft a call, but in case you need convert mailboxes urgently, you may want to use following workaround:
User receiving following error when trying to access Options from OWA in his Office 365 mailbox:
Sorry! Access denied :(
You don't have permission to open this page. If you're a new user or were recently assigned credentials, please wait 15 minutes and try again.
You're still signed in. If you want to sign out, use the link below.
Client Access server name:
Client Access server version: