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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Register a CRM app with Active Directory?

(0) ShareShare
ReportReport
Posted on by 325

Can someone expand on this subject, is it required?  Was looking into building apps for rich desktop client that could be put in the windows store for Windows 8.1/RT and Phone but it seems that this requirement would make deployment for clients a nightmare.  I can't image that CRM system admins would be open to registering an app every time someone decides they want to try an application. You can find the subject in the newest sdk:

Walkthrough: Register a CRM app with Active Directory

Here is the process for registering for CRM Online just for reference from the sdk:

App registration for CRM Online

Scenario: A person with a CRM Online system user account accesses organization data through a rich desktop client or mobile app.

The end user performs the following tasks:

Registers the external application in Microsoft Azure and provides a redirect URI during the registration process. The URI can be any valid and appropriate URI. The Microsoft Azure app registration process results in the generation of a client ID string.

Configures the application by entering the client ID and redirect URI in the app’s authentication code or configuration file when instructed on the Microsoft Azure app registration page.

Scenario: An ISV creates and registers an app that later published in the app store. The ISV’s customers download the app from the store and use it to connect to their Microsoft Dynamics CRM Online organization.

The ISV performs the following tasks:

Registers the app in the ISV’s tenant using the steps provided in the previous scenario (above).

Each customer that downloads the app performs the following tasks:

When accessing a CRM organization in the customer’s tenant, the customer will be presented with a consent form.

The customer reads the information on the form and clicks OK to consent.

(Optional) The customer register’s the app in the customer’s tenant.

For native apps, the customer has to consent each time he or she is prompted to authenticate again. For web apps, the customer is only asked to consent one time. The workaround to bypass the consent form is for the customer to register the app in the customer’s tenant.

Register an application with Microsoft Azure

Sign in to the Microsoft Azure management portal by using a Microsoft Office 365 account with administrator permission. Use an account in the same subscription (tenant) as you intend to register the app with.

You must sign up for a Microsoft Azure account by using a credit card if you do not have an account. However, the account is free and your credit card will not be charged if you only follow the procedures called out in this topic to register one or more apps. More information: Active Directory Pricing Details

Click or tap Active Directory in the left column of the page. You may need to scroll the left column to see the Active Directory icon and label.

Click or tap the desired tenant directory in the directory list.

List of available Active Directory entries

If your CRM tenant directory is not shown in the directory list, click or tap Add, and then select Use existing directory in the dialog box. Follow the prompts and instructions provided, and then go back to step 1.

With the target directory selected, click or tap Applications, and then click or tap Add.

In the dialog box, click or tap Add an application my organization is developing.

When prompted, enter a name for your application, click or tap a type: Web Application or Native Client Application, and then click or tap the right arrow to continue.

Continue providing the requested information and complete the app registration process.

With the tab of the newly registered app selected, click or tap Update Your Code. Insert the provided redirect URI and client ID in the authentication code of your app.

Generated client ID in Dynamics CRM

With the tab of the newly registered app selected, click or tap Configure.

Set the app permissions as shown in the figure below.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nina P. Profile Picture
    2,195 on at

    Hi LLB,

    thank you for using Microsoft Dynamics Community. I understand that you want to do is to develop a Windows 8 application which ties into the CRM webservices in some way and then for example be able to sell this to other companies too.

    When authenticating against AD (On-Premise or Azure) you must register the client app as permitted otherwise the users need to “self authorize” their login attempt by consenting to the authorization – this is because the Client does not know the identity provider but only the end url of the web service it is trying to access.

    The important part here is that as we say in the SDK and as you say in your post these are the steps:

    1. When accessing a CRM organization in the customer’s tenant, the customer will be presented with a consent form.

    2. The customer reads the information on the form and clicks OK to consent.

    3. (Optional) The customer register’s the app in the customer’s tenant.

    As it says step 3 is optional.  If the admin does not complete this then it will be down to the user to consent each time they authorize.  It would depend how the app is written how often this would be.

    I would suggest that if a company is “Trialling” an app as you suggest then you would click the consent box, if you launched the application across your business for all their users this would be when you would then register the app against their identity.

    Please let us know if this helps.

    Nina Peneva

    Support Engineer

    Microsoft Dynamics CRM

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans