Article last updated on the 1st of May, 2024.
1. Issue
On WorkPoint solutions, you may experience multiple instances (typically 3) of page reloading when accessing various SharePoint sites, including the root site front page. The issue persists when opening sites in new browser tabs, and intermittent reloading occurs when navigating between pages.
The reason for this issue is that when SharePoint related redirect URIs are mistakenly registered under "Web" instead of "SPA" (Single-page application), it misaligns with how SPAs operate.
The authentication flow tries to adhere to the traditional web application model, resulting in unnecessary page reloads. Specifically, the environment attempts to refresh the entire page multiple times to complete the authentication process, rather than handling these redirects in the background.
This misconfiguration leads to a suboptimal user experience, characterized by repeated loading screens, before the SPA can finally display its content.
2. Solution
The issue can be resolved by performing a small series of steps inside the Microsoft Entra admin center:
- In the Microsoft Entra admin center, expand the "Applications" menu and select "App registrations".
- On the App registrations page, select "All applications".
- Open "SharePoint Online Client Extensibility Web Application Principal".
- On the SharePoint Online Client Extensibility Web Application Principal overview page, click "Delete".
- In side right-side panel, check the "I understand the implications"-checker and click "Delete".
After a refresh of the page, the application should now be gone:
Next, we need to perform some steps inside the WorkPoint 365 administration:
- In the "Update" page in the WorkPoint 365 administration, click "Update Modern UI".
- With the default settings, click the "Submit Update Job" button.
The update job can be followed in the Modern UI page:
After the update, head over to the SharePoint administration:
- In the SharePoint administration, access the "API access" page under "Advanced".
- For each WorkPoint 365 related API permission, click "Approve".
This opens the "Approve access" side panel for the selected permission:
- For each WorkPoint related permission, click the "Approve" button in the side panel.
After you have approved all WorkPoint related permissions, they should appear in the "Approved requests" group:
- On the WorkPoint solution, click the "Home" button.
- In the bottom of the side panel, select "Need help?", and click "Clear WorkPoint 365 browser cache".
3. Notes
Please note that if your environment uses other third party SharePoint extensions (e.g., PnP Search Web Part), which also require permissions to external resources, these must be given again as well in the API Access page in the SharePoint administration. If these do not appear in the "API Access" page alongside the WorkPoint 365 related ones, delete the relevant apps, download them fro the app catalog, and re-install them. Their relevant permissions should then appear in the API Access page from where they can be approved.
Comments
0 comments
Please sign in to leave a comment.