How to Install the PnP PowerShell Module for SharePoint Online?

What is PnP PowerShell? The new PnP PowerShell module PnP.PowerShell is a cross-platform, .net framework-based PowerShell product that can run on any operating system that supports .net core, like Windows, Linux, macOS, etc., and provides 500+ cmdlets to work with Microsoft 365 environment (No support for On-Premises server products, As a side…

Read more

SharePoint Online: User Permissions Audit Report for a Site Collection using PnP PowerShell

Requirement: Need a report to audit SharePoint Online site collection permissions SharePoint Online: User Permissions report in a Site Collection using PnP PowerShell Auditing SharePoint Online Site permissions is critical for security as misconfigured permissions may enable users to access to data that they should not have access to. So, regular auditing…

Read more

Connect to SharePoint Online using PowerShell with MFA (Multi-factor Authentication)

Requirement: Connect to SharePoint Online from PowerShell using multi-factor authentication PowerShell to Connect to SharePoint Online with MFA Multi-Factor Authentication or two-factor authentication in Office 365 environments is often enabled as part of security hardening. Instead of typical user IDs and passwords, it adds an extra layer with SMS or phone call…

Read more

SharePoint Online: How to Disable Download Option for Documents?

Requirement: Disable download document options in SharePoint Online. SharePoint Online: How to Disable Download Document Button? Are you looking for a way to disable the download option for documents in SharePoint Online? Well, One of the great features of SharePoint Online is that users can easily access and download documents. However, there…

Read more

How to Run PowerShell Scripts for SharePoint Online?

Requirement: Run PowerShell Script in SharePoint Online. How to Run a PowerShell Script for SharePoint Online? PowerShell is a powerful scripting language that can be used to automate SharePoint Online tasks! This blog post will show you how to execute PowerShell scripts for SharePoint Online. Unlike SharePoint On-premises PowerShell scripts that must…

Read more

SharePoint Online: Add Site Collection Administrator using PowerShell

Requirement: Add Site Collection Administrator in SharePoint Online Site Collection Administrator in SharePoint Online SharePoint site collection administrators have full access rights to manage all sites under a site collection. When creating a site collection, a Global Administrator or SharePoint Online Administrator specifies the primary site collection administrator for the site. Unlike…

Read more

How to Connect to SharePoint Online from PowerShell?

I know I said it several times, but I’ll say it again: I’m a big fan of PowerShell! PowerShell is an administrative task automation and configuration management framework from Microsoft that allows you to administer Microsoft products, including SharePoint Online. PowerShell makes repetitive tasks easier and makes our life smarter, and it…

Read more