Graph Explorer to register apps for CRM Online is no longer used. All registration is now done on the Windows Azure portal. Although it is in progress, this is not yet published to 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 Windows Azure and provides a redirect URI during the registration process. The URI can be any valid and appropriate URI. The Windows 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 Windows 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:
- Register 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 Windows Azure
- Sign into the Windows Azure management portal 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 Windows Azure account 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. For more information see Active Directory Pricing Details.
- Click or tap ACTIVE DIRECTORY in the left column the 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.
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. 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, 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 pointing 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.
- 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