How to Change SharePoint Online Site Privacy with PowerShell and UI
Question details
The user needs to change the privacy status of a SharePoint Online site (e.g., from Private to Public) using PowerShell or the standard user interface.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Managing SharePoint site access and visibility for team members or external public access.
- Observed behavior
- The user encounters a potential interface bug where the site privacy status does not immediately reflect the new setting on the frontend after updating.
Ensure you have Site Owner or SharePoint Administrator permissions before attempting to change site privacy settings, and confirm that the SharePoint PnP PowerShell module is installed if you plan to use scripts.
Change Privacy via SharePoint Site Settings
The most straightforward way to update your site's privacy is through the built-in Site Information panel. This is recommended for single-site changes.
You can easily toggle a site between Public and Private using the standard SharePoint interface. However, be aware that there is a known UI delay where the interface might still display the old status immediately after the change.
Navigate to your SharePoint Online site, click the gear icon (Settings) in the top-right corner, and select 'Site information'.
Locate the 'Privacy settings' dropdown menu and change the selection from 'Private' to 'Public' (or vice versa).
Save your changes and manually refresh the web page. If the old status still shows, repeat the process 2-3 times to force the UI to update.

Change Privacy using PnP PowerShell
Use this solution if you need to script the privacy change for multiple sites or prefer command-line administration.
Verify Settings in SharePoint Admin Center
If the site interface fails to update after several attempts, use the Admin Center to verify or enforce the change.
Looking for a Simpler Way to Manage and Share Documents?
While SharePoint is highly capable for complex enterprise environments, managing site permissions and UI quirks can be frustrating. For teams looking for an effortless way to create, co-edit, and share documents, WPS Office offers a lightweight, highly compatible alternative with built-in cloud sharing.
- 1. Download and Install: Download WPS Office for free and install it on your PC, Mac, or mobile device.
- 2. Save to WPS Cloud: Create your document and save it directly to WPS Cloud for secure online storage.
- 3. Share with Custom Permissions: Click 'Share' to generate a secure link, effortlessly choosing whether it's public for anyone to view or private for specific collaborators.

Frequently Asked Questions
Why does my SharePoint site still say Private after I changed it to Public?
This is a known interface delay or bug in SharePoint Online. Even though the backend permissions have updated to allow public access, the frontend UI may cache the old 'Private' status. Refreshing the page a few times or verifying the site in the SharePoint Admin Center will usually confirm the correct status.
What permissions are required to change SharePoint site privacy?
You must have at least Site Owner permissions for the specific SharePoint site, or be assigned the SharePoint Administrator role in the Microsoft 365 admin center.
Can I use standard PowerShell to change site privacy?
Standard SharePoint Online Management Shell commands have limited capabilities for toggling Microsoft 365 group-connected site privacy. It is highly recommended to use the PnP PowerShell module (Patterns and Practices), which is purpose-built for these configurations.
What should I do if the privacy setting refuses to update completely?
If both the site interface and the SharePoint Admin Center fail to update the privacy status after multiple attempts, you should generate a HAR network log and open a support ticket with Microsoft Support via the Microsoft 365 admin center for deeper investigation.




