Bulk Add Users to Microsoft Teams using PowerShell

Requirement: Bulk add users to Microsoft Teams from a CSV file. How to Add Multiple Users to Microsoft Teams in Bulk? Microsoft Teams offers a great way to communicate with colleagues and collaborators. You can easily add users to your team manually, one at a time, through the Teams app, but what…

Read more

Fix “Connect-PnPOnline : AADSTS65001: The user or administrator has not consented to use the application with ID ‘31359c7f-bd7e-475c-86db-fdb8c937548e’ named ‘PnP Management Shell’. Send an interactive authorization request for this user and resource.”

Problem: When trying to connect to SharePoint Online using PnP PowerShell user name and password, I got this error message: Connect-PnPOnline : AADSTS65001: The user or administrator has not consented to use the application with ID ‘31359c7f-bd7e-475c-86db-fdb8c937548e’ named ‘PnP Management Shell’. Send an interactive authorization request for this user and resource. Solution:…

Read more

SharePoint Online: How to Enable Tree View?

Requirement: Enable the Tree view in SharePoint Online. How to Enable Tree View in SharePoint Online? SharePoint Online is a flexible and user-friendly platform that helps you collaborate with colleagues, store documents, and share information. The Tree View is used in the Quick Launch area to list all sub-sites, libraries, and lists…

Read more

Fix for “Connect-PnPOnline: A parameter cannot be found that matches parameter name ‘interactive'” Error!

Problem: Getting “Connect-PnPOnline: A parameter cannot be found that matches parameter name ‘interactive’” error when tying to connect to SharePoint Online site from PnP PowerShell. Solution: If you get “Connect-PnPOnline : A parameter cannot be found that matches parameter name ‘Interactive’.”, that means you are not running the latest PnP PowerShell module….

Read more

How to Copy a List in SharePoint Online?

Requirement: Copy a List in SharePoint Online. How to Copy a SharePoint Online List? If you’re working in SharePoint Online, there may be times when you need to duplicate a list. Maybe you want to make a copy of an existing list for testing purposes, or perhaps you need to create multiple…

Read more

How to use PowerShell to Copy a Folder?

Requirement: Copy a folder using PowerShell. How to Copy a Folder using PowerShell? Working with files and folders from GUI can be tedious when you have to manage folders repeatedly. Luckily, We have PowerShell! PowerShell is a powerful scripting tool that allows you to automate various tasks, including copying folders. This guide…

Read more

How to Find Microsoft Teams Connected SharePoint Online Sites?

Requirement: Find all SharePoint Online sites created by Microsoft Teams. How to Find All Teams Connected SharePoint Sites? Creating a new team in Microsoft Teams creates a Microsoft 365 group and a group-connected SharePoint Online site. To get a list of all Teams connected SharePoint sites, do the following: Find Teams Connected…

Read more

SharePoint Online: Bulk Create Dummy Files using PowerShell

Requirement: For a testing exercise, We had to bulk upload 5000+ documents to a document library in SharePoint Online. PnP PowerShell to Create Dummy Files in Bulk in SharePoint Online This PowerShell script bulk uploads the given file with unique names to the root folder of a specified SharePoint Online document library….

Read more

Office 365: Convert Distribution List to Microsoft 365 Group

Requirement: Convert a distribution list to an Office 365 group. How to convert a Distribution list to Office 365 Group? Before upgrading to Microsoft 365 group, please note: Distribution lists allow any E-mail as its member, whereas the Office 365 Groups only supports mailboxes. Furthermore, this change is permanent! Most people are…

Read more