Troubleshooting Mailbox Migration Error “You can’t use the domain because it’s not an accepted domain for your organization.”

While migrating users via MRS between organizations (especially to Exchange Online), a pretty common error that I run across is: You can’t use the domain because it’s not an accepted domain for your organization. This error is generated because the MailUser object of the user you’re attempting to migrate has a proxy address attached to…


Removing Proxy Addresses from Exchange Recipients

I saw a request come through the other day for a method to remove unwanted proxy addresses for contacts.  I’d had some code sitting around from a project a few years back and decided to freshen it up, and maybe add some newer tricks. So, the original idea was to select a bunch of users…

10

Migrating EOP Settings Between Tenants

I find myself currently writing tools to both support my and other organization projects, as well as looking for ways to refine existing tools and scripts, make my life easier for future migrations, and provide additional resources to the community to help other customers more successfully use our products. Today’s tool fulfills all of those…


Export and Import Calendar Processing Information

During my current project, it became necessary to capture additional calendar processing parameters that are not preserved during a normal hybrid move–such as booking policies. Some of the challenges that I faced with this tool: Blank or unpopulated attributes Conversion of sAMAccountName values to PrimarySmtpAddress Multiline attributes with special characters Attributes that were set for…


Fix those IMCEAEX NDRs

I had a customer migrate some mailboxes a few weeks ago, and they’re now just getting some NDRs.  Here’s a sample NDR: To fix this, you can take the NDR that you receive, copy/paste it into this function, and then take the resultant decoded x500 address and add it back to the proxyAddress array for…


Create an Opt-Out Tool for Exchange Online

Earlier this week, a question popped up on a distribution list for managing an opt-out process with Exchange Online.  That wasn’t the first request I’ve seen for such a tool (in fact, I had my own customer asking for something similar).  Of course, it’s much more fun to solve someone else’s problems than your own,…


Updating Remote Recipient Types on-Premises

During migrations from third-party platforms like Gmail or various POP3 providers or from hosted Exchange environments, we frequently see customers provisioning remote mailboxes for shared resources. This works fine for three out of four recipient types. You can run New-RemoteMailbox for a regular user or specify a Type (Room or Equipment) to get the appropriate…


How to get a list of Shared mailboxes and users with permissions to those mailboxes in Exchange Online?

Blog Moving Here… Hello All, This is a quick blog post to assist admins with working on resource mailboxes. This post was written specifically for Exchange Online, however it should work for Exchange 2013 and Exchange 2010 as well. In the event that you are trying to pull all the shared mailboxes in your organization…

9

Add Office 365 Tenant Proxy Address to Exchange objects with Email Address Policy Disabled

If your organization is like a lot of them out there, you have mailbox users without the email address policy applied.  It’s a pretty common practice to work around name changes, users with similar names or middle initials, or one-off primary SMTP addresses. If that’s the case, then you probably have received this error when…


Time to go PST hunting with the new PST Capture 2.0

Important: The Microsoft Exchange PST Capture 2.0 tool has been retired and replaced with the PST Collection Tool. Ahoy, Exchange Ninjas! It’s time to buckle up and go PST hunting again with the new PST Capture 2.0! Earlier this week, we released a brand new version of the free PST Capture tool that allows you…