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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

ADFS Forms authentication not working for CRM 2013

(0) ShareShare
ReportReport
Posted on by

I have CRM 2013 setup and working with claims based auth and IDF enabled with ADFS 2.0. It all works both internally and externally, however I noticed when I tried using the IOS app for CRM it just landed on a blank page with no login screen, that blank page should be showing the ADFS login form. What it looks like is ADFS is treating the external auth as internal auth.

Anyone got any ideas?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Pradeep Pawar Profile Picture
    2,930 on at

    You may refer this link for browser compatibility on mac:

    https://community.dynamics.com/crm/b/crmcustomereffective/archive/2013/10/14/crm-2013-and-working-browser-independent.aspx

    Let me know more details about mac version and browser versions etc.

    Pradeep P

  • Community Member Profile Picture
    on at

    So I'm using MS Dynamics CRM ipad app on IOS 7.

    Going to https://crm.OurUrl.com/ in Safari on the the ipad works just fine, i'm able to login with the login prompt (not a login form) and use crm in the browser, its just the App that doesn't work, and doesn't work on iphone 5 or 4 with the same App.

  • Community Member Profile Picture
    on at

    This is the app I'm using:

    itunes.apple.com/.../id678800460

    This app, needs IDF in order to work. However I have Claims auth and IDF both setup for CRM 2013 using ADFS 2.0, however the app doesn't or can't see the forms based auth screen... all it shows is blank screen where the login screen should be. And I have a feeling that ADFS keeps treating all auth as internal auth and immediately shows the pop up prompt for login instead of the forms based login which the ipad/iphone apps need.

    Any ideas?

  • Verified answer
    Community Member Profile Picture
    on at

    Found my answer in the CRM IG v6.

    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

  • Community Member Profile Picture
    on at

    Did you get the app working externally in the end?

  • Suggested answer
    Robert Kennedy Profile Picture
    5 on at

    Thanks - that worked for me

  • Community Member Profile Picture
    on at

    What if you are working on the iphone and on Data not wifi? we don't get to the ADFS screen.

  • Community Member Profile Picture
    on at

    Thanks for the information... It helped me get one step closer, but I'm still not there yet. Can you please tell me where/how you got the Client Id, and the RedirecUri?  Are those values above specific to you?  Thanks again!

  • Community Member Profile Picture
    on at

    Nope, I think those are the ID's of the app itself. I don't recall those being unique. 

  • Joe Woltering Profile Picture
    12,163 on at

    Where do you access the ADFS Authentication Policies in this step? (2008 R2)

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

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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans