SharePoint Online: Set Active Directory Security Group as Site Collection Administrator using PowerShell

Requirement: Add active directory security group to SharePoint Online site collection administrator group. PowerShell to Add AD Security group as a Site Collection Administrator: In SharePoint Online, it is possible to assign a security group from Active Directory as the Site Collection Administrator. This allows multiple users to manage the site collection…

Read more

SharePoint Online: Find All Active Directory Security Groups in a Site Collection

Requirement: Get All AD Security Groups in a SharePoint Online Site. PowerShell to Find All AD Groups in SharePoint Online: In many organizations, Active Directory groups are used to manage access and permissions for SharePoint Online sites and content. Often, new groups are created as needed, and old groups may go unused…

Read more

Add Active Directory Group to SharePoint using PowerShell

Requirement: Add Active Directory Group to SharePoint Group using PowerShell. How to Add Active Directory Group to SharePoint? In this blog post, we will walk through the steps necessary to add an Active Directory group to SharePoint permissions. This can be helpful if you need to quickly grant permissions to a group…

Read more

Add AD Group to SharePoint Online Group using PowerShell

Requirement: Add Active Directory security group to SharePoint Online Group using PowerShell. How to Add AD Group to SharePoint Online Groups? Adding an Active Directory (AD) group to SharePoint Online is a great way to manage user permissions. By adding AD groups, you can give users access to SharePoint sites, libraries, lists,…

Read more

Get All Members of An Active Directory Security Group using PowerShell

Requirement: Get Active Directory Group Membership to list all users of an AD Group. Get All Members of the AD Group using PowerShell: In many organizations, security groups are used to manage access to resources. In this blog post, we will show you how to get all the members of an Active…

Read more

SharePoint Online: Find and Delete Orphaned Users using PowerShell

What are “Orphaned Users” in SharePoint Online? In short, orphaned users are those who were deleted from the authentication provider (such as removed from Active Directory when the user leaves the organization) and still continue to exist in SharePoint Online sites! Scanning each user in the SharePoint Online site collection for orphaned…

Read more

Check If a SharePoint User is a Member of an AD Group using PowerShell

Requirement: Check If SharePoint User is a Member of an Active Directory Group using PowerShell Solution: Although we can check if a particular user account is a member of an AD security group using AD PowerShell cmdlets such as Get-ADGroupMember, Here is the native method to find if a specific user account…

Read more