SharePoint Online: Set Site Column Properties using PowerShell

Requirement: Update Properties of a Site Column in SharePoint Online using PowerShell How to edit a Site Column in SharePoint Online? You can edit site column properties such as name, group, column type, etc in SharePoint Online by following the below steps: Navigate to the SharePoint Online site where the site column…

Read more

Disable “New Folder” in SharePoint Online Lists and Libraries

Requirement: Disable Folder Creation in SharePoint Online List or Document Library. How to Prevent Folder Creation in SharePoint Online? Folders can be created on any SharePoint list or library where the “New Folder” option is turned ON. By default, folders are enabled in libraries, and in lists. Like folders in Windows Explorer,…

Read more

Configure HTML Field Security in SharePoint Online

Requirement: Configure HTML Field Security in SharePoint Online HTML Field Security in SharePoint Online: IFrames can lead to JavaScript injection attack, hence We have a security precaution in SharePoint Online to allow embed scripts only from trusted domains. If you try to add an embed script from any other site, You’ll get…

Read more

Find All OneDrive for Business Site Collections in SharePoint Online using PowerShell

Requirement: Get a list of all OneDrive site collections from SharePoint Online. I was asked to get the list of all OneDrive sites to get the usage of OneDrive for Business in our Office 365 tenant. It’s a bit tricky to find all of your OneDrive site collections and here is how…

Read more

How to Delete Office 365 Group using PowerShell?

Requirement: Delete Office 365 Group using PowerShell How to Delete an Office 365 Group? As an admin, you can delete Office 365 groups through Microsoft 365 admin center. Log in to the Microsoft 365 Admin Center site: https://admin.microsoft.com Expand Groups and Click on Groups in the left navigation.  Select the Office 365…

Read more

Call REST API Methods in SharePoint Online from PowerShell

Requirement: Call SharePoint Online REST API from PowerShell PowerShell to Call a REST API method in SharePoint Online: Here is how to call SharePoint Online REST API using PowerShell This retrieves all user profile properties of a given user SharePoint Online: PnP PowerShell to Call REST API We can invoke a REST…

Read more

SharePoint Online: How to Disable Quick Launch Bar using PowerShell?

Requirement: Hide Quick Launch Bar in SharePoint Online. How to Hide Quick Launch in SharePoint Online? The Quick Launch or left navigation located on the left side of the site typically contains links to resources located in the current site like lists and libraries, subsites, etc. To turn off the quick launch…

Read more

SharePoint Online: PowerShell to Get List Permissions

Requirement: Get List Permissions in SharePoint Online using PowerShell How to Get List Permissions in SharePoint Online? To view permissions applied to SharePoint Online list, follow these steps: Navigate to your SharePoint Online List >> Click on Settings Gear >> List Settings On the List Settings page, click on the “Permissions on…

Read more

SharePoint Online: Clone User Group Memberships using PowerShell

Requirement: Clone a user’s group permissions to another user in a SharePoint Online Site. PowerShell to Clone User’s Group Memberships in SharePoint Online: It’s a common real-world scenario that when someone leaves the organization and somebody else takes that role they want the same permissions! While the requirement sounds simple, it’s really…

Read more