SharePoint Document Issues

Fix the SharePoint People Web Part “Name Cannot Be Blank” Error

Nimra MalikNimra Malik Nov 14, 2026 868 views

Question details

The user needs to save a modern SharePoint page after adding a person to the People web part.

Fix the SharePoint People Web Part “Name Cannot Be Blank” Error
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Editing a modern page and adding a person to the People web part.
Observed behavior
An extra blank field appears, and the page cannot be saved because of a “Name cannot be blank” error.
Before you start

Confirm that you have permission to edit the page and identify it in the site's Site Pages library. Check that the page has a meaningful title and file name before adding people.

Solution 1Recommended

Give the SharePoint page a valid name and retry

Use this method first when the People web part prevents a modern page from being saved.

1
Check the page title

Open the modern page, select Edit, and enter a nonblank title in the page title area.

2
Check the page file name

Open Site contents > Site Pages, find the page, and use its menu to rename it if the file name is missing or unsuitable.

3
Save and add people again

Return to the page, select Save as draft, then edit the People web part and add the people again. Select Save as draft or Publish to check whether the error is resolved.

Give the SharePoint page a valid name and retry
Free Microsoft Office alternative

Work with Office documents in WPS Office

WPS Office is a free, lightweight alternative for working with Office documents in a familiar interface. Its format compatibility helps you move existing files into your workflow, though it does not fix SharePoint People web part errors.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Use a familiar interface to work with documents, spreadsheets, and presentations.Move existing Office files into a lightweight, easy-to-use workspace.Prepare documents for a SharePoint site while troubleshooting the page separately.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the People web part show “Name cannot be blank”?

The error may occur if the modern page does not have a valid name. Check the page title in Edit mode and the file name in Site contents > Site Pages, then save the page before adding people again.

Where can I rename a SharePoint page?

Go to Site contents > Site Pages, locate the page, and use its menu to rename the file. You can also open the page, select Edit, and change its displayed title.

How can I tell whether the original page is the problem?

Select New > Page on the site, enter a title, add a People web part, and try to save it. If the new page works but the original does not, the issue may be specific to the original page.

What should I do if the error occurs on several sites?

Try the same action in a private browser window. If it still fails, give your SharePoint administrator a screenshot and details of which sites and site collections are affected.