web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

MS CRM On-Prem 2016 with Azure AD OAuth

(0) ShareShare
ReportReport
Posted on by 17

Hi, 

We have configured claims on our On-prem server using Azure AD federation URL. CRM web part authenticates against Azure and redirects back to Application.

However while connecting with Microsoft CRM Outlook client, the client (Outlook client) requires permission on Azure to authorize users for CRM.

 

Problem Statement: Problem connecting Microsoft Outlook client and Developer tools to MS CRM on premise with Azure AD OAuth.

 

Error while connecting with Outlook client

The user or administrator has not consented to use the application with ID '2f29638c-34d4-4cf2-a16a-7caf612cee15' named 'Microsoft Dynamics CRM for Microsoft Office Outlook'.

Send an interactive authorization request for this user and resource.\r\n

Also this permission cannot be granted as we cannot find application with ID '2f29638c-34d4-4cf2-a16a-7caf612cee15' named 'Microsoft Dynamics CRM for Microsoft Office Outlook' on our Azure tenant.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ThomasN Profile Picture
    3,190 on at
    RE: MS CRM On-Prem 2016 with Azure AD OAuth

    Hi Avinash, Thanks for reaching out.

    It appears you are missing a step where you register the Outlook Client in Azure AD as an app registration. See this link for details how to do this.

    docs.microsoft.com/.../hh699726(v=crm.8)

  • Avinash Lanka Profile Picture
    17 on at
    RE: MS CRM On-Prem 2016 with Azure AD OAuth

    Hi Tom, Thanks for the response.

    Is it possible to access ADFS server if we are using Azure AD?

    I spoke to our Azure AD Admin - they use Portal.Azure.com to grant permissions. They do not have access to Azure Server.

    They tried to grant same permissions via portal.azure but couldn't find the application id for Outllok or Dev Tools.

  • Suggested answer
    ThomasN Profile Picture
    3,190 on at
    RE: MS CRM On-Prem 2016 with Azure AD OAuth

    Hi Avinash,

    I'm not sure how your doing this without an ADFS server. Please make sure you have followed all steps to enable Internet Facing Deployment for CRM on-premise. That is necessary for the outlook client. In that process ADFS is necessary.

    For further insight, below is a link to Application Registration process in Azure Portal. However, this will not solve your problem because you cannot manually create the ClientID which is necessary given the previous links instructions and your error message is looking for a specific clientiD.  

    docs.microsoft.com/.../quickstart-register-app

    I hope this helps.

  • Suggested answer
    Michael Donald Profile Picture
    11 on at
    MS CRM On-Prem 2016 with Azure AD OAuth

    To resolve the issue with Microsoft Dynamics CRM and the Outlook client on-premise setup with Azure AD OAuth:

    1. Azure App Registration: Ensure the "Microsoft Dynamics CRM for Microsoft Office Outlook" application with ID '2f29638c-34d4-4cf2-a16a-7caf612cee15' is registered in Azure AD under "App Registrations."

    2. Permission and Consent: Grant necessary API permissions and consent for the application to access the on-premise CRM.

    3. Dynamics CRM Implementation: In Dynamics CRM on-premise, verify OAuth configuration for Azure AD, ensuring CRM web and Outlook components are correctly authenticated.

    This resolves the OAuth permission issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans