Category Archives: PowerShell

Adding and reporting on permissions for Azure AD Security groups in Exchange Online

Some of you are probably well aware of the fact that Azure AD is the directory behind Office 365. Azure AD stores all the user and group objects and their relevant properties. Some of the different workloads constituting Office 365 … Continue reading

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

Script to remove user(s) from all groups in Office 365

Often times when a user leaves the company, or for whatever other reason, you are tasked with making sure said user is removed as member from any and all groups. In the Office 365 world, this means going over each … Continue reading

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

Get-Recipient finally returns Office 365 Groups by default

Another one in the series of minor, but very useful improvements in Exchange Online PowerShell – the Get-Recipient cmdlet now returns Office 365 Group mailbox objects by default. Since Get-Recipient is one of my favorite cmdlets and I often used in my … Continue reading

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

Decode JWT access and id tokens via PowerShell

JSON web tokens or JWTs are commonly used in modern websites and apps and Azure AD/Office 365 is no exception in this regard. Both the OAuth 2.0 and the OIDC protocols used by Azure AD issue some type of a … Continue reading

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

Reporting on membership of Office 365 Groups

Reporting on group membership is one of the common tasks in the life of AD, Exchange or Office 365 administrators. Different types of groups are used for a variety of tasks, from keeping track of users’s affiliations, to delegating permission to … Continue reading

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