Skip to main content
Nintex Community Menu Bar
Knowledge Base

Unable to open Forms and Workflow for Office 365 due to Incorrect Redirect URI

  • February 20, 2024
  • 0 replies
  • 1791 views

ibtisamariz1
Nintex Employee
Forum|alt.badge.img+1

Topic

The following error occurs when attempting to open Nintex Workflow or Forms for Office 365:

AADSTS50011: The redirect URI [Tenancy URL] specified in the request does not match the redirect URIs configured for the application '00000003-0000-0ff1-ce00-000000000000
Make sure the redirect URI sent in the request matches the one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

 

Instructions

Run the following in the SharePoint Online Management Shell:

Install-Module -Name AzureAD -MinimumVersion 2.0.0.71

Connect-AzureAD

$sharePointOnlineServicePrincipal = Get-AzureADServicePrincipal -Filter "appId eq '00000003-0000-0ff1-ce00-000000000000'"

$sharePointOnlineServicePrincipal.ReplyUrls.Add("https://*.sharepoint.com/_forms/*");

Set-AzureADServicePrincipal -ObjectId $sharePointOnlineServicePrincipal.ObjectId -ReplyUrls $sharePointOnlineServicePrincipal.ReplyUrls

 

Additional Information

This issue is due to changes made in SharePoint Online by Microsoft in which reply URLs containing wildcards are removed, causing some redirect URLs to be missing. Microsoft provided the script above to replace the reply URL for Nintex Forms.

Microsoft has documented this issue here: https://learn.microsoft.com/en-us/troubleshoot/azure/active-directory/error-code-aadsts50011-redirect-uri-mismatch 

0 replies

Be the first to reply!