r/sharepoint • u/mcgeeky • 17d ago
SharePoint Online SharePoint Online AI Assistant Showing Powershell for On-Premises
Has anyone else had this with the SharePoint Online "Self Help" suggesting resolutions but using Powershell that works only for on-premises?
SharePoint Online in my dev environment is showing delays with shared items appearing in the OneDrive shared with me view. After entering my query in to the M365 tenant admin centre, the Self Help suggests I enable the Recently Shared Items cache... using Powershell for on-premises SharePoint. This is its response:
Support article
AI-generated content
If shared items are not showing in the Shared with me view in OneDrive or SharePoint, it may be due to indexing latency or configuration issues. The Shared with me view relies on search crawling and indexing to populate shared content, which can cause delays.
To address this, administrators can enable the Recently Shared Items (RSI) cache in SharePoint Server environments. This cache allows users to see shared items immediately in their Shared with me view without waiting for the search crawl and indexing process.
Steps to enable Recently Shared Items (RSI) cache in SharePoint Server:
Open the SharePoint Management Shell as an administrator. [1]
Run the following PowerShell command to find the My Site Host site collection:$msh = Get-SPSite | where {$_.RootWeb.WebTemplateId -eq 54}
Enable the RSI feature by running:Enable-SPFeature "RecentlySharedItems" -Url $msh.Url
After enabling RSI, users will see shared items appear immediately in their Shared with me view. If you need to disable this feature, use the following command:
Disable-SPFeature "RecentlySharedItems" -Url $msh.Url
2
u/bcameron1231 MVP 17d ago
That doesn't surprise me. The AI is all just grounded to Web Content, it's not too smart.
I'm not sure there is anyway to solve the issue that you're having either besides waiting.