Share via

Subject: Persistent ID3035 Error with /_api/SPSiteManager/create Despite Correct Permissions

Anonymous
2025-03-28T09:12:35+00:00

Hello,

I’m attempting to create a SharePoint site using the /_api/SPSiteManager/create endpoint with an Azure AD app that has Sites.FullControl.All permissions. Despite ensuring the token audience is 00000003-0000-0ff1-ce00-000000000000 (or https://[tenant].sharepoint.com) and the request body includes required fields (__metadataStorageMaximumLevel, etc.), I consistently receive:

{"error_description":"ID3035: The request was not valid or is malformed."}

Details:

  • Token: Validated via jwt.io (correct aud/roles).
  • Request Body:

jsonCopy

    {
      "request": {
        "__metadata": { "type": "SP.SiteCreationRequest" },
        "Title": "TestSite",
        "Url": "sites/testsite",
        "Lcid": 1033,
        "Template": "STS#3",
        "Owner": "******@domain.com",
        "StorageMaximumLevel": 100
      }
    }
  • Headers: Accept: application/json;odata=verboseContent-Type: application/json.
Microsoft 365 and Office | SharePoint | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-03-28T10:20:35+00:00

    Hi Amal Nouira,

    Good day to you!

    I hope you are doing well. Thanks for reaching out to our Microsoft Community Forum.

    We would love to help you with your query, however, since it is related to API and SharePoint Development, and our team focuses on queries about SharePoint's built-in features, in order to ensure that you receive accurate technical support, please visit the Microsoft Q&A Community, which is a forum dedicated to API and SharePoint Development, I recommend you post a new thread there for expert help (click "Ask a question" in the upper-right corner and add the tags SharePoint and SharePoint Development in the Tags field).

    Please accept my apologies for redirecting you to the above team support, as the moderators in this community have limited resources and knowledge in troubleshooting.

    Thanks for your understanding.

    George | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments