1

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.

1

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.

enter image description here

| improve this answer | |
  • Have you any information if there is a ticket in Microsoft for this task? – Iwoo Mar 6 at 12:06
  • Check the updated answer for alternative. but there is no other way to create SP site directly. – Ganesh Sanap Mar 6 at 12:33
  • That's what I'm looking for! Thank you very much! – Iwoo Mar 6 at 12:33
  • Welcome. Please Upvote(^) and accept as an Answer if it helped you. – Ganesh Sanap Mar 6 at 12:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.