SharePoint Online: Update Permission Level using PowerShell

Requirement: Update Permission Level in SharePoint Online SharePoint Online: How to Edit a Permission Level? We have had a permission level “Contribute without delete” which allows users to add/edit items but not delete. Now, we got a new requirement to exclude edit also from the permission level so that it prevents users…

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? To add AD group to SharePoint, do the following: Navigate to your SharePoint site and click on the Site Settings gear icon >> Select “Site settings” Click on the “People and groups” link under…

Read more

SharePoint Online: How to Disable Sharing for Non-Owners using PowerShell?

Requirement: Disable Sharing for Non-Owners in SharePoint Online. How to Disable Sharing for Members in SharePoint? To disable sharing for members in SharePoint Online, follow these steps: Settings >> Site Settings >> Site Permissions Click on “Access Request Settings” button in the ribbon.  Uncheck “Allow members to share the site and individual…

Read more

SharePoint Online: Allow Members to Edit Group Membership using PowerShell

Requirement: Configure SharePoint Online Group to manage membership by Group Members. How to Allow Members of the Group to Manage Group? Follow these steps to change the group settings of a group in SharePoint Online. Go to Site Settings >>  Click on the “People and Groups” link Pick the group, you want…

Read more

SharePoint Online: PowerShell to Check If User Exists

Requirement: SharePoint Online PowerShell to check if the user exists. There are different cases where you may need to check if a user exists in the Office 365 tenant and here are my PowerShell scripts: Option 1: Check If User Exists in the Tenant using Azure AD Cmdlet We can use the…

Read more

SharePoint Online: Unique Permissions Report using PowerShell

Requirement: Get unique permissions report in SharePoint Online using PowerShell PowerShell for SharePoint Online Unique Permissions Report To find unique permissions in SharePoint Online using this PowerShell, set the $SiteURL and $ReportFile parameters and run this script. It generates a CSV file with all sites, lists, and list items with unique permissions…

Read more