Forum Discussion
Renier-365Fanatic
Jul 25, 2022Brass Contributor
Shared Channel Search not working
Good day Techcommunity, It does seem like Search features on Shared Channels isn't working and that the SharePoint sites created aren't being indexed. We have noticed that you cannot find ...
- Jul 31, 2022
Would recommend
1.) Opening a bug on the feedback site here: Microsoft Teams · Community
2.) Raising a ticket to Microsoft referencing the bug
If you leave the ticket number here I will raise that to MS Teams Engineering via the access I have
Hope that answers your question
Best, Chris
Ian_Morrish
Oct 10, 2022Brass Contributor
Possible solution
I added myself and the SharePoint Administrator account as Site Collection Admins to the SharePoint site using pnp.PowerShell (can't do this in the UI of a shared channel site collection), kicked of a site reindex and search started working.
To add the SharePoint Administrator, you need to go to a normal SharePoint site where you can see that account in the existing site collection admin and find the claim id (it doesn't have an email address)
PS > Add-PnPSiteCollectionAdmin -Connection $con -Owners email address removed for privacy reasons
PS > Add-PnPSiteCollectionAdmin -Connection $con -Owners "c:0t.c|tenant|[GUID looking service principal of the admin account]"
PS > Get-PnPSiteCollectionAdmin -Connection $con #confirm accounts are added
I added myself and the SharePoint Administrator account as Site Collection Admins to the SharePoint site using pnp.PowerShell (can't do this in the UI of a shared channel site collection), kicked of a site reindex and search started working.
To add the SharePoint Administrator, you need to go to a normal SharePoint site where you can see that account in the existing site collection admin and find the claim id (it doesn't have an email address)
PS > Add-PnPSiteCollectionAdmin -Connection $con -Owners email address removed for privacy reasons
PS > Add-PnPSiteCollectionAdmin -Connection $con -Owners "c:0t.c|tenant|[GUID looking service principal of the admin account]"
PS > Get-PnPSiteCollectionAdmin -Connection $con #confirm accounts are added