PnP - Site property bag items not indexed anymore by search

%3CLINGO-SUB%20id%3D%22lingo-sub-69133%22%20slang%3D%22en-US%22%3EPnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-69133%22%20slang%3D%22en-US%22%3E%3CP%3EI%20apply%20a%20PnP%20template%20on%20an%20out%20of%20the%20box%20classic%20team%20site.%20Within%20this%20template%20I%20use%20the%20property%20bag%20element%20in%20my%20xml%20in%20order%20to%20add%20items%20to%20the%20property%20bag.%20Each%20property%20bag%20item%20has%20the%20attribute%20indexed%3D%22true%22%20on%20it.%20The%20new%20property%20bag%20items%20are%20not%20picked%20up%20by%20the%20search%20crawler%20anymore.%20No%20crawled%20properties%20are%20created%20for%20the%20property%20bag%20items%20and%20so%20I%20am%20not%20able%20to%20map%20it%20to%20a%20managed%20property.%20In%20the%20past%20I%20used%20the%20same%20technique%20on%20an%20other%20template.%20When%20I%20use%20the%20same%20key%20for%20a%20property%20in%20that%20template%20in%20the%20other%20template%2C%20it%20is%20not%20picked%20up%20by%20search.%20The%20crawled%20property%20of%20this%20item%20is%20already%20in%20the%20index.%20When%20mapping%20it%20to%20a%20refinablestring%20managed%20property%2C%20no%20values%20come%20through.%20I%20waited%20for%20days%20now%2C%20nothing%20there.%20I%20tried%20re-indexing%20the%20site%2C%20etc.%20but%20no%20luck.%3C%2FP%3E%3CP%3EThis%20morning%20I%20got%20a%20ticket%20from%20another%20client%20with%20the%20same%20issue.%20Same%20technique%20is%20used%20there.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyone%20with%20the%20same%20issue%20or%20does%20anybody%20know%20if%20something%20changed%20on%20this%20part%3F%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5720%22%20target%3D%22_blank%22%3E%40Vesa%20Juvonen%3C%2FA%3E%3A%20any%20ideas%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-69133%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269804%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269804%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20currently%20have%20an%20issue%26nbsp%3Bwhere%20a%20web%20property%20bag%20key%20does%20not%20get%20indexed%2C%20even%20after%20several%20days.%3C%2FP%3E%3CP%3EI've%20added%20the%20property%20bag%20entry%20to%20a%20subweb%20of%20a%20Project%20Web%20App%20site.%20This%20subweb%20has%20unique%20permissions%20assigned%20and%20is%20a%20classic%20site.%20The%20welcome%20page%20of%20the%20subweb%20does%20not%20have%20unique%20permissions%20assigned.%3C%2FP%3E%3CP%3EIt%20also%20seems%20that%20regular%20content%20gets%20crawled%20normaly.%20Does%20anyone%20have%20some%20thoughts%20on%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174552%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174552%22%20slang%3D%22en-US%22%3E%3CP%3EI%20was%20seeing%20the%20issue%20on%20modern%20sites%20and%20was%20unable%20to%20get%20it%20working%20at%20all%20(not%20even%20sporadically).%20We%20ended%20up%20creating%20a%20custom%20schema%20for%20the%20O365%20groups%20and%20stored%20our%20metadata%20there%2C%20where%20we%20were%20able%20to%20query%20the%20property%20using%20the%20Graph%20API.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174405%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174405%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20issue%20was%20on%20classic%20sites.%26nbsp%3BI%20have%20used%20indexed%20property%20bags%20a%20lot%2C%20not%20causing%20any%20troubles.%20As%20stated%20above%20in%20the%20older%20posts%2C%20there%20were%20some%20issues%20when%20the%20welcome%20page%20got%20broken%20permissions%20on%20it.%20Next%20to%20this%20issue%2C%20I%20have%20never%20had%20any%20other%20issue.%20I%20haven't%20used%20this%20technique%20on%20Modern%20sites%20yet.%20So%20if%20you%20have%20anything%20to%20share%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174344%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174344%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20You!%20All%20of%20you%20for%20your%20feedback%20and%20observations%20!%3C%2FP%3E%0A%3CP%3EI%20am%20considering%20to%20use%20the%20web%20level%20Indexed%20property%20bag%20option%20to%20implement%20a%20solution%20throughout%20my%20SPO%20tenant.%20However%2C%20based%20on%20all%20your%20observations%20it%20looks%20like%20indexed%20property%20bags%20are%20recently%20causing%20issues%20sporadically.%3CBR%20%2F%3EIs%20this%20issue%20only%20for%20modern%20team%20sites%20or%20classic%20site%20as%20well%20%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20do%20share%20in%20case%20any%20latest%20update%20from%20MS%20PG%20on%20this.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F61067%22%20target%3D%22_blank%22%3E%40Cameron%20Sibbald%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F18690%22%20target%3D%22_blank%22%3E%40Robert%20Schouten%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-141283%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-141283%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Robert%2C%20I%20appreciate%20the%20response.%20I've%20got%26nbsp%3Bthe%20question%20posted%20up%20to%20a%20couple%20other%20boards.%26nbsp%3BI'll%20come%20back%20update%20this%20thread%20when%20I%20find%20out%20more.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI've%20got%20my%20suspicions%20that%20it's%26nbsp%3Bsomehow%20related%20to%20the%20modern%20site%20template%20as%20well.%20We%20haven't%20changed%20any%20of%20the%20permissions%20on%20the%20start%20page%20in%20our%20case%20so%20I'm%20not%20sure%20where%20to%20go%20from%20here.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-141191%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-141191%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Cameron%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20been%20though%20long%20conversations%20with%20MS%20premier%20support.%20I%20got%20no%20clear%20answer%2C%20but%20as%20stated%20before%20when%20inheriting%20permissions%20for%20the%20start%20page%20the%20property%20bag%20items%20were%20picked%20up%20by%20search.%20At%20some%20test%20sites%20at%20our%20client%20at%20some%20point%20it%20was%20nog%20working%20and%20the%20other%20day%20it%20was%20working%20again.%20So%20support%20stated%20it%20was%20not%20reproducible%20anymore%20and%20therefore%20the%20case%20was%20closed.%20My%20client%20didn't%20have%20problems%20anymore%20after%20that.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20to%20state%20that%20this%20was%20for%20classic%20sites.%20I%20am%20not%20really%20sure%20if%20Search%20will%20pick%20property%20bag%20items%20up%20on%20modern%20sites%20at%20all.%20By%20default%20scripts%20are%20disabled%2C%20so%20I%20could%20imagine%20that%20modern%20sites%20are%20skipped%20on%20this%20part.%20If%20you%20have%20anymore%20information%20if%20modern%20sites%20do%20support%20this%2C%20please%20let%20me%20know!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-140912%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-140912%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Robert%2C%20any%20update%20from%20MS%20on%20this%3F%20Were%20you%20ever%20able%20to%20get%20this%20working%20reliably%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20creating%20a%20template%20from%20a%20modern%20team%20site%2C%20enabling%20script%2C%20updating%20the%20property%20bag%20(on%20the%20web)%2C%20and%20then%20disabling%20script.%20I%20can%20see%20my%20property%20bag%20value%2C%20and%20I%20can%20see%20that%20it's%20been%20added%20to%20the%20vti_indexedpropertykeys%2C%20but%20it%20never%26nbsp%3Bshows%20up%20as%20a%20crawled%20property.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-70282%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-70282%22%20slang%3D%22en-US%22%3E%3CP%3EThat%20is%20exactly%20what%20I%20am%20seeing.%20Some%20sites%20do%20indeed%20work%20fine%2C%20even%20with%20broken%20permissions.%20It%20is%20only%20in%20about%2030-40%25%20that%20search%20breaks.%20But%20once%20it%20is%20broken%20for%20that%20site%2C%20the%20only%20way%20back%20is%20to%20reset%20the%20permissions.%3C%2FP%3E%3CP%3EEven%20changing%20the%20title%20for%20this%20site%20will%20not%20show%20up%20within%20search.%20So%20it%20is%20not%20just%20propertybags%2C%20it%20is%20the%20full%20site%20that%20is%20broken%20in%20this%20case.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20could%20reproduce%20this%20on%20more%20than%205%20tenants%20and%20it%20used%20to%20be%20working%20just%20fine.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-70281%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-70281%22%20slang%3D%22en-US%22%3E%3CP%3EOliver%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESeems%20like%20it%20is%20working%20indeed%20when%20inheriting%20the%20permissions%20on%20the%20home%20page%20again.%20Re-index%20took%20a%20while...%20I%20also%20tested%20it%20at%20another%20client%20with%20the%20same%20issue%20and%20also%20works%20there.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMicrosoft%20is%20looking%20at%20our%20tenant%20now.%20Strange%20thing%20is%20I%20now%20retrieve%20some%20sites%20with%20broken%20permissions%20too%20with%20filled%20property%20from%20property%20bag.%20We%20are%20going%20to%20let%20this%20further%20investigated%20by%20Microsoft.%20Hopefully%20a%20fix%20will%20solve%20this...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-70021%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-70021%22%20slang%3D%22en-US%22%3E%3CP%3EOliver%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%20luck%20yet.%20I%20reset%20the%20permissions%20of%20the%20page%20and%20did%20a%20re-index%20of%20the%20site.%20Waited%20a%20few%20hours%2C%20but%20nothing%20yet.%20I%20will%20check%20tomorrow%20again%20and%20let%20you%20know.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-69936%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-69936%22%20slang%3D%22en-US%22%3E%3CP%3EOkay%2C%20I%20am%20pretty%20sure%20that%20this%20is%20your%20issue%20then.%20Just%20reset%20the%20permissions%20back%20to%20inherit%20and%20reindex%20your%20site%20via%20Site%20Settings%26gt%3BSearch%20and%20Offline%20Availability%26gt%3BReindex%20Site%20and%20your%20property%20bag%20items%20will%20get%20crawled%20within%20a%20few%20minutes.%3C%2FP%3E%3CP%3EIf%20you%20don't%26nbsp%3Bstart%20the%20reindex%2C%20it%20will%20take%20much%20longer....%3C%2FP%3E%3CP%3EIf%20you%20have%20opened%20a%20premiere%20support%20ticket%20already%2C%20tell%20them%26nbsp%3Bthe%20cause%20of%20the%20issue%20so%20they%20can%20fix%20it%20so%20others%20don't%20run%20into%20this...Because%26nbsp%3BI%20think%20this%20is%20clearly%20a%20bug%20on%20MS%20side...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-69933%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-69933%22%20slang%3D%22en-US%22%3E%3CP%3EOliver%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20your%20for%20your%20information.%20I%20indeed%20change%20the%20permissions%20on%20the%20homepage.%20I%20will%20test%20if%20this%20will%20solve%20the%20issue.%20Though%2C%20I%20am%20still%20bussy%20with%20Premier%20support%20and%20they%20are%20stating%20it%20is%20removed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-69920%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-69920%22%20slang%3D%22en-US%22%3E%3CP%3EAFAIK%20the%20pnp%20provisioning%20engine%20does%20set%20the%20properties%20on%20SPWeb.%20There%20is%20no%20propertybag%20on%20sitecollection%20level....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELook%20at%20the%20issue%20I%20described%20above.%20Are%20you%20changing%20permissions%20for%20the%20sitepages%20library%20or%20the%20homepage%3F%20This%20might%20solve%20your%20problem...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-69918%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-69918%22%20slang%3D%22en-US%22%3E%3CP%3Eas%20addition%20attached%20a%20piece%20of%20mail%20from%20MS%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-69917%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-69917%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20just%20can't%20be%20true...I%20can't%20imagine%20they'd%20introduce%20a%20breaking%20change%20like%20this%20without%20further%20notice.%20This%20would%20impact%20so%20many%20customers...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20have%20noticed%20a%20similar%20issue%20these%20days.%20In%20the%20end%20it%20turned%20out%20the%20issue%20only%20occures%20if%20you%20change%20permissons%20on%20the%20pages%20library%20or%20directly%20on%20the%20homepage%20of%20your%20site.%26nbsp%3BIn%20my%20case%20we%20had%20set%20read%20only%20permissions%20on%20the%20homepage%20so%20users%20could%20not%20modify%20the%20page.%3C%2FP%3E%3CP%3EAny%20chance%20this%20could%20be%20the%20same%20issue%20with%20your%20site%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20we%20changed%20that%2C%20everything%20worked%20perfectly%20again.%20Strange%20thing%20is...it%20only%20happend%20on%20some%20sites%2C%20but%20after%20the%20change%20it%20never%20happened%20again%20so%20far.%3C%2FP%3E%3CP%3EI%20still%20think%20it%20is%20a%20bug%2C%20but%20I%20have%20learned%2C%20working%20around%20issues%20is%20a%20lot%20easier%20and%20faster%26nbsp%3Bthan%20waiting%20for%20MS%20to%20fix%20them...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-69905%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-69905%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20this%20important%26nbsp%3Binformation!%20I%20guess%20it%20is%20valid%20for%20SharePoint%20Online%3F%20Or%20did%20I%20miss%20something%20in%20the%20update-notes%20for%20on%20Prem%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-69551%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Site%20property%20bag%20items%20not%20indexed%20anymore%20by%20search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-69551%22%20slang%3D%22en-US%22%3E%3CP%3ECreated%20a%20premier%20call%20for%20this%20issue%20at%20Microsoft.%20Got%20the%20following%20answer%20back%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20had%20a%20quick%20chat%20with%20our%20Product%20team.%26nbsp%3B%20The%20information%20I%20heard%20was%20not%20favorable%20at%20all.%3C%2FP%3E%3CP%3E%3CSPAN%3EAs%20per%20the%26nbsp%3B%20conversation%20they%20said%20Search%20is%20not%20indexing%20site%20property%20bag%20anymore.%20The%20change%20have%20been%20introduced%20%26nbsp%3Brecently.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ESo%20if%20you%20have%20any%20solutions%20using%20this%20technique%2C%20it%20won't%20work%20anymore!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
MVP

I apply a PnP template on an out of the box classic team site. Within this template I use the property bag element in my xml in order to add items to the property bag. Each property bag item has the attribute indexed="true" on it. The new property bag items are not picked up by the search crawler anymore. No crawled properties are created for the property bag items and so I am not able to map it to a managed property. In the past I used the same technique on an other template. When I use the same key for a property in that template in the other template, it is not picked up by search. The crawled property of this item is already in the index. When mapping it to a refinablestring managed property, no values come through. I waited for days now, nothing there. I tried re-indexing the site, etc. but no luck.

This morning I got a ticket from another client with the same issue. Same technique is used there.

 

Anyone with the same issue or does anybody know if something changed on this part?

@Vesa Juvonen: any ideas?

17 Replies
Highlighted

Created a premier call for this issue at Microsoft. Got the following answer back:

 

I just had a quick chat with our Product team.  The information I heard was not favorable at all.

As per the  conversation they said Search is not indexing site property bag anymore. The change have been introduced  recently.

 

So if you have any solutions using this technique, it won't work anymore!

Highlighted

Thank you for this important information! I guess it is valid for SharePoint Online? Or did I miss something in the update-notes for on Prem?

Highlighted

This just can't be true...I can't imagine they'd introduce a breaking change like this without further notice. This would impact so many customers...

 

But I have noticed a similar issue these days. In the end it turned out the issue only occures if you change permissons on the pages library or directly on the homepage of your site. In my case we had set read only permissions on the homepage so users could not modify the page.

Any chance this could be the same issue with your site?

 

After we changed that, everything worked perfectly again. Strange thing is...it only happend on some sites, but after the change it never happened again so far.

I still think it is a bug, but I have learned, working around issues is a lot easier and faster than waiting for MS to fix them...

 

Highlighted

as addition attached a piece of mail from MS

Highlighted

AFAIK the pnp provisioning engine does set the properties on SPWeb. There is no propertybag on sitecollection level....

 

Look at the issue I described above. Are you changing permissions for the sitepages library or the homepage? This might solve your problem...

Highlighted

Oliver,

 

Thank your for your information. I indeed change the permissions on the homepage. I will test if this will solve the issue. Though, I am still bussy with Premier support and they are stating it is removed.

Highlighted

Okay, I am pretty sure that this is your issue then. Just reset the permissions back to inherit and reindex your site via Site Settings>Search and Offline Availability>Reindex Site and your property bag items will get crawled within a few minutes.

If you don't start the reindex, it will take much longer....

If you have opened a premiere support ticket already, tell them the cause of the issue so they can fix it so others don't run into this...Because I think this is clearly a bug on MS side...

Highlighted

Oliver,

 

No luck yet. I reset the permissions of the page and did a re-index of the site. Waited a few hours, but nothing yet. I will check tomorrow again and let you know.

Highlighted

Oliver,

 

Seems like it is working indeed when inheriting the permissions on the home page again. Re-index took a while... I also tested it at another client with the same issue and also works there.

 

Microsoft is looking at our tenant now. Strange thing is I now retrieve some sites with broken permissions too with filled property from property bag. We are going to let this further investigated by Microsoft. Hopefully a fix will solve this...

Highlighted

That is exactly what I am seeing. Some sites do indeed work fine, even with broken permissions. It is only in about 30-40% that search breaks. But once it is broken for that site, the only way back is to reset the permissions.

Even changing the title for this site will not show up within search. So it is not just propertybags, it is the full site that is broken in this case.

 

I could reproduce this on more than 5 tenants and it used to be working just fine.

Highlighted

Hi Robert, any update from MS on this? Were you ever able to get this working reliably? 

 

I'm creating a template from a modern team site, enabling script, updating the property bag (on the web), and then disabling script. I can see my property bag value, and I can see that it's been added to the vti_indexedpropertykeys, but it never shows up as a crawled property.

 

 

Highlighted

Hi Cameron,

 

I have been though long conversations with MS premier support. I got no clear answer, but as stated before when inheriting permissions for the start page the property bag items were picked up by search. At some test sites at our client at some point it was nog working and the other day it was working again. So support stated it was not reproducible anymore and therefore the case was closed. My client didn't have problems anymore after that.

 

I have to state that this was for classic sites. I am not really sure if Search will pick property bag items up on modern sites at all. By default scripts are disabled, so I could imagine that modern sites are skipped on this part. If you have anymore information if modern sites do support this, please let me know!

Highlighted

Thanks Robert, I appreciate the response. I've got the question posted up to a couple other boards. I'll come back update this thread when I find out more. 

 

I've got my suspicions that it's somehow related to the modern site template as well. We haven't changed any of the permissions on the start page in our case so I'm not sure where to go from here.

Highlighted

Thank You! All of you for your feedback and observations !

I am considering to use the web level Indexed property bag option to implement a solution throughout my SPO tenant. However, based on all your observations it looks like indexed property bags are recently causing issues sporadically.
Is this issue only for modern team sites or classic site as well ? 

Please do share in case any latest update from MS PG on this.

 

@Cameron Sibbald @Robert Schouten

Highlighted

The issue was on classic sites. I have used indexed property bags a lot, not causing any troubles. As stated above in the older posts, there were some issues when the welcome page got broken permissions on it. Next to this issue, I have never had any other issue. I haven't used this technique on Modern sites yet. So if you have anything to share?

Highlighted

I was seeing the issue on modern sites and was unable to get it working at all (not even sporadically). We ended up creating a custom schema for the O365 groups and stored our metadata there, where we were able to query the property using the Graph API.

Highlighted

Hi everyone,

 

I currently have an issue where a web property bag key does not get indexed, even after several days.

I've added the property bag entry to a subweb of a Project Web App site. This subweb has unique permissions assigned and is a classic site. The welcome page of the subweb does not have unique permissions assigned.

It also seems that regular content gets crawled normaly. Does anyone have some thoughts on this?