O365

SharePoint REST API File Uploads Using JavaScript and PnPjs

Two ways to upload a file to a SharePoint document library via code — raw REST calls, or PnPjs — plus what changes once the file is big enough that a single request isn’t the right approach anymore. In this post: Option 1: raw REST API · Option 2: PnPjs · Large files: chunked uploads […]

SharePoint REST API File Uploads Using JavaScript and PnPjs Read More »

Remove All Permissions in a SharePoint Site Collection

Imagine you’ve just completed a major project in SharePoint, and now it’s time to secure the site so that only you have access. Maybe you’re preparing a site for migration, shutting it down, or ensuring compliance by restricting access to sensitive data. Whatever the case, locking down a SharePoint site collection can be crucial. In

Remove All Permissions in a SharePoint Site Collection Read More »

SharePoint Content Types: The Good, The Bad, and The Ugly

A SharePoint Content Type is a reusable bundle of columns, settings, and (optionally) a document template that you define once and apply across multiple libraries — instead of manually adding the same “Invoice Number,” “Due Date,” and “Amount” columns to every library that handles invoices. In this post: Why use content types · Creating one

SharePoint Content Types: The Good, The Bad, and The Ugly Read More »

SharePoint Data Handling with PnP Batching Queries

Updating a thousand SharePoint list items one request at a time is slow and burns through API throttling limits fast. PnPjs batching bundles multiple operations into a single HTTP call instead — here’s the syntax for both the older and current versions of the library, and the real limit worth knowing before you rely on

SharePoint Data Handling with PnP Batching Queries Read More »

How to Migrate SharePoint Online Content to Another Tenant: All Available Options

Moving SharePoint content between tenants — for a merger, acquisition, or restructuring — has more options than it used to, ranging from a manual drag-and-drop to a native Microsoft-managed pipeline. What you keep (permissions, version history, workflows) varies a lot between them, which is the real deciding factor, not just price. In this post: Native

How to Migrate SharePoint Online Content to Another Tenant: All Available Options Read More »

SPFx: Check if User is an Admin or an Owner is SharePoint

Introduction When working with SharePoint Framework (SPFx), there are times when you need to determine whether a user has administrative privileges. This is especially useful in scenarios where certain UI elements or functionalities should only be accessible to administrators. In this blog, we’ll explore how to check if a user is an admin using the

SPFx: Check if User is an Admin or an Owner is SharePoint Read More »

XSLT: Transforming XML with Style

Extensible Stylesheet Language Transformations (XSLT) is a powerful tool for transforming XML data into different formats, including HTML, plain text, and even other XML structures. It provides a structured way to apply styles and modify XML content, making it essential in various domains where XML plays a critical role. In this blog, we will explore

XSLT: Transforming XML with Style Read More »

How to Export SharePoint Site Users to an Excel Spreadsheet

When managing a SharePoint On-Premises environment, there are scenarios where you need to export site users into an Excel spreadsheet. Whether it’s for auditing, troubleshooting, or monitoring purposes, exporting users can help administrators ensure their sites are secure and compliant. In this blog, we’ll discuss how to achieve this using PowerShell scripts with SharePoint Add-Ins

How to Export SharePoint Site Users to an Excel Spreadsheet Read More »

Switching Between Classic and Modern Views in SharePoint

SharePoint is a versatile platform that has evolved significantly over the years. With the introduction of the modern experience, users benefit from a responsive design, enhanced user interface, and seamless integration with Office 365 features. However, there are times when you may need to switch between the classic and modern views due to compatibility, user

Switching Between Classic and Modern Views in SharePoint Read More »

Get SharePoint Site Users: Implementations and Use Cases

Managing users in SharePoint is a core part of ensuring that your site runs efficiently and securely. Whether you’re auditing user access, automating workflows, or simply trying to understand who has access to your site, knowing how to retrieve and query SharePoint site users is invaluable. In this post, I’ll walk you through the different

Get SharePoint Site Users: Implementations and Use Cases Read More »