Create sharepoint site/subsite using Microsoft Graph API

Dnyaneshwar Surywanshi 41 Reputation points
2020-08-20T11:51:17.927+00:00

I want to create site/subsite using Microsoft Graph API in my O365 sharepoint online.

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,576 questions
0 comments No comments
{count} votes

Accepted answer
  1. Baker Kong-MSFT 3,791 Reputation points
    2020-08-21T01:45:56.053+00:00

    Hi @Dnyaneshwar Surywanshi ,

    Based on MS Graph documentation, there is only read endpoints for site resources in Microsoft graph API, we cannot post data to create sites

    Check Working with SharePoint sites in Microsoft Graph.

    19311-image.png

    If you create an O365 enabled group, then there will be an SP site associated with this group.

    Create group

    More Reference:

    Additionally, you can turn to SharePoint Rest API/CSOM to create regular site.

    Best Regards,
    Baker Kong

    0 comments No comments

0 additional answers

Sort by: Most helpful