Configure Microsoft Dynamics CRM for Outlook to use claims-based authentication
Applies To: CRM 2015 on-prem
In an environment that supports claims-based authentication, a client (such as CRM for Outlook) can use federated AD FS to connect to the Microsoft Dynamics CRM Server. The client obtains credentials through federated AD FS and uses these credentials to be authenticated on the same or a different Active Directory domain to connect to the Microsoft Dynamics CRM Server.
You can connect CRM for Outlook on one Active Directory domain to a Microsoft Dynamics CRM server in a different Active Directory domain. You can do this when the credentials that CRM for Outlook uses on its own domain are authenticated by a server on the other domain. To make this work, use AD FS.
After federation is established, the client can use either its current domain credentials or different domain credentials when attempting to connect to the Microsoft Dynamics CRM Server. You specify which domain and which Active Directory to use through the home realm - an identity provider that authenticates the user.
|For external claims-based authentication deployments, use the Microsoft Dynamics CRM Server website's external address (for example: https://orgname.contoso.com) for the Server URL connection setting.|
In the following procedure, you create a registry key on a single client computer. You may also want to consider using group policy so that you can make this registry change on multiple client computers.
Make sure that a web browser on the client can reach the Microsoft Dynamics CRM Server URL with no certificate errors. If you use a self-signed certificate, you will need to import it to avoid certificate errors. After you import any needed certificates, you should be able to connect to the organization by using non-federated credentials.
To use federated credentials, specify HomeRealmUrl in the Windows registry, as shown here:
Note This registry key is only needed if the claims provider server is different from the claims provider server used by Microsoft Dynamics CRM Server; for example, the Microsoft Dynamics CRM client authenticates across realms to a different domain.
With Administrator privileges, open the Registry Editor.
Open the registry key HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MSCRMClient.
Create the registry string HomeRealmUrl.
Enter the value data of the federated AD FS. This URL will end in /adfs/services/trust/mex.
For example, https://adfs.contoso.com/adfs/services/trust/mex.
Close the Registry Editor.
Configure CRM for Outlook. More information: Set up CRM for Outlook
- With Administrator privileges, open the Registry Editor.
You should now be able to connect CRM for Outlook to Microsoft Dynamics CRM Server by using claims-based authentication.
Modify the following sample data to create an .adm file to use group policy to publish the HomeRealmUrl registry setting.
CLASS MACHINECATEGORY "Microsoft Dynamics CRM" KEYNAME "Software\Policies\Microsoft\MSCRMClient" POLICY "Home Realm URL" EXPLAIN "Allow Administrator to specify the Home Realm URL for federated domains." PART "Specify Home Realm URL (example: https://adfs.contoso.com/adfs/services/trust/mex" EDITTEXT REQUIREDVALUENAME "HomeRealmUrl" END PART END POLICYEND CATEGORY
For more information, see Administrative Template File Format.
Send comments about this article to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.