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

The Case of the Missing Mailbox Permissions

Just ran into this today where there was a discrepancy between the permissions that were showing up in the Office 365 Admin Portal, in the Exchange Admin Center, and in PowerShell. From the Exchange Admin Center, you could only see a single user added with Full Access: However, if you look at the Office 365 … Read moreThe Case of the Missing Mailbox Permissions

Hierarchical Address Book Creation

I recently needed to configure a hierarchical address book (HAB) on one of my projects, and the process was interesting enough that I thought it was worth sharing – like most things I post, this is more a collection of all the different places where I’ve researched how to do something, and put together what … Read moreHierarchical Address Book Creation

PowerShell: Add Multiple Domains to Office 365

Usually, adding email domains to Office 365 is a pretty straightforward affair, and I usually just add them through the Office 365 admin portal. However, if you need to add multiple domains into Office 365, clicking through them one at a time is a painful process – I was recently working on a project that … Read morePowerShell: Add Multiple Domains to Office 365

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

Troubleshooting Hybrid Azure AD Join

Hybrid Azure AD Join and Conditional Access One of the cool features of Azure AD Conditional Access Policies is being able to require that machines be domain joined, essentially locking down your access to corporate devices only, and preventing non-managed or non-trusted devices from being able to access your business data. You can see from … Read moreTroubleshooting Hybrid Azure AD Join

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

Troubleshooting ADFS/CBA: Error 342

I ran into this error today while configuring Certificate Based Authentication (CBA), and it was a weird enough of an issue that I thought it would be useful to post it, and share the fix. After configuring my CRL so that it was published publicly (this is required for both your Root CA, as well … Read moreTroubleshooting ADFS/CBA: Error 342

PowerShell: Connect to Lync Online

The issue: unable to discover PowerShell endpoint URI I don’t run into this error very often, but it’s happened enough times in the last few weeks that I really wanted to come up with a permanent/elegant solution. This error can happen when Lync/Skype is configured in a hybrid deployment, and autodiscover is pointing back on-prem … Read morePowerShell: Connect to Lync Online