Forum Discussion

Vishwanatha Nayak's avatar
Vishwanatha Nayak
Brass Contributor
Jan 21, 2019

Modern Team Site Creation - Error - Suddenly the response for Site URL is Null

Modern site creation is suddenly failing today due to response coming back with Null.

 

Details:

 We have been using SharePoint’s REST API call to create a modern team site and the solution has been running for almost a year now without any problem. The API used: /_api/GroupSiteManager/CreateGroupEx (HTTP/1.1)

 

Reference: https://github.com/SharePoint/PnP/tree/master/Samples/Provisioning.Modern.Console.RESTAPI

 

This solution was discussed with Microsoft an year ago recommended by MS as a supported solution.

 

Issue/Root cause:

This morning we have noticed that the API call returns following response with Null for site url:

{"@odata.context":"*****/_api/$metadata#Microsoft.SharePoint.Portal.GroupSiteInfo","DocumentsUrl":null,"ErrorMessage":null,"GroupId":"10033797-4f17-489f-9446-4d65b756585f","SiteStatus":1,"SiteUrl":null}

 

Ultimately the site will get created but it takes fair amount of time and our process will error out due to null response.

 

Any directions is really helpful.

 

Regards,

Vishwa

  • praveenbattula's avatar
    praveenbattula
    Copper Contributor

    Vishwanatha Nayak I am receiving this error just now. Looks like it started appearing since this morning. We can't rely on this API I believe. But there is no replacement at the moment to create O365 group from SharePoint. 

  • LisetteDekker's avatar
    LisetteDekker
    Copper Contributor

    Same issue using pnp CSOM.

     

    About half of our teamsites, created from a signal from our CRM, are failing since between the 19th and 21th of june.

     

Resources