Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

M-Files Ment connection issue with SSO error message

Last updated on 13 November 2025

Admin
M-Files Ment

Overview

Sometimes the Ment connection to Vault may have an issue when allowing users to login via SSO. This can happen when moving to the new cloud environment. Below error message can appear in the system when signing in to the Ment application. 

Sorry, but we’re having trouble signing you in.

Error message:

AADSTS50011: The redirect URI 'https://us1.ment.m-files.com/auth/login?sso=commonAzure' specified in the request does not match the redirect URIs configured for the application '18fbca16-2224-45f6-85b0-f7bf2b39b3f3'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

Solution

From the error message can be seen that SSO provider has been set as "commonAzure". In Ment application that provider should be set as "M-Files SSO for integration".

Here is the link to the guide on how to set up the SSO in Ment application.

M-Files Ment Integration Setup Guide

Configuration details can be found from section 3.3.1.

Here is also added a screenshot from that guide with right section:

Still need help?

On this page