Loading...

Sample code to check if a Folder exists else create it (SharePoint Online / PnP Framework / C#)

Sample code to check if a Folder exists else create it (SharePoint Online / PnP Framework / C#)
Sharing the sample code that we can use for checking if a particular folder exists and if not then create it in SharePoint Online. It uses PnP Framework and Azure Ad App only permissions. Here we have used the PnP Framework Library in our console application. We will be checking for and creating the folder … Continue reading "Sample code to check if a Folder exists else create it (SharePoint Online / PnP Framework / C#)"

Published on:

Learn more
Nishant Rana's Weblog – Everything related to Microsoft .NET Technology
Nishant Rana's Weblog – Everything related to Microsoft .NET Technology

Everything related to Microsoft .NET Technology

Share post:

Related posts

SharePoint: MONTH function

Returns the month of a date as a number from 1 to 12. Empty date fields return 12

8 hours ago

Migrating EWS notifications to Microsoft Graph

Migrating from the Exchange Web Services (EWS) notification framework, which supports push, pull, and streaming notification types — to the Mi...

1 day ago

Microsoft 365 & Power Platform Community Call – June 11th, 2026 – Screenshot Summary

Call Highlights   SharePoint Quicklinks: Primary PnP Website: https://aka.ms/m365pnp Documentation & Guidance SharePoint Dev Videos Issues...

1 day ago

Office 365 Outlook Get Attachment

Fetches a single email attachment by its ID, returning its name, type, size, and base64 content.

1 day ago

Fix invalid Microsoft service API permissions in SharePoint

Learn how to fix invalid Microsoft service API permissions in SharePoint and ensure smooth SPFx solution deployment.

1 day ago

Microsoft Dynamics 365 vs Salesforce: A Practical Comparison for Enterprise Teams

In many organizations currently using Salesforce, the friction does not initially feel like a CRM problem. It feels like extra steps throughou...

2 days ago

Restricting Access is The Most Important Step in a Microsoft 365 Copilot Deployment

I was asked what the most important step is in the deployment of Microsoft 365 Copilot. It's a good question. Put simply, restricted access is...

2 days ago

Microsoft 365 Copilot in Word: Improved support for complex edits

Microsoft 365 Copilot in Word will support complex edits like tracked changes, comments, and document structure while preserving formatting an...

3 days ago

Copilot Notebooks available in Microsoft 365 Copilot Chat for Basic users

Copilot Notebooks will be available in Microsoft 365 Copilot Chat for Basic users starting mid-June 2026, providing a persistent AI-powered wo...

3 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy