PowerShell: Connect to the Security & Compliance Center

I had to recently do some eDiscovery work in the Security and Compliance Center (I’ll post about that next, there was some cool PowerShell in there too 🙂 ), and as I often do, I turn to PowerShell to automate the process – or at least make it easier for me to do more things … Read morePowerShell: Connect to the Security & Compliance Center

Thunderbird to Office 365 Migration

Every now and again I come across some oddball migration scenarios that require some out-of-the-box thinking. It’s been a long time since I had to do a POP3 migration, but I ended up finding myself needing to come up with a solution to migrate a small number of users (around 50) who currently used Thunderbird, … Read moreThunderbird to Office 365 Migration

G-Suite to Office 365: Meeting Room Interop

One of the challenges when migrating from Google Suite to Office 365 is coexistence – mail routing is not that hard to configure, and free / busy (Calendar Interop) is now available and works fairly well. Google’s instructions are pretty straightforward and are available here. Just remember that you need to disable your user’s calendar … Read moreG-Suite to Office 365: Meeting Room Interop

PowerShell: Connect to Exchange Online – MFA Style

I’ve been using my Exchange Online connection script for some time now, and I love it – however, one of the biggest failings of that PowerShell module is that it doesn’t support MFA, which is becoming more common as a requirement as we go along. Thankfully, Microsoft has released a new PowerShell module for connecting … Read morePowerShell: Connect to Exchange Online – MFA Style

PowerShell: Create Admin Credentials

This post is the second in a series on short posts with some of my favorite PowerShell tips and tricks (first one here, in case you missed it). This next script is another building block I use in many other scripts – especially ones where I know I’m going to be connecting to the same … Read morePowerShell: Create Admin Credentials

PowerShell: Connect to Exchange Online

I know there’s a number of scripts out there that can handle automating (or at least simplifying the process of connecting to Exchange Online – I’ve realized over the years, though, that there’s a number of tips and tricks that I’ve adopted to make my day to day life easier. Here’s one of them… I … Read morePowerShell: Connect to Exchange Online

Use PowerShell to find Mail Contacts

It seems like one of the tasks I do the most on projects is discovery and documentation of existing settings in a client’s environment. While there’s a number of reports in the Office 365 portal, I find that nothing beats PowerShell for getting just what I want when I want it – and this time … Read moreUse PowerShell to find Mail Contacts

MigrationPermanentException: Cannot find a recipient that has a mailbox GUID

Ran into the following error while attempting to offboard a mailbox (migrate it back on prem from Exchange Online): MigrationPermanentException: Cannot find a recipient that has mailbox GUID ‘xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx’ This error is usually caused when a mailbox is created directly in the cloud (New – Office 365 Mailbox in Exchange console on prem). The Exchange … Read moreMigrationPermanentException: Cannot find a recipient that has a mailbox GUID

Unable to connect to Exchange Online Shell

Access Denied (No soup for you!) I’ve been using this script to streamline my connection to the Exchange Online Shell, and it’s been working well for me – until recently when I ran into this weird “Access Denied” error: As you can imagine, I started out by troubleshooting issues with my account, trying to figure … Read moreUnable to connect to Exchange Online Shell

Unable to change Deleted Item Retention

I recently needed to update the Deleted Item Retention period in Office 365 from the default 14 days to the maximum allowed (30 days) for all mailboxes in my environment. Since I was migrating mailboxes to Office 365 at the time, I wrote a script that I could add to my process which would update … Read moreUnable to change Deleted Item Retention