Send an HTTP Request to SharePoint

Power Automate Design Flaws & Pitfalls We Need To Be Aware

Power Automate is deceptively easy to start with — drag a few actions together, connect some services, and you have a working process without writing much code. That’s exactly why it gets adopted fast, and also why its rough edges tend to surface late: a flow that works perfectly with 10 test records can start […]

Power Automate Design Flaws & Pitfalls We Need To Be Aware Read More »

Send Email in SharePoint with SharePoint REST API and PnPjs : What You Need to Know

Important update: the API this post was originally about — SP.Utilities.Utility.SendEmail — was retired by Microsoft on October 31, 2025. If you have code using the raw REST or PnPjs examples further down, it has stopped working. The current, supported way to send email programmatically from SharePoint is Microsoft Graph’s sendMail API. This post now

Send Email in SharePoint with SharePoint REST API and PnPjs : What You Need to Know Read More »

Microsoft Graph: Everything You Need to Know

If you’ve ever had to juggle separate APIs for Outlook, SharePoint, Teams, and Azure AD just to build one integration, Microsoft Graph is the fix for that specific headache. One endpoint, one auth model, most of Microsoft 365 behind it. Here’s what it actually covers, how to authenticate against it properly, and where people usually

Microsoft Graph: Everything You Need to Know Read More »

Delete vs Recycle in SharePoint with REST API: What You Need to Know

Deleting a file in SharePoint isn’t a single action — you’re choosing between sending it to the Recycle Bin (recoverable) or removing it permanently (not, without a backup). Which one you should reach for, and how to do either one through the REST API, is what this post covers. In this post: Delete vs recycle:

Delete vs Recycle in SharePoint with REST API: What You Need to Know Read More »

SharePoint Attachments Operations with JavaScript

SharePoint attachments — files uploaded directly onto a list item, not into a document library — are common in forms and ticketing-style lists. Here’s how to create, read, and delete them with plain JavaScript against the REST API, no PnPjs required. In this post: Uploading an attachment · Reading attachments · Downloading the actual file

SharePoint Attachments Operations with JavaScript Read More »

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 »

Understanding SharePoint List Types: A Guide for Developers

SharePoint lists work like a lightweight database — each list is a table, columns are metadata fields — but built for collaborative, permission-aware environments rather than raw relational data. Here’s the built-in list types, the template IDs for creating them programmatically, and how to work with them in code. In this post: Built-in list types

Understanding SharePoint List Types: A Guide for Developers Read More »

How to Create a SharePoint Site Using Power Automate

Power Automate can create a SharePoint site end-to-end via the SPSiteManager/Create REST endpoint — no PowerShell, no admin center click-through. Useful for project sites, department portals, or onboarding sites that get created the same way every time. In this post: Prerequisites · The flow structure · Step-by-step walkthrough · Testing the flow · Checking before

How to Create a SharePoint Site Using Power Automate Read More »

How to Copy Files from One Site to Another Using Power Automate

Worth leading with directly, since it changes which flow pattern is actually worth building: Power Automate’s SharePoint connector has a dedicated Copy file action that copies server-side, without the file’s content ever passing through the flow — a meaningfully better default than the “Get file content” + “Create file” two-step pattern for most straightforward copies.

How to Copy Files from One Site to Another Using Power Automate Read More »

Does “for…of” loop wait for async awaits in JavaScript?

Worth a direct correction before anything else: a `for…of` loop does wait for an `await` inside it — each iteration pauses until the awaited promise resolves before the loop advances to the next one. That’s the opposite of what a stub answer to this question sometimes claims, and it’s easy to get backwards since the

Does “for…of” loop wait for async awaits in JavaScript? Read More »