Home > MS crm 2013 > Enable ADFS authentication for Mobile App

Enable ADFS authentication for Mobile App


1. Log on to the AD FS server as an administrator.

2. Open the ADFS management wizard.

3. Click Authentication Policies > Primary Authentication > Global Settings > Authentication Methods > Edit.

4. Click (check) Form Based Authentication on the Intranet tab.

then configure the Oauth

1. Log on to the Microsoft Dynamics CRM server as an administrator.

2. In a Windows PowerShell console window, run the following script.

Add-PSSnapin Microsoft.Crm.PowerShell

$fedurl = Get-CrmSetting -SettingType ClaimsSettings

$fedurl.FederationProviderType = 1

Set-CrmSetting $fedurl

Then Register the client apps

The mobile client apps for the Apple iPad and Windows 8 tablets and phone must be registered with AD FS.

1. Log on to the AD FS server as administrator.

2. In a PowerShell window, execute the following command.

Add-AdfsClient -ClientId ce9f9f18-dd0c-473e-b9b2-47812435e20d -Name “Dynamics CRM Mobile Companion” -RedirectUri ms-app://s-1-15-2-2572088110-3042588940-2540752943-3284303419-1153817965-2476348055-1136196650/, ms-app://s-1-15-2-1485522525-4007745683-1678507804-3543888355-3439506781-4236676907-2823480090/, urn:ietf:wg:oauth:2.0:oob

Advertisements
Categories: MS crm 2013
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: