A complete walkthrough with PnP Core SDK and REST-based Graph integration GitHub repo: https://github.com/greian/AzureFunctions.ConvertToPdf Why I Built This In many SharePoint solutions, users expect documents to be available as PDF — whether for archiving, sharing, or publishing to external systems. Manually exporting every document is tedious, and Power Automate’s built-in convert-to-PDF action is slow, inconsistent, … Continue reading Converting Word Documents to PDF with Azure Functions, SharePoint & Microsoft Graph
Author: greian
Switching Between Different Versions of PnP.PowerShell
A guide for developers who need to work with older module versions Sometimes you update PnP.PowerShell to the latest version, and suddenly a script stops working. Maybe a cmdlet changed behavior, a regression was introduced, or you simply need to test something against an older SharePoint environment. I had a problem where version 3.1.0 of … Continue reading Switching Between Different Versions of PnP.PowerShell
How to Set Up an NPM Repository in Azure DevOps for Your SharePoint Framework Solutions
One of the most underrated productivity boosts in SharePoint Framework development is the ability to share reusable SPFx components across multiple projects. Instead of copying code between solutions or maintaining private Git repositories for shared code, the cleanest approach is: Publish reusable SPFx components as private NPM packages Host them in your Azure DevOps Artifacts … Continue reading How to Set Up an NPM Repository in Azure DevOps for Your SharePoint Framework Solutions
Automate Email Generation with JSON Column Formatting in SharePoint
As SharePoint developers, we are often asked to streamline processes for end users. One common task is providing a quick way to send prefilled emails with dynamic content straight from a SharePoint list. In this blog post, I will guide you through a simple JSON formatting solution that opens a new Outlook email window with … Continue reading Automate Email Generation with JSON Column Formatting in SharePoint
Displaying Theme Colors in a SharePoint Framework (SPFx) Web Part
Introduction As a SharePoint developer, you often need to work with themes and ensure that your customizations align with the current theme of the site. In this blog post, I will walk you through a SharePoint Framework (SPFx) solution that displays the theme colors of the current theme on a SharePoint site. This web part … Continue reading Displaying Theme Colors in a SharePoint Framework (SPFx) Web Part
Find flows in Power Automate created by specific user
Sometimes you need to find flows created by a specific user as a Power Platform Adminstrator, for example if the user is no longer in the organization. In the admin center for Power Platform, it is possible to list the flows (or the Power Apps) in an environment, but the functionality is not very good. … Continue reading Find flows in Power Automate created by specific user
Creating an RSS Feed Custom Data Source for PnP Search
Introduction In this blog post, we will walk through the steps to create a custom data source for PnP Search that fetches data from RSS feeds. We will use the RssDataSource.ts file as our reference. Read more about how to create custom data sources for the PnP Search Web Part here: https://microsoft-search.github.io/pnp-modern-search/extensibility/custom_data_sources/ Prerequisites Basic understanding of TypeScript … Continue reading Creating an RSS Feed Custom Data Source for PnP Search
Building a Likes Web Component as a PnP Search Extension
In this blog post, I will show an example of a LikesWebComponent as a search extension for the PnP Search Web Part. This component will allow users to like and unlike items for SharePoint items that are found and displayed in the PnP Search Web Part. The following image shows an example of the "Likes component" can … Continue reading Building a Likes Web Component as a PnP Search Extension
Automating Site Collection Administrator Addition for All Sites in a SharePoint Online Hub
If you need to add a user as a site collection administrator across all these sites, doing it manually can be time-consuming and prone to errors. Thankfully, PowerShell and the PnP PowerShell module can help automate this task efficiently. In this blog post, I'll guide you through a script that adds a user as a … Continue reading Automating Site Collection Administrator Addition for All Sites in a SharePoint Online Hub
Automating Content Type Updates Across Document Libraries in SharePoint Online
Introduction If you need to update all document libraries in all sites in a SharePoint Online hub from using a local content type to use a content type from the content type hub, this blog post shows how you can achieve this. Manually managing content types across multiple sites in SharePoint Online can be a … Continue reading Automating Content Type Updates Across Document Libraries in SharePoint Online