SPSiteManager API Endpoint not creating requested site #10128
Labels
sharepoint-developer-support
sharepoint-developer-support
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
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
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'
The text was updated successfully, but these errors were encountered: