Add Contacts to Office 365 in Bulk with PowerShell

I had a project recently where we were migrating from hosted Exchange to Office 365. We implemented AAD Connect to sync Active Directory (AD) user objects for the user mailboxes that where being migrated. However, we manually created shared and resource mailboxes, groups, and contacts in O365 as those were not going to be created in AD for synchronization.…