Tag Archives: PowerShell

How to fix “Create Powershell Session is failed using OAuth” EXO v2 PowerShell error

Connecting to the Exchange Online service using the recent Exchange Online PowerShell V2 module presents a series of new features, including the option for using modern authentication and have the sign-in protected by Multi-Factor Authentication (MFA). The added support for modern authentication in Exchange Online PowerShell V2 module (EXO V2) include all cmdlets and replaces… Read More »

How to switch Office 365 licenses using PowerShell

When making changes to licenses in Office 365, I sometimes experience that the old and new licenses include options that conflict, and does not allow the licenses to be pooled or added to accounts at the same time. Changing the license of users in Office 365 need to be performed without impacting the end users… Read More »

How to create a custom self signed certificate with PowerShell

From time to time you may need a custom certificate for testing or troubleshooting purposes. If you do not have access to a lab where you have an Enterprise Certificate Authority running, generating a self signed certificate is often a quick and convenient way of getting a usable certificate. As a word of caution, a… Read More »