Category Archives: PowerShell

Connecting to both ExO and SCC using the MFA-enabled PowerShell module

There seems to be an unfortunate issue with the recently updated Exchange Online PowerShell module that brings support for Modern authentication for the Security and Compliance Center cmdlets. Namely, the script’s Connect-EXOPSSession function, used to establish the connectivity for both the … Continue reading

Posted in Exchange Online, Office 365, PowerShell | 2 Comments

Enforcing idle session timeout restrictions in SharePoint Online

So Ignite is over and now it’s time to catch up on all the cool new Office 365 and Azure AD features announced or showcased. One such cool feature is the ability to configure custom idle timeout window for SharePoint … Continue reading

Posted in Office 365, PowerShell, SharePoint Online | Leave a comment

Clearing AIP client and PowerShell module token cache

The question on how to “log out” of the Azure Information Protection client or the corresponding Office add-in is one that seems to pop up often. The AIP team has actually published information on how to achieve this task in the following article. In a … Continue reading

Posted in Office 365, PowerShell | Leave a comment

New version of the AzureAD PowerShell (Preview) module released, brings support for Groups lifecycle policies

In case you missed it, a new version of the AzureADPreview PowerShell module has been released yesterday, namely version This new version brings support for controlling Office 365 Groups lifecycle policies, by means of the following cmdlets: Add-AzureADMSLifecyclePolicyGroup Get-AzureADMSGroupLifecyclePolicy Get-AzureADMSLifecyclePolicyGroup … Continue reading

Posted in Azure AD, Office 365, PowerShell | Leave a comment

Office 365 Permissions Inventory scripts vol3

Continuing the Permissions inventory series, I’ve published two more scripts on the TechNet Gallery. Both scripts deal with mailbox folder permissions, in the first case only covering the default Calendar folder. Both scripts use much of the same code, after … Continue reading

Posted in Exchange Online, Office 365, PowerShell | Leave a comment