How to create a subsite in sharepoint?

Pankaj Mandrawal 0 Reputation points
2023-03-23T08:50:45.64+00:00

I am trying to create a subsite in sharepoint but I am not getting option to create in the UI.(PFA screenshot)

From API also, it says we are only having read permissions

cScreenshot 2023-03-23 at 2.19.12 PM

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,737 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,829 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,567 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhanu Kiran 3,606 Reputation points
    2023-03-23T12:46:28.7966667+00:00

    Hello @Pankaj Mandrawal ,

    Please make sure you have enabled creation of subsites for sites in SharePoint Admin Center: https://learn.microsoft.com/en-us/sharepoint/manage-site-creation#manage-detailed-site-and-subsite-creation-settings-in-the-classic-sharepoint-admin-center

    Currently, you cannot create sites/subsites using graph API. But you can read by using the following API:

    GET /sites/{site-id}/sites
    

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.


Your answer

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