Hi Folks,
I am facing App Id mismatch in SharePoint when global navigation is used for “Home” i.e. to route to the root site.
Scenario:
We have a SharePoint Modern team site wherein we have deployed two different app packages(.sppkg, spfx solutions) in tenant’s App Catalog.
->First App (SPFX solution) is added on the root site (abc.sharepoint.com)
-> Second App is added on the Site Page (abc.sharepoint.com/sitepages/xyz.aspx)
Issue:
When on the Site Page (abc.sharepoint.com/sitepages/xyz.aspx), using global navigation to go back to home/root site.
This action correctly routes to the root site but when I check the Client Side Assets on the root site, the App id of the second app (added on the Site Page) appears at the top.
All the images on the root site which are referenced from the ClientSideAssets (First App) appear broken.
It is of high concern if users are using global navigation to go back to Home to see webparts on the home page disappearing and broken images, it not an acceptable behavior.
Need help to resolve this problem.
FYI: This issue does not occur if page is refreshed.
Below is the screenshot of client side assets on the root site after using the global navigation feature.