SOLVED
Home

Configure modern search results to search all of your organization (rather than the current site)

%3CLINGO-SUB%20id%3D%22lingo-sub-447872%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-447872%22%20slang%3D%22en-US%22%3EHi%20Kerem%2C%3CBR%20%2F%3EWill%20this%20also%20be%20added%20to%20the%20sitescript%20actions%20soon%3F%20That%E2%80%99s%20in%20my%20opinion%20more%20important%20then%20having%20it%20available%20through%20the%20UI.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451031%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451031%22%20slang%3D%22en-US%22%3EIs%20there%20a%20way%20to%20change%20the%20scope%20to%20be%20just%20the%20sites%20in%20the%20hub%3F%20This%20would%20allow%20you%20to%20set%20all%20hub%20sites%20to%20have%20the%20same%20search%20scope%20as%20the%20root%20hub%20site.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451354%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451354%22%20slang%3D%22en-US%22%3E%3CP%3EHi%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%2C%26nbsp%3Bnot%20right%20away%2C%20but%20some%20of%20my%20colleagues%20are%20working%20on%20adding%20the%20ability%20to%20set%20properties%20and%20turn%20on%20features.%20Hopefully%20that%20will%20be%20available%20later%20this%20year.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451361%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451361%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F15144%22%20target%3D%22_blank%22%3E%40Rick%20DeFoe%3C%2FA%3E%2C%20we%20are%20actually%20working%20on%20making%20that%20happen.%20We%20hope%20that%20will%20be%20coming%20in%20the%20next%20couple%20of%20months.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-452399%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-452399%22%20slang%3D%22en-US%22%3E%3CP%3E%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%2C%20in%20the%20meanwhile%20you%20could%20make%20the%20site%20script%20to%20start%20a%20flow%20and%20from%20that%20flow%20call%20an%20Azure%20function%20that%20runs%20the%20PowerShell%20script.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELaura%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-452588%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-452588%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F79426%22%20target%3D%22_blank%22%3E%40Laura%20Kokkarinen%3C%2FA%3E%26nbsp%3Byes%20I%20know%20that%20road.%20At%20some%20customers%2C%20an%20Azure%20environment%20is%20not%20always%20available.%20But%20if%20it%20is%2C%20it%20a%20very%20valid%20option!%20Tnx...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-452970%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-452970%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20great%20for%20my%20landing%20page%2C%20thank.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-453794%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-453794%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20adding%20this%20feature.%20Often%20requested%20by%20our%20customers.%20Just%20tried%20it%20out%20and%20worked%20directly%20as%20I%20expected.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-453886%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-453886%22%20slang%3D%22en-US%22%3E%3CP%3EOptional%20easy%20way%3A%20Create%20a%20Link%20to%20your%20Navigation%20Bar%20-%26gt%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2FYourTenantName.sharepoint.com%2F_layouts%2F15%2Fsharepoint.aspx%3F%26amp%3Bv%3Dsearch%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FYourTenantName.sharepoint.com%2F_layouts%2F15%2Fsharepoint.aspx%3F%26amp%3Bv%3Dsearch%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-461122%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-461122%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3BThis%20looks%20great!%20I%20am%20trying%20to%20implement%20it%20and%20run%20into%20an%20issue%20when%20trying%20to%20connect%20to%20the%20site.%20We%20have%20single%20sign%20on%20enabled%20via%20SailPoint%20and%20when%20the%20browser%20goes%20to%20try%20and%20log%20me%20in%20I%20get%20a%20blinking%20screen%20and%20cannot%20get%20connected.%20Any%20suggestions%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-466089%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-466089%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3BIt%20seems%20that%20searching%20trough%20the%20REST%20API%2C%20this%20setting%20is%20ignored.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20query%20for%20example%2C%20searches%20only%20in%20the%20current%20sitecollection%20on%20a%20modern%20communication%20site%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdrvaa.sharepoint.com%2Fsites%2Fwerkomgeving-modern%2F_api%2Fsearch%2Fquery%3Fquerytext%3D%2527Tekst%2520Zantboer%2527%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmytenant.sharepoint.com%2Fsites%2Fmoderncommunicationsite%2F_api%2Fsearch%2Fquery%3Fquerytext%3D%2527test%2527%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20also%20this%20issue%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F260111%2Frest-search-results-from-communication-sites-arent-tenant-wide%3Fnewreg%3D2efcb9d44c774614a15563cf46e9671d%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F260111%2Frest-search-results-from-communication-sites-arent-tenant-wide%3Fnewreg%3D2efcb9d44c774614a15563cf46e9671d%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-466101%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-466101%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3BIt%20seems%20that%20searching%20trough%20the%20REST%20API%2C%20this%20setting%20is%20ignored.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20query%20for%20example%2C%20searches%20only%20in%20the%20current%20site%20collection%20on%20a%20modern%20communication%20site%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdrvaa.sharepoint.com%2Fsites%2Fwerkomgeving-modern%2F_api%2Fsearch%2Fquery%3Fquerytext%3D%2527Tekst%2520Zantboer%2527%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmytenant.sharepoint.com%2Fsites%2Fmoderncommunicationsite%2F_api%2Fsearch%2Fquery%3Fquerytext%3D'test'%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20also%20this%20issue%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F260111%2Frest-search-results-from-communication-sites-arent-tenant-wide%3Fnewreg%3D2efcb9d44c774614a15563cf46e9671d%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F260111%2Frest-search-results-from-communication-sites-arent-tenant-wide%3Fnewreg%3D2efcb9d44c774614a15563cf46e9671d%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-468562%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-468562%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322693%22%20target%3D%22_blank%22%3E%40Renevdo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEven%20though%20the%20search%20api%20of%20the%20site%20is%20used%20you%20still%20can%20be%20able%20to%20get%20tenant%20wide%20results.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20doing%20a%20site%20scoped%20search%20we%20scope%20by%20limiting%20the%20search%20in%20the%20query%20template%20of%20the%20query%20with%20Path%3A%22UrlToCommunicationSite%22.%20And%20when%20upscoping%20this%20path%20part%20of%20querytemplate%20is%20removed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20you%20should%20still%20be%20able%20to%20get%20tenant%20wide%20results%20even%20if%20the%20search%20api%20of%20the%20communicationsite%20is%20used%20to%20post%20the%20query.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAre%20you%20only%20seeing%20results%20from%20your%20communicationsite%20after%20changing%20the%20site%20scope%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-469013%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-469013%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F160575%22%20target%3D%22_blank%22%3E%40Joe%20Volk%3C%2FA%3E%26nbsp%3B%2C%20sorry%20not%20familiar%20with%20that.%20My%20two%20factor%20auth%20works%20when%20I%20use%20-UseWebLogin.%20This%20page%20has%20more%20information%20about%20the%20PnP%20solution%2C%20and%20may%20have%20some%20discussions%20that%20might%20be%20helpful%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2FPnP-PowerShell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2FPnP-PowerShell%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-469020%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-469020%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322693%22%20target%3D%22_blank%22%3E%40Renevdo%3C%2FA%3E%2C%20This%20is%20for%20the%20modern%20search%20results%20UI%20only.%20It%20has%20no%20effect%20on%20REST.%20You%20should%20be%20able%20to%20get%20to%20the%20scope%20that%20you%20want%20in%20REST%20in%20other%20ways%20like%26nbsp%3B%20as%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F141782%22%20target%3D%22_blank%22%3E%40Geir-Magnus%20Pettersen%3C%2FA%3E%26nbsp%3Bmentioned!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481696%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481696%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20noticed%20that%20the%20search%20box%20placeholder%20does%20not%20change%20on%20hub%20sites%2C%20see%20screenshots%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHub%20search%20box%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20260px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F110082i8F024B63C26B3F24%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22hub.png%22%20title%3D%22hub.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAll%20other%20sites%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20256px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F110081i42F5B0994FE64AC0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22allother.png%22%20title%3D%22allother.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWill%20this%20be%20fixed%2Fupdated%20so%20that%20the%20placeholder%20is%20consistent%20across%20hub%20and%20non-hub%20sites%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-556376%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-556376%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20follow%20the%20directions%20step%20by%20step%20and%20i%20am%20getting%20error%3A%3C%2FP%3E%3CP%3EThe%20property%20'SearchScope'%20cannot%20be%20found%20on%20this%20object.%20Verify%20that%20the%20property%20exists%20and%20can%20be%20set.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20the%20latest%20version%20of%20powershell.%3C%2FP%3E%3CP%3EAnyone%20seen%20this%20error%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-584021%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-584021%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20receiving%20the%20same%20error.%20I've%20made%20sure%20I'm%20running%20PowerShell%20in%20Admin%20mode%20as%20well.%20Forced%20the%20re-installation%20of%20module%20as%20well%20as%20tried%20update.%20No%20luck%2C%20any%20help%20is%20appreciated!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-613861%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-613861%22%20slang%3D%22en-US%22%3E%3CP%3ESome%20additional%20guidance%20if%20you%20are%20getting%20the%26nbsp%3B%3CEM%3E%22The%20property%20'SearchScope'%20cannot%20be%20found%20on%20this%20object.%20Verify%20that%20the%20property%20exists%20and%20can%20be%20set.%22%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EException%20when%20you%20try%20to%20execute%20the%20version%2C%20you%20are%20running%20either%20wrong%20version%20of%20PnP%20PowerShell%20OR%20you%20have%20SharePoint%20CSOM%20SDK%20installed%20on%20your%20machine%20which%20is%20not%20recommended.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20you%20have%20just%20updated%20to%20use%20the%20latest%20PnP%20PowerShell%2C%20move%20to%20%22Add%20or%20Remove%20programs%22%20in%20your%20computer%20and%20make%20sure%20that%20you%20do%20not%20have%20SharePoint%20Client%20Side%20CSOM%20SDK%20installed%20as%20that%20msi%20unfortunately%20installed%20assemblies%20to%20the%20GAC%20(Global%20Assembly%20Cache)%20and%20that%20overrides%20any%20local%20newer%20assembly%20versions%2C%20which%20is%20most%20likely%20the%20conflict%20here.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-661828%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-661828%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%20Kerem.%26nbsp%3B%20Two%20questions%20about%20this%20setting%3A%3C%2FP%3E%3CUL%3E%3CLI%3EDoes%20this%20apply%20to%20the%20new%20Global%20MS%20Search%20bar%20at%20the%20top%20as%20well%3F%3C%2FLI%3E%3CLI%3EWill%20changing%20this%20turn%20off%20library%20searching%3F%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-663679%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-663679%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F352866%22%20target%3D%22_blank%22%3E%40tg_olympus%3C%2FA%3E%2C%20Yes%2C%20this%20will%20take%20effect%20for%20the%20new%20search%20box%20in%20the%20header%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20only%20applies%20to%20modern%20site%20search%20results.%26nbsp%3B%20Lists%20and%20Libraries%20will%20continue%20to%20search%20in%20that%20particular%20list%20or%20library.%20If%20you%20click%20on%20the%20link%20at%20the%20bottom%20of%20lists%20and%20libraries%20to%20expand%20the%20search%2C%20you%20will%20be%20able%20to%20get%20to%20modern%20site%20search%20results%2C%20which%20will%20respect%20this%20setting.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-665566%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-665566%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECool%2C%20we%20just%20tried%20it.%26nbsp%3B%20It%20works%20to%20a%20point%20but%20it%20seems%20to%20be%20still%20showing%20local%20results%20in%20the%20search%20results%20drop%20down.%26nbsp%3B%20Would%20that%20be%20fixed%20up%20in%20the%20future%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-666340%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-666340%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F352866%22%20target%3D%22_blank%22%3E%40tg_olympus%3C%2FA%3E!%20Yes%2C%20making%20the%20suggestions%20that%20appear%20under%20the%20search%20box%20to%20have%20the%20same%20scope%20is%20something%20the%20team%20is%20working%20on.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-669940%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-669940%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20updated%20the%20search%20scope%20using%20powershell%20on%20comms%2Fteams%20site%20but%20still%20the%20results%20are%20getting%20redirected%20to%20site%20level%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPowershell%20Result%20after%20running%20the%20script%20on%20site%26nbsp%3B%20%3A%26nbsp%3B%20%24web.SearchScope%3CBR%20%2F%3ETenant%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20confirm%20if%20i%20am%20missing%20something%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-671020%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-671020%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F42008%22%20target%3D%22_blank%22%3E%40Kanwar%20Jot%20Singh%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi!%3C%2FP%3E%0A%3CP%3EAre%20the%20results%20that%20are%20not%20tenant%20wide%20in%20the%20searchbox%20or%20is%20it%20on%20the%20search%20results%20page%20after%20performing%20a%20search%20by%20hitting%20enter%20in%20the%20searchbox%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%20to%20verify%20that%20your%20site%20has%20been%20set%20to%20tenant%20you%20can%20try%20adding%20%2F_api%2Fweb%20to%20the%20end%20of%20the%20site%20url%20and%20searching%20in%20the%20text%20in%20the%20browser%20for%20searchscope%20and%20what%20value%20is%20set%20there.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-673015%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-673015%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F141782%22%20target%3D%22_blank%22%3E%40Geir-Magnus%20Pettersen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPowershell%20result%20%3A%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20378px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117299i04CCB17820540D79%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SearchTenant.png%22%20title%3D%22SearchTenant.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESearch%20result%20in%20the%20site%20url%20after%20the%20change%20%26gt%3B%26gt%3B%26nbsp%3B_layouts%2F15%2Fsearch.aspx%2Fsiteall%3Fq%3Dkeyword%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-673133%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-673133%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F42008%22%20target%3D%22_blank%22%3E%40Kanwar%20Jot%20Singh%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESetting%20looks%20correct%2C%20one%20thing%20we%20are%20working%20on%20is%20enabling%20hub%20sites%20for%20honoring%20the%20search%20scope.%20This%20is%20currently%20work%20in%20progress%2C%20so%20one%20source%20of%20this%20is%20if%20your%20communication%20site%20could%20be%20set%20up%20as%20hubsite%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20verify%20that%20your%20site%20is%20not%20a%20hubsite%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-673158%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-673158%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F141782%22%20target%3D%22_blank%22%3E%40Geir-Magnus%20Pettersen%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%20communication%20site%20is%20not%20a%20hub%20site%2C%20i%20also%20tested%20on%20Modern%20team%20site%20but%20it%20also%20did%20not%20work%20on%20that%20one%20also.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-673160%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-673160%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F42008%22%20target%3D%22_blank%22%3E%40Kanwar%20Jot%20Singh%3C%2FA%3E%2C%26nbsp%3Bsending%20you%20a%20private%20message%20where%20we%20can%20try%20to%20figure%20out%20your%20specifics.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-447334%22%20slang%3D%22en-US%22%3EConfigure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-447334%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20heard%20from%20many%20of%20you%20the%20need%20to%20be%20able%20to%20change%20the%20scope%20of%20your%20modern%20search%20results%20pages.%20When%20you%20create%20a%20new%20communication%20site%20or%20team%20site%20in%20SharePoint%20Online%20today%2C%20and%20type%20into%20the%20search%20box%2C%20you%20are%20taken%20to%20the%20modern%20search%20results%20page.%20This%20page%20shows%20results%20from%20your%20current%20site%20by%20default%2C%20and%20allows%20you%20to%20expand%20the%20scope%20of%20your%20search%20to%20the%20hub%20that%20the%20current%20site%20is%20associated%20with%20(if%20there%20is%20one)%2C%20or%20to%20the%20whole%20organization.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20there%20is%20a%20desire%20for%20being%20able%20to%20change%20the%20behavior%20to%20always%20search%20over%20the%20whole%20organization%2C%20without%20needing%20an%20additional%20click%2C%20especially%20if%20the%20site%20in%20question%20will%20be%20used%20as%20a%20modern%20landing%20page%20for%20your%20organization.%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EI'm%20happy%20to%20say%20that%20with%20the%20latest%20version%20of%20the%20SharePoint%20PnP%20PowerShell%20extensions%2C%20it%20is%20possible%20to%20run%20a%20simple%20command%20as%20the%20site%20owner%2C%20and%20make%20your%20site%20use%20the%20organization%20scope%20by%20default.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20change%20this%20setting%3A%3C%2FP%3E%3CP%3E1.%20Start%20PowerShell%20in%20administrator%20mode%20as%20you%20will%20be%20installing%20the%20PnP%20extensions.%3C%2FP%3E%3CP%3E2.%20Run%20the%20following%20commands%20to%20in%20this%20order%3A%3C%2FP%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Install-Module%20SharePointPnPPowerShellOnline%3CBR%20%2F%3E%23%20If%20you%20previously%20had%20installed%20this%20module%2C%20you%20may%20need%20to%20use%20the%20%22-Force%22%20parameter%20to%20install%20the%20newer%20version.%20%3CBR%20%2F%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Connect-PnPOnline%20-Url%20%3CA%20href%3D%22https%3A%2F%2Fcontosodemosg.sharepoint.com%2Fsites%2FStrategy%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcontosodemosg.sharepoint.com%2Fsites%2FStrategy%3C%2FA%3E%20-UseWebLogin%3CBR%20%2F%3E%23%20this%20will%20prompt%20you%20to%20sign%20into%20your%20site.%20Use%20the%20site%20owner%20credentials%20to%20sign%20in%20%3CBR%20%2F%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20%24web%20%3D%20Get-PnPWeb%20PS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20%24web.SearchScope%20%3D%201%20%3CBR%20%2F%3E%23%201%20for%20Tenant%2C%200%20for%20default%20behavior%3CBR%20%2F%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20%24web.Update()%20PS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Invoke-PnPQuery%3CP%3EAfter%20running%20these%20commands%2C%20the%20site%20will%20start%20to%20show%20results%20from%20the%20whole%20organization.To%20go%20back%20to%20the%20default%20setting%2C%20run%20the%20commands%20again%20with%20the%20value%20provided%20to%20%22SearchScope%22%20parameter%20to%200.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20will%20be%20providing%20a%20way%20to%20set%20this%20setting%20using%20the%20UI%20later%20this%20year%20as%20well.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-447334%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Esearch%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-693614%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-693614%22%20slang%3D%22en-US%22%3EWorked%20like%20a%20charm%20on%20my%20primary%20hub%20(comm)%20site.%20Thanks!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712672%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712672%22%20slang%3D%22en-US%22%3EI%20noticed%20you%20can%20no%20longer%20see%20the%20Q%26amp%3BA%20cards%20in%20search%20results.%20Is%20this%20a%20known%20issue%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-735800%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-735800%22%20slang%3D%22en-US%22%3EIs%20there%20any%20fix%20coming%20for%20team%20site%20as%20the%20feature%20doesn%E2%80%99t%20work%20on%20team%20sites%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-769790%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-769790%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3B%20Greetings%20-%20Are%20there%20plans%20or%20is%20there%20a%20way%20to%20control%20what%20is%20displayed%20in%20the%20result%20details%3F%20For%20example%20we%20have%20a%20description%20in%20the%20page%20details%2C%20but%20the%20results%20return%20the%20first%20few%20lines%20on%20the%20page.%20Same%20with%20libraries%20or%20lists.%26nbsp%3BReturn%20title%20or%20subject%20information%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E~%20Catherine%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-771692%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-771692%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F364294%22%20target%3D%22_blank%22%3E%40RickyB%3C%2FA%3E%2C%20we%20noticed%20the%20issue%20as%20well%20where%20some%20of%20our%20users%20were%20not%20seeing%20the%20result%20cards%2C%20and%20addressed%20it%20recently.%20All%20Targeted%20Release%20users%20and%20tenants%20should%20see%20the%20answer%20cards%20now%20while%20they%20are%20searching%20at%20the%20organization%20level.%20We%20hope%20that%20this%20will%20be%20available%20more%20broadly%20by%20September.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-771696%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-771696%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F51011%22%20target%3D%22_blank%22%3E%40Catherine%20Billick%3C%2FA%3E%2C%20we%20are%20working%20on%20a%20feature%20called%20modern%20display%20templates%20that%20will%20allow%20you%20to%20do%20this.%20My%20best%20estimate%20at%20the%20moment%20is%20that%20this%20will%20be%20available%20in%20the%20first%20half%20of%202020%2C%20we%20can%20provide%20a%20better%20estimate%20as%20we%20make%20more%20progress%20in%20our%20implementation.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-771994%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-771994%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3B-%20Super!%26nbsp%3B%20The%20feature%20will%20help%20the%20results%20be%20more%20user-friendly.%26nbsp%3B%20Thanks%20for%20the%20quick%20reply.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775116%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775116%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3BHere%20is%20an%20edit%20to%20update%20multiple%20sites.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.siolon.com%2Fblog%2Fupdate-multiple-sharepoint-online-sites-to-search-whole-tenant%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.siolon.com%2Fblog%2Fupdate-multiple-sharepoint-online-sites-to-search-whole-tenant%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775540%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775540%22%20slang%3D%22en-US%22%3EThat's%20great!%20Thank%20you%20for%20sharing!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-784309%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-784309%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20came%20here%20specifically%20looking%20for%20this%20feature%2C%20thank%20you%20for%20posting.%20Looking%20forward%20to%20updates%20to%20make%20it%20easier.%3C%2FP%3E%3CP%3EThanks%2C%3CBR%20%2F%3ERob.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-788799%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20modern%20search%20results%20to%20search%20all%20of%20your%20organization%20(rather%20than%20the%20current%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-788799%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175%22%20target%3D%22_blank%22%3E%40Kerem%20Yuceturk%3C%2FA%3E%26nbsp%3B-%26nbsp%3B%20Suggestion%20you%20may%20already%20have%20on%20your%20list.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESearch%20result%20returns%20the%20site%20title.%26nbsp%3B%20Problem%20is%20it%20also%20returns%20the%20web%20address%20name%20of%20the%20list%20and%20library%20instead%20of%20the%20title%20which%20would%20be%20more%20user-friendly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExample%3A%26nbsp%3B%20Document%20resides%20in%20a%20library%20with%20the%20title%20of%20%22Employee-New%22%20.%26nbsp%3B%26nbsp%3BWeb%20address%20for%20the%20library%20is%20newterm.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20349px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F125646i3A5CED05FCFA93AF%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22Search.JPG%22%20title%3D%22Search.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%2095px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F125645i05D4B1C3B98BBE8E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22Search2.JPG%22%20title%3D%22Search2.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Kerem Yuceturk
Microsoft

Hey everyone,

 

We heard from many of you the need to be able to change the scope of your modern search results pages. When you create a new communication site or team site in SharePoint Online today, and type into the search box, you are taken to the modern search results page. This page shows results from your current site by default, and allows you to expand the scope of your search to the hub that the current site is associated with (if there is one), or to the whole organization.

 

But there is a desire for being able to change the behavior to always search over the whole organization, without needing an additional click, especially if the site in question will be used as a modern landing page for your organization. 

DefaultSearchScope.JPGSearching in a site will show results from that site (Strategy and Planning), with a control to expand the search scope to the hub (Sales) or the whole organization

I'm happy to say that with the latest version of the SharePoint PnP PowerShell extensions, it is possible to run a simple command as the site owner, and make your site use the organization scope by default.

 

To change this setting:

1. Start PowerShell in administrator mode as you will be installing the PnP extensions.

2. Run the following commands to in this order:

PS C:\WINDOWS\system32> Install-Module SharePointPnPPowerShellOnline
# If you previously had installed this module, you may need to use the "-Force" parameter to install the newer version.
PS C:\WINDOWS\system32> Connect-PnPOnline -Url https://contosodemosg.sharepoint.com/sites/Strategy -UseWebLogin
# this will prompt you to sign into your site. Use the site owner credentials to sign in
PS C:\WINDOWS\system32> $web = Get-PnPWeb PS C:\WINDOWS\system32> $web.SearchScope = 1
# 1 for Tenant, 0 for default behavior
PS C:\WINDOWS\system32> $web.Update() PS C:\WINDOWS\system32> Invoke-PnPQuery

After running these commands, the site will start to show results from the whole organization.OrganizationResults.JPGAfter the change, results from the whole organization are displayed.To go back to the default setting, run the commands again with the value provided to "SearchScope" parameter to 0. 

 

We will be providing a way to set this setting using the UI later this year as well. 

40 Replies
Hi Kerem,
Will this also be added to the sitescript actions soon? That’s in my opinion more important then having it available through the UI.
Is there a way to change the scope to be just the sites in the hub? This would allow you to set all hub sites to have the same search scope as the root hub site.

Hi @Robert Schouten, not right away, but some of my colleagues are working on adding the ability to set properties and turn on features. Hopefully that will be available later this year.

Solution

Hi @Rick DeFoe, we are actually working on making that happen. We hope that will be coming in the next couple of months.

@Robert Schouten, in the meanwhile you could make the site script to start a flow and from that flow call an Azure function that runs the PowerShell script.

 

Laura

@Laura Kokkarinen yes I know that road. At some customers, an Azure environment is not always available. But if it is, it a very valid option! Tnx...

Thank you for adding this feature. Often requested by our customers. Just tried it out and worked directly as I expected.

Optional easy way: Create a Link to your Navigation Bar -> https://YourTenantName.sharepoint.com/_layouts/15/sharepoint.aspx?&v=search

 

@Kerem Yuceturk This looks great! I am trying to implement it and run into an issue when trying to connect to the site. We have single sign on enabled via SailPoint and when the browser goes to try and log me in I get a blinking screen and cannot get connected. Any suggestions?

@Kerem Yuceturk It seems that searching trough the REST API, this setting is ignored.

 

This query for example, searches only in the current sitecollection on a modern communication site:

https://mytenant.sharepoint.com/sites/moderncommunicationsite/_api/search/query?querytext=%27test%27

 

See also this issue:

https://sharepoint.stackexchange.com/questions/260111/rest-search-results-from-communication-sites-a...

@Kerem Yuceturk It seems that searching trough the REST API, this setting is ignored.

 

This query for example, searches only in the current site collection on a modern communication site:

https://mytenant.sharepoint.com/sites/moderncommunicationsite/_api/search/query?querytext='test'

 

See also this issue:

https://sharepoint.stackexchange.com/questions/260111/rest-search-results-from-communication-sites-a...

@Renevdo 

 

Even though the search api of the site is used you still can be able to get tenant wide results. 

 

When doing a site scoped search we scope by limiting the search in the query template of the query with Path:"UrlToCommunicationSite". And when upscoping this path part of querytemplate is removed.

 

So you should still be able to get tenant wide results even if the search api of the communicationsite is used to post the query.

 

Are you only seeing results from your communicationsite after changing the site scope?

@Joe Volk , sorry not familiar with that. My two factor auth works when I use -UseWebLogin. This page has more information about the PnP solution, and may have some discussions that might be helpful: https://github.com/SharePoint/PnP-PowerShell

Hi @Renevdo, This is for the modern search results UI only. It has no effect on REST. You should be able to get to the scope that you want in REST in other ways like  as @Geir-Magnus Pettersen mentioned!

@Kerem Yuceturk 

 

I noticed that the search box placeholder does not change on hub sites, see screenshots: 

 

Hub search box: 

hub.png

All other sites:

allother.png

 

Will this be fixed/updated so that the placeholder is consistent across hub and non-hub sites? 

@Kerem Yuceturk 

 

I follow the directions step by step and i am getting error:

The property 'SearchScope' cannot be found on this object. Verify that the property exists and can be set.

 

Have the latest version of powershell.

Anyone seen this error?

 

Thanks

I'm receiving the same error. I've made sure I'm running PowerShell in Admin mode as well. Forced the re-installation of module as well as tried update. No luck, any help is appreciated!

 

 

Some additional guidance if you are getting the "The property 'SearchScope' cannot be found on this object. Verify that the property exists and can be set."

 

Exception when you try to execute the version, you are running either wrong version of PnP PowerShell OR you have SharePoint CSOM SDK installed on your machine which is not recommended.

 

If you have just updated to use the latest PnP PowerShell, move to "Add or Remove programs" in your computer and make sure that you do not have SharePoint Client Side CSOM SDK installed as that msi unfortunately installed assemblies to the GAC (Global Assembly Cache) and that overrides any local newer assembly versions, which is most likely the conflict here.

@Kerem Yuceturk 

 

Hello Kerem.  Two questions about this setting:

  • Does this apply to the new Global MS Search bar at the top as well?
  • Will changing this turn off library searching?

 

Thanks in advance!

Hi @tg_olympus, Yes, this will take effect for the new search box in the header as well.

 

This only applies to modern site search results.  Lists and Libraries will continue to search in that particular list or library. If you click on the link at the bottom of lists and libraries to expand the search, you will be able to get to modern site search results, which will respect this setting. 

@Kerem Yuceturk

 

Cool, we just tried it.  It works to a point but it seems to be still showing local results in the search results drop down.  Would that be fixed up in the future?

 

Thanks!

Thank you @tg_olympus! Yes, making the suggestions that appear under the search box to have the same scope is something the team is working on.

@Kerem Yuceturk 

 

I have updated the search scope using powershell on comms/teams site but still the results are getting redirected to site level

 

Powershell Result after running the script on site  :  $web.SearchScope
Tenant

 

Can you confirm if i am missing something

@Kanwar Jot Singh 

 

Hi!

Are the results that are not tenant wide in the searchbox or is it on the search results page after performing a search by hitting enter in the searchbox?

 

Also to verify that your site has been set to tenant you can try adding /_api/web to the end of the site url and searching in the text in the browser for searchscope and what value is set there.

@Geir-Magnus Pettersen 

 

Powershell result : SearchTenant.png

 

Search result in the site url after the change >> _layouts/15/search.aspx/siteall?q=keyword?

 

 

 

@Kanwar Jot Singh 

 

Setting looks correct, one thing we are working on is enabling hub sites for honoring the search scope. This is currently work in progress, so one source of this is if your communication site could be set up as hubsite? 

 

Could you please verify that your site is not a hubsite?

@Geir-Magnus Pettersen

 

No communication site is not a hub site, i also tested on Modern team site but it also did not work on that one also. 

@Kanwar Jot Singh, sending you a private message where we can try to figure out your specifics. 

Worked like a charm on my primary hub (comm) site. Thanks!
I noticed you can no longer see the Q&A cards in search results. Is this a known issue?
Is there any fix coming for team site as the feature doesn’t work on team sites

@Kerem Yuceturk  Greetings - Are there plans or is there a way to control what is displayed in the result details? For example we have a description in the page details, but the results return the first few lines on the page. Same with libraries or lists. Return title or subject information? 

 

~ Catherine

@RickyB, we noticed the issue as well where some of our users were not seeing the result cards, and addressed it recently. All Targeted Release users and tenants should see the answer cards now while they are searching at the organization level. We hope that this will be available more broadly by September. 

@Catherine Billick, we are working on a feature called modern display templates that will allow you to do this. My best estimate at the moment is that this will be available in the first half of 2020, we can provide a better estimate as we make more progress in our implementation.   

@Kerem Yuceturk - Super!  The feature will help the results be more user-friendly.  Thanks for the quick reply.

@Kerem Yuceturk 

 

I came here specifically looking for this feature, thank you for posting. Looking forward to updates to make it easier.

Thanks,
Rob.

@Kerem Yuceturk -  Suggestion you may already have on your list.

 

Search result returns the site title.  Problem is it also returns the web address name of the list and library instead of the title which would be more user-friendly.

 

Example:  Document resides in a library with the title of "Employee-New" .  Web address for the library is newterm.  

Search.JPG

 

Search2.JPG