Not able to change Sharepoint site from private to public (statusCode='400(BadRequest)

Roy Shaft 0 Reputation points
2026-10-29T12:13:24.5333333+00:00

Hello,

We are trying to change one of our Sharepoint sites from private to public.

This is the error code that is displayed:

statusCode='400(BadRequest)' requestId='[Moderator note: Personally Identifiable Information removed]

What might be causing this error?

What might be some solutions to correcting this error?

Thank you.

Microsoft 365 and Office | SharePoint | For education | Windows
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-10-29T12:14:28.1433333+00:00

    For a normal Microsoft 365 group-connected team site, change the privacy through Settings → Site information → Privacy settings → Public → Save; if that returns HTTP 400, check whether a sensitivity label locks the site to Private before using the administrative group fallback.

    1. Check for a sensitivity-label lock

    A sensitivity label configured with Privacy = Private overrides the existing privacy setting and locks it. The site cannot be changed to Public until the label is removed or replaced with a label configured as Public or None.^1^

    1. Open the site and select Settings → Site information.
    2. Check the Sensitivity value.
    3. If a label is applied, review its container privacy configuration in Microsoft Purview:
      • Public permits anyone in the organization to access the site.
      • Private locks it to approved members.
      • None leaves owners able to choose the privacy setting.
    4. Remove the restrictive label or apply an approved label configured as Public or None.
    5. Return to Settings → Site information, select Public, and save.

    For a group-connected site, a Microsoft 365 group owner can change the label; for a site that is not group-connected, a SharePoint site administrator is required.^1^

    2. Confirm that the site supports Public/Private privacy

    The Public/Private selector applies to team sites. Public means anyone inside the organization can access the site; it does not make the site publicly accessible on the internet.^2^

    Check the site’s origin:

    • Standard group-connected team site: It supports changing the privacy setting.
    • Communication site or nongroup-connected site: Manage access through SharePoint permissions rather than Microsoft 365 group privacy.
    • Teams private-channel site: It cannot be made public independently. Membership and permissions are synchronized from the private channel, and private channels cannot be converted to another channel type.^3^

    For a supported group-connected site, the documented site path is Settings → Site information.^4^

    3. Use Exchange Online PowerShell as the administrative fallback

    If this is a group-connected team site, no restrictive sensitivity label is applied, and the UI still returns 400, an administrator with the required Exchange Online permissions can update the associated Microsoft 365 group directly. AccessType accepts Public and Private.^5^

    # Connect using an account with the required Exchange permissions.
    Connect-ExchangeOnline
    
    $group = "[Email]"
    Set-UnifiedGroup -Identity $group -AccessType Public
    
    Get-UnifiedGroup -Identity $group |
        Select-Object DisplayName, AccessType
    

    The expected result is AccessType : Public. Then reopen the SharePoint site and check Settings → Site information.

    4. Check ownership and escalate if necessary

    The operation requires appropriate owner or administrative permissions. A SharePoint administrator can inspect and update ownership under:

    1. SharePoint admin center → Sites → Active sites
    2. Select the site.
    3. Select Membership.
    4. Verify that the intended account is a group owner or site administrator.^6^

    If both the UI and Set-UnifiedGroup fail after confirming the site type and label configuration, open a Microsoft 365 support request and include:

    • The UTC timestamp of the failed attempt
    • Site URL and site type
    • Whether a sensitivity label is applied
    • The full error response
    • Request ID [GUID]

    A 400 response alone indicates that the service rejected the request; it does not identify which policy or site condition caused the rejection.


    References

    1. Use sensitivity labels to protect collaborative workspaces (groups and sites)
    2. Office 2019 - 2021 and Web (#tab/office-2019-2021-and-web)
    3. IT Admins - Private channels in Microsoft Teams
    4. Default SharePoint groups
    5. Set-UnifiedGroup-Description
    6. Manage site admins
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Alina Le 5,805 Reputation points Independent Advisor
    2026-10-29T13:19:26.0666667+00:00

    Hello Roy Shaft

    Several factors can affect the ability to change a SharePoint site from "Private" to "Public". The following checks may help identify whether any site settings, group settings, or organizational policies are related to the behavior you're seeing.

    1/ Check whether a Sensitivity Label is applied

    • Go to "Site Settings" -> "Site Information".
    • Review the "Sensitivity Label" assigned to the site.
    • If a label is configured to manage site privacy, it may affect whether the site can be changed to Public.

    Use sensitivity labels to protect collaborative workspaces (groups and sites)

    2/ Verify the site type

    • Confirm whether the site is a "Microsoft 365 Group-connected Team Site", "Communication Site", or "Teams Private Channel Site".
    • Privacy settings are handled differently depending on the site type.

    Create a site in SharePoint

    3/ Review the associated Microsoft 365 Group settings

    • Open "Outlook on the web" and locate the Microsoft 365 Group associated with the site.
    • Check whether the group's privacy setting can be updated from "Private" to "Public".
    • Verify whether the SharePoint site's privacy setting reflects the group setting.

    Make Microsoft 365 Groups public or private

    4/ Review settings in the SharePoint Admin Center

    • Ask a SharePoint or Microsoft 365 Administrator to review the site configuration.
    • Check whether any organization-level settings or policies may be affecting privacy changes.

    Manage sites in the SharePoint admin center

    _

    Hopefully, one of the checks above helps identify a setting or policy that may be related to the issue. However, If the issue continues after the above checks, I will guide you to reach out Microsoft Enginnering Support for further investigation.

    Kind regards,

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.