SharePoint / SharePoint/sp-dev-docs

SPSiteManager API Endpoint not creating requested site

Open
#10,128 7 comments 0 reactions 1 assignee View on GitHub

@Ashlesha-MSFT is already working on this.

Since Feb 26, 2025.

sharepoint-developer-support type:bug-suspected
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Developer environment

None

What browser(s) / client(s) have you tested
  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)
Additional environment details

Power Automate workflow

Describe the bug / error

We are maintaining a Power Automate workflow for creating a new SharePoint site. We recently had a scenario where a request was submitted for the creation of a SharePoint site, and the SPSiteManager/Create endpoint (https://tenantname.sharepoint.com/_api/SPSiteManager/Create) returned a success response. However, the site was not created. See below for the request body and response

Request Body:
{ "request": { "Title": "Post Luxembourg-Wallix Assessment", "Url": "https://tenantname.sharepoint.com/sites/Post Luxembourg-Wallix Assessment", "Description": "Site used to work collaboratively and store all documents, deliverables related to the assessment", "Owner": "Owner's email address", "Lcid": 1033, "WebTemplate": "STS#3", "SiteDesignId": "53e46c84-923a-406f-86ff-1fdc9dc67ae4", "ShareByEmailEnabled": true } }

Response Body:
{ "d": { "Create": { "__metadata": { "type": "Microsoft.SharePoint.Portal.SPSiteCreationResponse" }, "SiteId": "", "SiteStatus": 3, "SiteUrl": "" } } }

Steps to reproduce
Expected behavior

Create site with SiteStatus code value of '2'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.