outlook add-in redirect url different from the one configured in app.

walid rifai 46 Reputation points
2020-10-22T07:23:14.253+00:00

I am trying to figure out what is the redirect URL retrieved in the outlook add-in to add it into my app-registrations.

I cannot sign in to the app with AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application error.
Worth mentioning that I correctly configured the source location URL of the add-in as in Azure Active Directory app-registrations.

Correlation ID:4155e0a0-e707-4fb1-bf9f-e6f639cf1209

I hope someone can assist me with this as I have been struggling for days to make it work.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,866 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,454 questions
0 comments No comments
{count} votes

Accepted answer
  1. soumi-MSFT 11,716 Reputation points Microsoft Employee
    2020-10-22T08:25:26.013+00:00

    Hello @walid rifai , thank you for reaching out. If this application is registered in AAD, we can help you to figure out the redirect URIs configured for this app.

    You can use the cloud shell present in the Azure Portal and run the following command to dump out the application details and the redirect URIs configured for it.

     Get-AzureADApplication -SearchString <app-name> | select AppId, DisplayName, ReplyUrls  
    

    34198-cloudshell.png

    With this, you can figure out the Reply URls that you have already configured for your App Registrations in Azure AD and modify your requests accordingly.

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as an Answer; if the above response helped in answering your query.

    0 comments No comments

0 additional answers

Sort by: Most helpful