SOLVED

Site Provisioning - Modern Team Sites - 500 internal server error

%3CLINGO-SUB%20id%3D%22lingo-sub-171971%22%20slang%3D%22en-US%22%3ESite%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-171971%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20implemented%20as%20site%20provisioning%20solution%20using%20Azure%20WebJob%2FFlow%2FPnP%20and%20it%20is%20working%20for%20~3-4%20months%20now.%20We%20use%20REST%20call%20%3CA%20href%3D%22https%3A%2F%2Faurecongroup.sharepoint.com%2Fsites%2Faureconassets%2F_api%2FGroupSiteManager%2FCreateGroupEx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20color%3D%22%230066cc%22%3E_api%2FGroupSiteManager%2FCreateGroupEx%3C%2FFONT%3E%3C%2FA%3E%26nbsp%3B(HTTP%2F1.1)%20to%20create%20a%20site%20and%20it%20was%20working%20nicely%20and%20created%20many%20sites%20so%20far.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%2C%20we%20receive%20500%20-%20Internal%20error%20today%20suddenly%20and%20sites%20are%20not%20getting%20created.%20There%20is%20no%20change%20from%20our%20end%20and%20same%20happens%20in%20my%20Dev%20tenant%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20there%20any%20changes%20from%20Microsoft%20in%20this%20area%3F%20Please%20guide%20me%20as%20our%20business%20is%20getting%20impacted%20as%20user%20requests%20for%20new%20sites%20are%20failing.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20in%20advance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EVishwa%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321431%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321431%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Shrinivas%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20yo%20facing%20any%20new%20issues%20as%20we%20started%20to%20face%20a%20strange%20one%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint-Developer%2FModern-Team-Site-Creation-Error-Suddenly-the-response-for-Site%2Fm-p%2F321428%23M6323%26nbsp%3B%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint-Developer%2FModern-Team-Site-Creation-Error-Suddenly-the-response-for-Site%2Fm-p%2F321428%23M6323%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20wondering%20if%20you%20face%20the%20same.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EVishwa%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172533%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172533%22%20slang%3D%22en-US%22%3E%3CP%3EWorked%20for%20me%20as%20well.%20Thanks%20a%20ton%26nbsp%3B%3CSPAN%3EVishwa%3C%2FSPAN%3E%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172479%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172479%22%20slang%3D%22en-US%22%3EHi%20Vishwa%2C%3CBR%20%2F%3EThanks%20for%20update.After%20changing%20the%20code%20as%20suggested%20by%20you%2Cit%20started%20working%20again.%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3CBR%20%2F%3EShrinivas%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172428%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172428%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20had%20a%20call%20with%20MS%20Engineer.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELooks%20like%20issue%20is%20identified%20and%20resolved.%20The%20REST%20has%20been%20updated%20by%20MS%20with%20a%20new%20%3CSTRONG%3ECreationOptions%3C%2FSTRONG%3E%20array%20value.%20The%20documentation%20has%20not%20been%20updated%20and%20hence%20we%20were%20getting%20500%20error%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20use%20below%20request%20(highlighted%20in%20%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3ERed%20%3C%2FFONT%3E%3C%2FSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CFONT%20color%3D%22%23000000%22%3E-%20Basically%20need%20to%20pass%20additional%20%3CSTRONG%3ECreationOptions%3C%2FSTRONG%3E%26nbsp%3B%20array%20field%20%3C%2FFONT%3E%3C%2FFONT%3E%3A(%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Enamespace%20AUR.DPS.SP.StandAloneApp.Entities%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20class%20SiteRequest%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20SiteRequest()%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20optionalParams%20%3D%20new%20OptionalParams()%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20string%20displayName%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20string%20alias%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20bool%20isPublic%20%7B%20get%3B%20set%3B%20%7D%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20OptionalParams%20optionalParams%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20class%20SiteResponse%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20object%20DocumentsUrl%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20object%20ErrorMessage%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20string%20GroupId%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20int%20SiteStatus%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20string%20SiteUrl%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20class%20OptionalParams%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20OptionalParams()%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Owners%20%3D%20new%20List%3CSTRING%3E()%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E%20CreationOptions%20%3D%20new%20List%3CSTRING%3E()%3B%3C%2FSTRING%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20string%20Description%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20List%3CSTRING%3E%20Owners%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E%26nbsp%3B%20public%20List%3CSTRING%3E%20CreationOptions%20%7B%20get%3B%20set%3B%20%7D%3C%2FSTRING%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20class%20SiteAliasResponse%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20public%20string%20value%20%7B%20get%3B%20set%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3CBR%20%2F%3E%7D%3C%2FSTRING%3E%3C%2FSTRING%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20this%20helps%20for%20all%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EVishwa%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172376%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172376%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Paul%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20think%20we%20need%20to%20escalate%20this%20with%20Microsoft%20urgently%20as%20this%20is%20affecting%20our%20business%20%3A(%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20a%20call%20with%20Microsoft%20support%20engineer%20in%20another%2030%20minutes%20and%20hope%20he%20will%20direct%20this%20to%20the%20appropriate%20channel.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EVishwa%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172371%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172371%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Paul%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20isn't%20a%20much%20information%20on%20the%20error.%20It%20only%20shows%3A%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EError%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3Ecode%3A%20%22-1%2C%20Microsoft.SharePoint.Client.UnknownError%22%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3Emessage%3A%20%22Unbekannter%20Fehler.%22%20(Unknown%20Error)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EVishwa%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172331%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172331%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Paul%20Pascha%2C%3C%2FP%3E%0A%3CP%3EWe%20implemented%20some%20functionality%20in%20our%20project%20using%20this%20API.%20We%20were%20very%20happy%20with%20its%20performance%20but%20then%20suddenly%2C%20since%20yesterday%20unable%20to%20create%20sites%20and%20getting%20%22500%20Internal%20server%20error%22.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EError%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3Ecode%3A%20%22-1%2C%20Microsoft.SharePoint.Client.UnknownError%22%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3Emessage%3A%20%22Unbekannter%20Fehler.%22%20(Unknown%20Error)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUnfortunately%2C%20no%20further%20information%20is%20returned.%3C%2FP%3E%0A%3CP%3EYesterday%2C%26nbsp%3Bfew%20POST%20requests%20were%20successful(around%208%20PM%20CET)%20while%20i%26nbsp%3Bexecuted%20many%20since%20yesterday%20morning.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20be%20of%20any%20help%20in%20this%20matter%3F%3C%2FP%3E%0A%3CP%3EWe%20need%20to%20get%20it%20fixed%20and%20i%20did%20not%20find%20any%20other%20equivalent%20alternative%20to%20implement%20the%20same%20functionality.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EChitra%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172163%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172163%22%20slang%3D%22en-US%22%3E%3CP%3EAre%20the%20500%20internal%20server%20errors%20accompanied%20by%26nbsp%3Ba%20more%20descriptive%20error%20message%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172157%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20Provisioning%20-%20Modern%20Team%20Sites%20-%20500%20internal%20server%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172157%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EWe%20are%20also%20facing%20same%20issue%20from%20today.Have%20you%20got%20any%20solution%3F%3CBR%20%2F%3ERegards%2C%3CBR%20%2F%3EShrinivas%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hi All,

 

We have implemented as site provisioning solution using Azure WebJob/Flow/PnP and it is working for ~3-4 months now. We use REST call _api/GroupSiteManager/CreateGroupEx (HTTP/1.1) to create a site and it was working nicely and created many sites so far.

 

However, we receive 500 - Internal error today suddenly and sites are not getting created. There is no change from our end and same happens in my Dev tenant as well.

 

Is there any changes from Microsoft in this area? Please guide me as our business is getting impacted as user requests for new sites are failing.

 

Thanks in advance.

 

Regards,

Vishwa

9 Replies
Highlighted
Hi,
We are also facing same issue from today.Have you got any solution?
Regards,
Shrinivas
Highlighted

Are the 500 internal server errors accompanied by a more descriptive error message?

Highlighted

Hi Paul Pascha,

We implemented some functionality in our project using this API. We were very happy with its performance but then suddenly, since yesterday unable to create sites and getting "500 Internal server error".

Error:

code: "-1, Microsoft.SharePoint.Client.UnknownError"

message: "Unbekannter Fehler." (Unknown Error)

 

Unfortunately, no further information is returned.

Yesterday, few POST requests were successful(around 8 PM CET) while i executed many since yesterday morning.

 

Could you be of any help in this matter?

We need to get it fixed and i did not find any other equivalent alternative to implement the same functionality.

 

Thanks,

Chitra

 

Highlighted

Hi Paul,

 

There isn't a much information on the error. It only shows:

Error:

code: "-1, Microsoft.SharePoint.Client.UnknownError"

message: "Unbekannter Fehler." (Unknown Error)

 

Regards,

Vishwa

Highlighted

Hi Paul,

 

I think we need to escalate this with Microsoft urgently as this is affecting our business :(

 

I have a call with Microsoft support engineer in another 30 minutes and hope he will direct this to the appropriate channel.

 

Regards,

Vishwa

Highlighted

Hi All,

 

I had a call with MS Engineer.

 

Looks like issue is identified and resolved. The REST has been updated by MS with a new CreationOptions array value. The documentation has not been updated and hence we were getting 500 error:

 

Please use below request (highlighted in Red - Basically need to pass additional CreationOptions  array field :(

 

namespace AUR.DPS.SP.StandAloneApp.Entities
{
    public class SiteRequest
    {
        public SiteRequest()
        {
           optionalParams = new OptionalParams();
        }
        public string displayName { get; set; }
        public string alias { get; set; }
        public bool isPublic { get; set; }      
        public OptionalParams optionalParams { get; set; }
    }

    public class SiteResponse
    {
        public object DocumentsUrl { get; set; }
        public object ErrorMessage { get; set; }
        public string GroupId { get; set; }
        public int SiteStatus { get; set; }
        public string SiteUrl { get; set; }
    }

    public class OptionalParams
    {
        public OptionalParams()
        {
            Owners = new List<string>();
            CreationOptions = new List<string>();
        }

        public string Description { get; set; }
        public List<string> Owners { get; set; }
        public List<string> CreationOptions { get; set; }
    }

    public class SiteAliasResponse
    {
        public string value { get; set; }
    }
}

 

Hope this helps for all

 

Regards,

Vishwa

Highlighted
Solution
Hi Vishwa,
Thanks for update.After changing the code as suggested by you,it started working again.

Regards,
Shrinivas
Highlighted

Worked for me as well. Thanks a ton Vishwa :)

Highlighted

Hey Shrinivas,

 

Are yo facing any new issues as we started to face a strange one - https://techcommunity.microsoft.com/t5/SharePoint-Developer/Modern-Team-Site-Creation-Error-Suddenly...

 

Just wondering if you face the same.

 

Regards,

Vishwa