GitHub Icon Image
GitHub

Matrix of Sample Distribution by Tool

There are 343 scenarios and 449 scripts in the site | Generated: 27 Aug 2025 06:04:59

PnP PowerShell: 283
Cli for Microsoft 365 PowerShell: 118
Cli for Microsoft 365 Bash: 1
Graph SDK: 23
SPO Management SDK: 24
All Tabs: 504

Sample PnP
PowerShell
Cli for Microsoft 365
PowerShell
Cli for Microsoft 365
Bash
Graph
SDK
SPO Management
Shell
Kick-off & download Access-Review results across all groups - - - 👍 -
Create AD app, add permissions and connect to SharePoint - - - - -
Analyze users for known data breaches with have i been pwned - 👍 - - -
List out all Azure AD Apps along with their Credentials - - - 👍 -
Prevent Guests from Being Added to a Specific Microsoft 365 Group or Microsoft Teams team 👍 - - - -
Delete all Microsoft 365 groups and SharePoint sites 👍 👍 - - -
Ensuring m365 group owners are m365 group members 👍 👍 - - -
Export & Compare Conditional-Access Policies (drift-detect) - - - 👍 -
Get Azure AD app permission info (delegated or application) - 👍 - 👍 -
Identifying Duplicate Microsoft 365 Group Names 👍 - - - -
Get Tenant ID 👍 - - - -
Grant Managed Identity permissions to audit and cleanup SPFx App Principal permissions 👍 - - 👍 -
Create Dynamic Install and Uninstall Azure AD Groups using Graph - - - 👍 -
Inventory Guest Sign-In Activity with CLI for M365 and Microsoft Graph - 👍 - - -
Delete inactive Guest User - - - 👍 -
Automate Renewal of Expiring M365 Groups or or Microsoft Teams teams 👍 - - - -
Replace a user's membership in selected Microsoft 365 Groups or Teams 👍 - - - -
Replace an owner in a Microsoft 365 Group or Microsoft Team 👍 👍 - - -
Update Global Microsoft 365 Group Settings 👍 - - - -
Delete all resources from a resource group - - - - -
Get data from OpenAI deployment/model - - - - -
Bring you own data with Azure Open AI example - - - - -
Restore large number of items from SharePoint Recycle bin in bulk 👍 - - - -
Undelete items from SharePoint Recycle bin 👍 👍 - - -
Bulk Deployment of Teams Toolkit Declarative Agents - - - - -
Copilot Studio assets automation - 👍 - 👍 -
Create and apply template to Teams Toolkit Declarative Agent - - - - -
Create Modern Sites as alternative primary language 👍 👍 - - 👍
Create bulk dummy documents in SharePoint Document library 👍 - - - -
Create bulk dummy documents inc versions in SharePoint Document library 👍 👍 - - -
Export data from MS Search 👍 - - - -
Export Inactive Sites Based On Days To CSV 👍 - - - 👍
Export OneDrive Sites 👍 - - - 👍
Fetch User Profile Properties From Site Collection And Export To CSV 👍 👍 - - -
Export all flows in environment 👍 - - - -
Get Flows Connected to SharePoint - - - - -
Simple way how to automate your flowtest - 👍 - - -
Flows runs day summary 👍 - - - -
Flow run status list dashboard - 👍 - - -
Generate Markdown Report of LCIDs 👍 👍 - - -
How to to get all site collections with their sub webs 👍 👍 - - -
Get disabled or inactive user accounts 👍 - - - -
Get Site Collection invalid user accounts 👍 - - - -
Assign Graph permissions to a Managed Identity - - - - -
Authenticate with and call the Microsoft Graph 👍 👍 👍 👍 -
Microsoft Graph PowerShell SDK for Common Operations - - - 👍 -
Connect to Graph using V1 or V2 or the SDK - - - 👍 -
Create test users from list or use ChatGPT to generate - - - 👍 -
Send a delayed message - - - 👍 -
Deactivate User License - - - 👍 -
Download Library contents as PDF 👍 👍 - - -
Get users by license and review last signed in - - - 👍 -
Microsoft 365 License Monitoring and Alert Script - - - 👍 -
Locate all Teams having a Wiki and export the list to CSV - - - 👍 -
Multilingual SharePoint Page Summarization with Open AI API and Microsoft Graph PowerShell SDK - - - 👍 -
Bulk Email Send from CSV using Microsoft Graph API - - - 👍 -
Add or Update User Photo - - - 👍 -
Uploads a large file to SharePoint using MS Graph REST API and PowerShell - - - - -
Get Unified log for SharePoint DLP Exchange and Entra 👍 👍 - - -
Get Started with Tooltip for Connected Account - - - - -
Modernize Blog Pages 👍 - - - -
Bulk Convert Classic Publishing Pages to Modern Pages 👍 - - - -
Modernizing classic pages from on-premises sites 👍 - - - -
Export OneDrive Admins 👍 - - - -
Get TfL (Transport for London) status with OpenAI function calling feature - - - - -
Copy Planner plan 👍 👍 - - -
Planner migration to SharePoint list 👍 👍 - - -
PnP Modern Search V3 usage scanner 👍 - - - -
Replace owner in all Power Automate flows 👍 👍 - - -
Add/Remove users(bulk) from Power Apps from CSV file - - - - -
Get all PowerApps in your tenant - - - - -
Get all Bootstrap Icons to use in your powerapps - - - - -
Export all PowerApps details and its Role assignments from Tenant in CSV format - - - - -
Remove delete option on a document library 👍 👍 - - -
Report of Private Teams channels to Excel 👍 👍 - - -
Report of where a Term is used 👍 👍 - - -
Reset files permission unique to inheritance 👍 👍 - - -
spfx-install.sh - - - - -
Activate a site feature in SharePoint online 👍 👍 - - -
Add App Catalog to SharePoint site 👍 👍 - - 👍
Add bulk users to SharePoint site groups from CSV. 👍 👍 - - 👍
Add Content Type Hub with calendar format field to List 👍 - - - -
Add demo content from a website such as Wikipedia 👍 - - - -
Add a document library web part to a page 👍 👍 - - -
Add dummy folders and files to a SharePoint library 👍 👍 - - -
Create fields and add to Content Types 👍 👍 - - -
Associate Form Customizer Extension with List or Libraries Form 👍 👍 - - -
Add an alternate language to SharePoint Online Site 👍 - - - -
Creates and apply custom list template - - - - 👍
Adding a new modern calendar view to a SharePoint list 👍 - - - -
Creates multiple document libraries by applying custom list template 👍 - - - -
Add multiple folders in libraries using a CSV file 👍 👍 - - -
Add multiple lists or libraries using csv file 👍 👍 - - -
Add Page template to Site 👍 👍 - - -
Creates and apply custom site design with custom column types 👍 👍 - - -
Creates and apply site designs 👍 - - - -
Add SharePoint Framework package to the app catalog and Azure AD app certificate - 👍 - - -
Add a tenant theme to SharePoint Online 👍 👍 - - 👍
Add/Update Image in SharePoint Image column 👍 👍 - - -
Add users to follow SharePoint Sites - - - 👍 -
Allow custom scripts in SharePoint online site 👍 👍 - - 👍
Script allow copy column format in SharePoint and apply to different column. 👍 👍 - - -
Apply SharePoint JSON View Formatting 👍 👍 - - -
Apply Out-of-the-Box SharePoint Site Designs to Existing Sites 👍 - - - -
Using a PnP Site Template including files and list items 👍 - - - -
Use Invoke-PnPSiteTemplate with parameters 👍 - - - -
Associate Multiple Site Collections to Hub Site 👍 👍 - - 👍
Creation of SharePoint Online sites from CSV 👍 👍 - - -
Bulk delete recycle bin items from a site in batch 👍 - - - -
Bulk import data from multiple files 👍 - - - -
Bulk Publish Syntex Models To Libraries 👍 - - - -
Bulk remove retention labels from files in a SharePoint Library 👍 - - - -
Change SharePoint Online List URL 👍 - - - -
M365 Consultant's Script Kit - Change Retention Labels 👍 - - - -
Scan for potential inaccessible site collection homepages 👍 👍 - - -
Clean Up Unwanted Site Columns from Content Types and Lists/Libraries - 👍 - - -
Compare files hash from two different SharePoint tenants 👍 - - - -
Enabling and Configuring Document ID in SharePoint 👍 - - - -
Copy the folder structure of a directory to a SharePoint list 👍 - - - -
Copy a hub navigation from a source site to any desired target hub site 👍 - - - -
Copying a document library between different tenants with resume functionality 👍 - - - -
Copy library view to another library(ies) 👍 👍 - - -
Copy SharePoint List 👍 👍 - - -
Copy Custom Web Part Settings 👍 - - - -
Copy Webparts From One Page To Another Page 👍 - - - -
Bulk library generation 👍 👍 - - -
Create Colored Folder 👍 👍 - - -
Create Documentset in SharePoint Library 👍 - - - -
Create Library and add custom Content Type 👍 👍 - - -
Create Modern SharePoint Pages and add web parts 👍 - - - -
Create a multi-hub set of communication sites 👍 - - - -
Create a basic SharePoint FAQ page - 👍 - - -
Create SharePoint Groups in Bulk using CSV file 👍 👍 - - 👍
Query advanced CSOM properties with PnP PowerShell 👍 - - - -
Deletes company-wide and anonymous sharing links 👍 - - - -
Deletes expired and older sharing links for folder, file and item in SharePoint 👍 - - - -
Delete entire Hub site structure 👍 - - - -
Delete orphaned temporary pages from Site Pages 👍 👍 - - -
Deletes sharing links for folder, file and item in SharePoint 👍 - - - -
Delete SharePoint Online sites that have retention policies 👍 - - - -
Remove unused API Permissions assigned to SPFx App Principal - - - 👍 -
Deploys and Installs SharePoint Framework (SPFx) solutions to Hub Site and Associated Sites 👍 - - - -
Deploying SPFx Packages from Tenant App Catalog to Hub Site and Associated Sites 👍 - - - -
Deploy Microsoft Clarity Application Customizer for Site Collections 👍 - - - -
Extract the configuration of a PnP Modern Search results web part and apply it on another site collection 👍 - - - -
Deploy sppkgs and install apps 👍 - - - -
Detect Installed Theme 👍 - - - -
Creating SharePoint Agents (.agent Files) with PowerShell 👍 - - - -
Report and Export Solutions from M365 Developer Tenant 👍 - - - -
Disable SharePoint List Commenting at list level 👍 👍 - - -
Disable SharePoint List Commenting at tenant level 👍 👍 - - 👍
Disable Web Templates Gallery First Run Dialog 👍 - - - -
Enable modern creation forms for Document sets 👍 - - - -
Configure SharePoint Document Set 👍 - - - -
Download all documents from all document libraries in a site, including version history 👍 - - - -
Download all files from array of documents urls and archive them 👍 👍 - - -
Download all files from Document Libarary/Folder 👍 👍 - - -
Download sppkgs from App Catalog 👍 - - - -
Empty SharePoint Online Site Recycle Bin 👍 👍 - - -
Empty the tenant recycle bin 👍 👍 - - 👍
Enable and Disable App Bar in SharePoint Online 👍 - - - 👍
Enable/Disable Search Crawling on Sites and Libraries 👍 👍 - - -
Enable page scheduling on a modern site pages library 👍 - - - -
Enable Site Collection App Catalog on a specific sites using CSV 👍 👍 - - 👍
Ensure all required Content Types are available before Get-PnPSiteTemplate 👍 - - - -
Backup all custom formatting on a site 👍 - - - -
Export all site pages details from Site Pages library 👍 - - - -
Extract the employees shown on modern pages (Author byline) in a selection of Site Collections to CSV 👍 - - - -
Sample showing how to export basic site collection properties to a CSV file 👍 - - - -
Export checked-out files in all sites associated with a hub site to CSV 👍 - - - -
Getting checked-out files in the tenant using Search 👍 - - - -
Export Content Type Details To CSV 👍 👍 - - -
Export CSV To SharePoint List Data 👍 👍 - - -
Export duplicate files from SharePoint Online 👍 - - - -
Export access shared links from SharePoint Library 👍 👍 - - -
Exporting Document libraries inc folders and versions for selected Site Collections to a Fileshare/drive 👍 - - - -
Export of the Hierarchy of Hub Sites 👍 👍 - - -
Get Hub Sites Information And Export It To CSV 👍 👍 - - 👍
Export and import library folder structure 👍 - - - -
Export HTML content from SharePoint Online modern pages 👍 - - - -
Extract the employees shown in the People Web part on pages in a selection of Site Collections to CSV 👍 - - - -
Report of SharePoint Files Incidents 👍 - - - -
Export SharePoint List Data to CSV with attachments 👍 👍 - - -
Export all content from an existing SharePoint site 👍 - - - -
Get Site Usage Reports And Export It To CSV 👍 👍 - - -
Get SharePoint Site Collection and their Subwebs Permissions And Export It To CSV 👍 - - - -
Extract Space content type page as template and save to SharePoint 👍 - - - -
Export of pages that use Stream (Classic) Web Parts 👍 - - - -
Export SharePoint Term Store terms to CSV 👍 👍 - - -
Export User Profiles to csv 👍 👍 - - -
Create a SharePoint site using the configuration of another site 👍 - - - -
Extract Modern Pages to Individual Provisioning Files 👍 - - - -
File Version Trimmer 👍 👍 - - -
Find Links in Modern Page 👍 - - - -
Find every page that contains a Modern Script Editor web part 👍 - - - -
Identifying SharePoint Site Creation Sources 👍 - - - -
Find SharePoint Framework (SPFx) Packages in Tenant and Site Collection App Catalogs 👍 - - - -
Find Web Part in Pages e.g., Twitter Web Part 👍 - - - -
Generate Demo Events for SharePoint Events List 👍 👍 - - -
Generate file count report 👍 - - - -
Report of SharePoint Storage Savings by trimming document versions 👍 - - - -
Get SharePoint Agents 👍 - - - -
Get All Apps From The App Catalog And Export It To CSV 👍 👍 - - -
Get All Hub Site Main Sites and Navigation Nodes 👍 - - - -
Get SharePoint List Fields With Required properties And Export It To CSV 👍 👍 - - -
Converting SharePoint Sharing Links to Canonical URLs 👍 - - - -
Get Checked Out Files including those with no checked in version 👍 - - - -
Get Content Type usage within a site collection. 👍 - - - -
Get custom fields within lists and libraries within a site 👍 👍 - - -
Retrieve SPFx Details from Tenant and Site Collection App Catalogs 👍 - - - -
Audit 'Everyone' and 'Everyone except external users' claim within a SharePoint site 👍 - - - -
Get (or export) an existing site structure in a SharePoint Online tenant 👍 - - - -
Get all files in a Document Library along with Created By and Modified By 👍 - - - -
Get Files with Retention or Sensitivity Labels in SharePoint Online 👍 - - - -
Retrieves all files properties within a specified folder. 👍 - - - -
Pinpoint the items/docs that hasn't been indexed yet 👍 - - - -
Find all items with unique permissions and export to csv 👍 - - - -
Scan libraries for webhook and export to csv 👍 - - - -
SharePoint List Item Version History Retrieval 👍 - - - -
Get SharePoint List Or Library Permissions And Export It To CSV 👍 👍 - - -
Export all List and Libraries with Item count and Permission in CSV 👍 👍 - - -
Retrieve Message Center announcements and post to MS Teams channel 👍 👍 - - -
Get permissions including unique permissions up to item level including sharing links 👍 - - - -
Get SharePoint Storage Usage Against Allocated Quota 👍 - - - -
Get sharing links within the tenant 👍 - - - -
Get Site Ids to URL 👍 - - - -
Get SharePoint site sharing Settings 👍 - - - -
Retrieves site id from Microsoft Graph 👍 - - - -
Get sites membership as an admin - 👍 - - -
Get membership report of a site 👍 - - - -
Get sites report throughout the tenant which has unique permissions 👍 - - - -
Retrieve & Store SharePoint Site Pages Viewers 👍 - - - -
GET API Permissions for SPFx solutions 👍 - - - -
Get storage breakdown by file size, file version size and recycle bin 👍 - - - -
How to retrieve the hierarchy of all term stores for all levels? - - - - -
Gets usage from a particular user(s) or site(s) from the Unified Audit Log 👍 - - - -
Grant permissions for a given Azure Active Directory application registration 👍 - - - -
Get permission group report of a site - 👍 - - -
Hide SharePoint list from Site Contents 👍 👍 - - -
Hide people who have lists open - - - - 👍
SharePoint Online Hub Site Association 👍 👍 - - 👍
Import CSV to an existing SharePoint List 👍 - - - -
Import taxonomy terms and labels into a term set 👍 - - - -
Install and deploy SPFx solution - 👍 - - -
Add Large List items to PnP Template 👍 - - - -
SharePoint List Content Type Migration with Data Preservation - - - - -
Disable Quick property editing (Grid view) from SharePoint list 👍 👍 - - -
Download all the content type document templates files associated with a library 👍 👍 - - -
Export / Import list formatting 👍 - - - -
Get/add/update/delete list items in large lists 👍 👍 - - -
Read SharePoint List Items Using CAML Query 👍 👍 - - -
List all external users in all site collections 👍 - - - 👍
List external users across all sites and in what site groups they are 👍 👍 - - -
List all SPFx field customizer 👍 - - - -
Update content type of files in folder with system update 👍 - - - -
Locate orphaned Termstore Terms 👍 - - - -
Integrate MailChimp Campaigns API with SPO to create wiki pages based on email sent from MailChimp 👍 - - - -
SharePoint Modern Page Publishing Report 👍 👍 - - -
SharePoint Modern Page URL Report 👍 - - - -
Generate a csv report for a selection of site collections showing the time of the most recent update by any user 👍 - - - -
Copying files between different SharePoint libraries with custom metadata 👍 - - - -
Updating Multiline Text Field Properties in SharePoint 👍 - - - -
Open Office documents in the Client 👍 👍 - - -
Pins Fields to the Filter Pane in SharePoint Libraries 👍 - - - -
Exporting and Migrating SharePoint Libraries with Folders 👍 - - - -
Provision Home Page to a SharePoint site 👍 - - - -
Create a Quick Links web part with items defined in a datasource 👍 - - - -
Lock and Unlock a file leveraging Microsoft Graph API 👍 - - - -
SPO Recover Deleted Meeting Recordings 👍 - - - -
Get SharePoint Site Recycle Bin Items And Export It To CSV 👍 👍 - - -
Register and login to SharePoint using an app 👍 - - - -
Register SharePoint Organization Assets Library 👍 👍 - - 👍
Reindex Search index for lists where a specific term is used (when you have renamed the term) 👍 - - - -
Reindex SharePoint sites 👍 👍 - - -
Remove site access requests 👍 - - - -
Delete custom color themes from SharePoint 👍 👍 - - 👍
Delete a library exceeding the list threshold limit 👍 👍 - - -
Delete custom SharePoint list designs 👍 - - - -
Remove SharePoint Organization Assets Library 👍 👍 - - 👍
Remove orphaned redirect sites 👍 - - - -
Remove Title Area from SharePoint Page 👍 👍 - - -
Delete custom SharePoint site designs 👍 👍 - - 👍
Delete custom SharePoint site scripts 👍 👍 - - 👍
Remove the Teamify link on Group sites 👍 👍 - - -
Remove modern web parts from pages 👍 - - - -
Renaming a SharePoint Hub Site URL 👍 - - - -
Reorder Content Types in SharePoint List 👍 - - - -
Repair IdMismatch for user cross all Sites 👍 - - - -
Replace specific users in the People web part 👍 - - - -
Request Reindex of SharePoint User Profile Properties 👍 - - - -
SPO Restore Multiple Items 👍 - - - -
Retrieve Effective Permissions of an user within SharePoint Sites 👍 - - - -
Run jobs in parallel using ForEach-Object -Parallel to iterate SharePoint site collections 👍 - - - -
Change the Placeholder text in SharePoint Search Box 👍 - - - -
Run A Search Query And Export To CSV 👍 👍 - - -
Audit Service Principal Access to SharePoint Sites with Sites.Selected Permissions 👍 - - - -
Set Home site for SharePoint online tenant 👍 👍 - - 👍
Set Page Author Byline 👍 - - - -
Set SharePoint regional settings 👍 - - - -
Setup example site 👍 - - - -
SharePoint Online - Export SharePoint Alerts 👍 - - - -
List of active sites in Tenant with Admins and storage used 👍 - - - -
M365 Consultant's Script Kit 👍 - - - -
Translate columns in a SharePoint list 👍 - - - -
Trim file versions and archive Site Collection using Microsoft365 Archive 👍 - - - -
Retracting SPFx Solutions from Hub Site and associated sites 👍 - - - -
Update SharePoint Site Logo and Thumbnail 👍 - - - -
Update Content type from Hub on sites 👍 - - - -
Add document templates to the New dropdown in a document library 👍 - - - -
How to Hide the 'See All' Button in the Highlighted Content Web Part 👍 - - - -
Update large list with PnP-Batch with retries to address throttling challenges 👍 - - - -
Update list icons & color 👍 - - - -
Update a SharePoint list item without changing the Modified By and Modified fields 👍 - - - -
Update web part properties on modern pages 👍 - - - -
Update SharePoint Page Banner Image 👍 👍 - - -
Sample showing how to ensure that the Role/Title in each People web part is updated 👍 - - - -
Sample on how to locate the classic Search Result Web part and check the Remove Duplicates setting 👍 - - - -
Update user profile properties 👍 👍 - - -
Export a csv report on all Microsoft Stream videos 👍 - - - -
Add a SharePoint Document Library as a Tab in Microsoft Teams 👍 👍 - - -
List and archives inactive Teams - - - - -
Bulk Create Teams with JSON File 👍 👍 - - -
Clone a Microsoft Team with\without content 👍 - - - -
Create a Teams based on a existing team template 👍 - - - -
Export Teams's Channel Conversation to html file - 👍 - - -
Fetch Microsoft Teams Details And Export To CSV - - - - -
Export Microsoft Teams Direct Routing Calls - 👍 - - -
Export Microsoft Teams PSTN call logs - 👍 - - -
List all teams and teams members in Microsoft Teams in the tenant 👍 👍 - - -
Force Team Files Tab Provision 👍 - - - -
Teams Full Report 👍 👍 - - -
Retrieving SharePoint Site URL for Teams Channels 👍 - - - -
Get Teams Templates 👍 - - - -
Get All Teams App Descriptions 👍 - - - -
List guests within Teams in a tenant 👍 👍 - - -
List installed apps within Teams in a tenant - 👍 - - -
List ownerless teams 👍 - - - -
Teams List Shared Channels & External-Tenant Detector - - - 👍 -
List all Microsoft Teams team's Owners and Members 👍 👍 - - -
Tenant Governance Compliance Report - 👍 - - -
Get notified in Microsoft Teams about SharePoint health incidents - 👍 - - -
Testing user preferred language of SharePoint site 👍 👍 - - -
Export a csv report on all Whiteboards - - - - -
- 283 118 1 23 24
Back to top Script Samples
Generated by DocFX with Material UI