SharePoint Online: Update Created By / Modified By, Created / Modified Field Values using PowerShell

Requirement: Update the ‘Created By’ column in SharePoint Online using PowerShell. At times, you may have to create list items or set existing item’s metadata fields such as Created by, Modified by, Created at, Modified values to a specific user – time stamp. Say, You are importing or migrating data from a…

Read more

SharePoint Online: PowerShell to Send Email

Did you know that you can use PowerShell to send emails from SharePoint Online? This is a great way to automate email-based workflows, such as sending notifications or alerts. In this blog post, we’ll show you how to do this using PowerShell. We can send emails from SharePoint Online, either with SPUtility’s…

Read more

Copy Group Membership Permissions of a User in SharePoint using PowerShell

Requirement: Copy SharePoint Group Memberships of one user to another user Solution: You can copy group memberships of one user to another user to have identical SharePoint Permissions for a SharePoint Site. Here is the PowerShell Script: PowerShell Script to Copy Group Memberships from One user to another: Do you want to…

Read more

SharePoint Online: Add Currency Column to List using PowerShell

Requirement: Add Currency Column to SharePoint Online List How to Create Currency Field in SharePoint Online List? Similar to the number field, The Currency column in SharePoint Online captures currency values as metadata and adds currency formatting options. Browse to your SharePoint Online site and navigate to the target list in which…

Read more

SharePoint Online: How to a Get List using PowerShell?

Requirement: SharePoint Online PowerShell to Get List. SharePoint Online: Get List from PowerShell If you are managing SharePoint Online, managing lists is a common requirement as part of your job. In this blog post, we will be looking at how to use PowerShell to get a list from the SharePoint Online site….

Read more

Import-Module: The specified module ‘Microsoft.Online.SharePoint.Powershell’ was not loaded because no valid module file was found in any module directory.

Problem: When trying to add the PowerShell module for SharePoint Online, using “Import-Module Microsoft.Online.SharePoint.PowerShell”, it resulted in the below error in both PowerShell console and in PowerShell ISE. “Import-Module : The specified module ‘Microsoft.Online.SharePoint.Powershell’ was not loaded because no valid module file was found in any module directory.” Solution:  Make sure you…

Read more

SharePoint Online: Create a Custom Permission Level using PowerShell

Requirement: Create a new permission level in the SharePoint Online site collection for “Contribute without delete” permissions. SharePoint Online Permission Levels: SharePoint Permission levels are a set of actions users can perform in SharePoint, packaged as a group, to make permission management easier. So, Instead of providing individual permissions to users and groups,…

Read more

SharePoint Online: PowerShell to Create a Document Library

Requirement: Create a Document Library in SharePoint Online using PowerShell. Create Document Library using PowerShell in SharePoint Online: The document library is the most commonly used type of library in SharePoint Online used to store and collaborate Office documents such as Word, Excel, PowerPoint, etc. SharePoint Online document libraries come with default…

Read more