Skip to content

SiteStatus = 4 means site already exists in the given tenant with given url #7416

@anisiaalexandra

Description

@anisiaalexandra

Hi,

I am writting this in the hope that people having the same issue as me might read it and would save them some trouble.
We have created an index based provisioning engine. At one point in time the engine would refuse to create sites, but not give any errors whatso ever.
After some testing we found out that when using the creation endpoint we would receive as answer the following json and no error:
"SiteId": "",
"SiteStatus": 4,
"SiteUrl": ""
Status 4 is missing from the documentation we can find here https://docs.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest, but it actually means your site already exists in the given tenant.
Hope Microsoft can update with the full list of SiteStatus to give us a bit more error handling possibilies.

Regards,
Anisia Pop


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APIarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devtype:archive-old-issueIssues which are closed as tool old for active work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions