I would like to share this information with all of you
SYMPTOM:
Users unable to log into the Edit in Excel add-in and getting the following error:
AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type. Request origin: 'az689774.vo.msecnd.net'.
Trace ID: 246a1989-43ll-3th7-db98-un675zzc2c22
Correlation ID: 96c99517-4385-40c2-b845- ffda1a432400
RCA:
Starting in July 2022, Microsoft will roll out an update to the Excel add-in. The update will help to secure the connection between the add-in and Business Central. The update requires that you modify your organization's Azure Active Directory (Azure AD) configuration so that users can continue using the add-in.
Solution:
- Sign in to Azure portal.
- Select Azure Active Directory.
- Under Manage, select App Registrations.
- Select the app that was registered to enable users to sign in to the Excel add-in.
- Under Manage, select Manifest.
- In the manifest, find the following "url"entry and change "type": "Web" to "type": "Spa":
{ "url": https://az689774.vo.msecnd.net/dynamicsofficeapp/v1.3.0.0/*, "type": "Spa"}
Reference:
Update the Excel Add-In Configuration - Business Central | Microsoft Docs