Create site/subsite using Microsoft Graph API
-
08-02-2021 - |
Domanda
Is there any way to create site/sub-site using Microsoft Graph API?
I know I can do this using CSOM but I am interested in using Microsoft graph for this particular case.
Soluzione
According to Microsoft documentation,
There is Read-only support for site resources ( and no ability to create new sites) using Microsoft graph.
Source: Working with SharePoint sites in Microsoft Graph.
Additional:
I have read on GitHub (and tried also) that SharePoint Online site will be created automatically if you create a Office 365 group and assign the owners & members to the group.
Source: O365 Group Creation Does Not Immediately Create Site Collection.
Reference: Microsoft Graph - Create group.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange