logo
search
Others

How to Update a Modern People Web Part Title with PowerShell

Amos GikundaAmos Gikunda Oct 10, 2026 869 views

Question details

Users need to update the visible heading title of a modern SharePoint People web part programmatically using a PowerShell script.

How to Update a Modern People Web Part Title with PowerShell
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Attempting to automate modern SharePoint page customizations by modifying the People web part heading title via PowerShell.
Observed behavior
Using standard properties through Set-PnPPageWebPart (such as PropertiesJson or the Title parameter) updates the internal web part name instead of the visible heading title on the page.
Before you start

Ensure you have Site Collection Administrator privileges and the latest version of the PnP PowerShell module installed before running or testing custom SharePoint scripts.

Solution 1Recommended

Seek Assistance in Microsoft Q&A for SharePoint Development

Because modifying the visual title via PowerShell requires advanced custom SharePoint development and interacting with ServerProcessedContent, the most effective solution is to consult Microsoft Q&A experts.

The standard Set-PnPPageWebPart cmdlet primarily targets out-of-the-box internal properties. Updating the visible heading often requires complex JSON manipulation within the web part's ServerProcessedContent node, which falls outside standard administrative tasks and into custom development.

1
Extract current web part properties

Run a script to extract the current configuration of your target People web part, making sure to capture the full Web Part JSON and the ServerProcessedContent values.

2
Navigate to Microsoft Q&A

Open your browser and visit the official Microsoft Q&A community platform.

3
Post your query with the right tags

Create a new question explaining that standard parameters are updating the internal name rather than the heading title. Tag your question with 'SharePoint Development' to ensure it reaches developers capable of handling custom scripting requirements.

4
Include necessary details

Attach your script snippet, the extracted JSON, and the ServerProcessedContent values in your post so experts can provide targeted code corrections.

Seek Assistance in Microsoft Q&A for SharePoint Development
Alternative manual method: If you only need to update a few pages, you can manually edit the SharePoint page through the web interface and type the new title directly into the People web part heading.
Free Microsoft Office alternative

Looking for a Lightweight Alternative for Your Daily Office Tasks?

While advanced SharePoint administration requires specific Microsoft environments and PowerShell scripting, you do not need heavy software for your everyday document creation and editing tasks. WPS Office provides a lightweight, comprehensive suite for all your document needs.

  1. 1. Download the software: Visit the official WPS Office website and click the Free Download button.
  2. 2. Install the suite: Run the downloaded setup file and follow the straightforward on-screen instructions to install.
  3. 3. Manage your documents: Open WPS Office to instantly start creating, viewing, and editing your office files and IT documentations.
Easily draft, document, and share your PowerShell scripts and IT administration guides in clean Word or PDF formats.Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx) ensuring zero workflow disruption.Lightweight design that installs quickly and consumes minimal system resources.Familiar and intuitive user interface allowing for a seamless transition with no learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't Set-PnPPageWebPart change the visible title of the People web part?

Standard parameters like Title or PropertiesJson in the Set-PnPPageWebPart cmdlet often target the internal web part name used by the system. The visible heading on the actual SharePoint page is usually stored within the ServerProcessedContent node, which requires targeted JSON manipulation to update programmatically.

What information should I include when asking SharePoint development questions online?

To get the fastest and most accurate help in developer forums, always include your SharePoint environment version (e.g., SharePoint Online), your current PowerShell script snippet, the specific web part JSON structure, and the ServerProcessedContent values you are trying to modify.

Is there a way to rename the People web part without using PowerShell?

Yes. If you do not require programmatic automation, you can rename the heading title directly through the SharePoint user interface. Simply navigate to the page, click 'Edit', click on the web part title area, type your new heading, and republish the page.