Quick Script: How to identify domains used that aren’t accepted domains in Office 365

This post follows on from my earlier post with a script to remove Domains from Exchange On-Premises. If you haven’t read that yet, you can find it here. After realising that I had users in my Exchange environment that were using domains that were not added as accepted domains in Office 365, I worked out … More Quick Script: How to identify domains used that aren’t accepted domains in Office 365