Sharepoint online will not index sites created using REST API.

%3CLINGO-SUB%20id%3D%22lingo-sub-1023275%22%20slang%3D%22en-US%22%3ESharepoint%20online%20will%20not%20index%20sites%20created%20using%20REST%20API.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1023275%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20created%20few%20team%20sites%20using%20SharePoint%20Rest%20API%20and%20Flow.%20Flow%20can%20be%20manually%20triggered%20from%20a%20list.%20Based%20on%20the%20data%20in%20the%20list%2C%20a%20new%20site%20gets%20created.%20Flow%20creates%20a%20new%20site%20and%20an%20associated%20office%20365%20group.%20Add%20default%20owners.%20Applies%20site%20design%20and%20attaches%20the%20site%20to%20a%20hub.%20Everything%20seems%20to%20be%20working%20fine%20and%20looks%20okay%20on%20the%20front%20end.%20However%2C%20sites%20do%20not%20inherit%20theme%20from%20hub%20sites.%20And%20sites%20do%20not%20show%20up%20in%20search%20results.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20tell%20me%20what%20might%20be%20the%20possible%20reasons%3F%20The%20sites%20were%20created%20about%202-3%20days%20ago.%20I%20have%20also%20tried%20to%20manually%20request%20the%20reindexing%20of%20site%20today%20morning%20using%20site%20settings.%20But%20that%20has%20not%20helped.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1023424%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20online%20will%20not%20index%20sites%20created%20using%20REST%20API.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1023424%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20any%20content%20in%20the%20newly%20created%20site%20to%20crawl%20any%20content%20and%20return%20the%20results%20back%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1024048%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20online%20will%20not%20index%20sites%20created%20using%20REST%20API.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1024048%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453843%22%20target%3D%22_blank%22%3E%40O365Developer%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20replying.%20Most%20of%20these%20sites%20are%20blank.%20I%20have%20one%20site%20that%20has%20about%20GB%20of%20data%20in%20the%20form%20of%20files.%20That%20site%20isn't%20showing%20up%20in%20search%20either.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20created%20few%20sites%20manually.%20Some%20of%20them%20actually%20show%20up%20even%20if%20they%20do%20not%20having%20any%20content.%20I%20am%20just%20wondering%20if%20there%20is%20anything%20about%20REST%20API%20that%20I%20might%20have%20missed.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I have created few team sites using SharePoint Rest API and Flow. Flow can be manually triggered from a list. Based on the data in the list, a new site gets created. Flow creates a new site and an associated office 365 group. Add default owners. Applies site design and attaches the site to a hub. Everything seems to be working fine and looks okay on the front end. However, sites do not inherit theme from hub sites. And sites do not show up in search results. 

 

Can someone tell me what might be the possible reasons? The sites were created about 2-3 days ago. I have also tried to manually request the reindexing of site today morning using site settings. But that has not helped.

2 Replies
Highlighted

Is there any content in the newly created site to crawl any content and return the results back?

Highlighted

@O365Developer

 

Thank you for replying. Most of these sites are blank. I have one site that has about GB of data in the form of files. That site isn't showing up in search either.

 

I have created few sites manually. Some of them actually show up even if they do not having any content. I am just wondering if there is anything about REST API that I might have missed.