Fix Microsoft Teams Site Automatically Changing from Public to Private
Question details
The user's Microsoft Teams site or connected team site repeatedly reverts its visibility setting from public to private.

- Product
- Microsoft Teams
- Device & OS
- not provided
- Scenario
- Managing Microsoft Teams site visibility and group settings.
- Observed behavior
- The team site automatically changes from public to private, even after being manually set back to public.
Ensure you have the necessary administrator permissions in Microsoft 365 to review audit logs, Power Automate flows, and Microsoft Graph API applications.
Check and Disable Power Automate Flows Modifying Group Visibility
Identify automated flows or scripts using the Microsoft Graph API that are resetting the team's visibility to private.
Often, this issue is caused by a user who has created a workflow that automatically changes the group type through the Microsoft Graph API. A PATCH request sent to the group update endpoint can easily overwrite your manual visibility settings.
Check whether this visibility change affects all existing team sites or if it also occurs right after you create a brand-new team site.
Look into any Power Automate flows, scripts, or third-party applications in your environment that have permission to update Microsoft 365 groups.
Check for HTTP requests targeting 'https://graph.microsoft.com/v1.0/groups/{id}' with a PATCH method where the JSON body includes '"visibility": "Private"'.
Once you locate a workflow making these changes, turn it off temporarily. Monitor the Microsoft Teams site to confirm whether it successfully remains public.
Looking for a Lightweight, Easy-to-Use Office Suite? Try WPS Office
While troubleshooting Microsoft 365 group configurations and automated Teams settings can be complex, managing your daily document work shouldn't be. WPS Office offers a highly compatible and lightweight alternative to Microsoft Office for all your file editing needs.
- 1. Download WPS Office: Visit the official WPS website to download the free installation package for your device.
- 2. Install the Software: Follow the straightforward on-screen instructions to install the office suite.
- 3. Open Existing Documents: Directly open your existing Microsoft Office files (.docx, .xlsx, .pptx) in WPS Office with full formatting preserved.

Frequently Asked Questions
Why does my Microsoft Teams site keep reverting to private?
This usually happens when a background automated process, such as a Power Automate flow, a script, or an application using the Microsoft Graph API, is configured to periodically update the Microsoft 365 group visibility back to 'Private'.
How can I find which app is changing my Teams visibility?
You can check the Microsoft 365 audit logs in the compliance center. Search for group update events on the affected team to identify the specific user, service account, or application ID that is making the changes.
Can a Power Automate flow change team settings without my knowledge?
Yes, if a Power Automate flow was set up previously (perhaps by another admin or user) with an HTTP request action utilizing the Microsoft Graph API, it can patch a group and modify settings like visibility, mail enablement, and group types automatically in the background.




