Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/System setup and customization/Environment setup and maintenance/Security and authentication

M-Files for Outlook Pro - Cross-origin token redemption error

Last updated on 30 September 2025

Admin
Microsoft Office Add-ins

Overview

This article points out how to resolve the "Cross-origin token redemption" related error during M-Files for Outlook Pro implementation.

Error Message : invalid_request: Error(s): 9002326 - Timestamp: <Timestamp> - Description: AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type. Request origin: '<M-Files web URL>'. Trace ID:……

 

Solution

The error code AADSTS9002326 suggests making sure the redirect URI is updated correctly in the Azure AD application settings.  Please ensure the steps below are followed.

1. Go to the Microsoft Entra admin center and log in.

2. On the left-side panel, select Identity > Applications > App registrations.

3. Select the application registration that is used for the M-Files federated authentication log in.

4. From the list on the left, select Authentication.

5. Add Single-page application platform if not already exist.

6. In Single-page application Redirect URIs, click Add URI.

7. In the new field, enter this as a value: https://mfnewoutlookaddinprod.m-files.com/dialog.html

8. Click Save.

The above steps should resolve the issue.

Still need help?

On this page