Dear community,

I am writing this question because where are facing a strange error on our Dynamics CRM installation. We try to get the app to work, but unfortunately we get a strange error and we cannot find any solution.

Our environment consists;

CRM 2016 on a 2012 server (version app/database 8.2.8.15)

ADFS 3 on a 2012 server

Claims based enabled and IDF too.

Followed the documentation on setting this up correctly and also performed the post installation steps for Oauth and ADFSclient entries.

Tests in browser internal and external are successful.

We can login with all os on tablets/phones

Here is the log I get from all app versions (tablet android/ios and phone os);

019-08-14 20:18:00.739+0200, 30580, 7317, "ScenarioStory Auth: Request Token (54c7368a-bd6c-42ec-9e17-723dec430955) Signaling Auth failure | Context: {"HeaderFields":{"null":["HTTP/1.1 500 Internal Server Error"],"Cache-Control":["private"],"Content-Type":["text/html"],"Cteonnt-Length":["75"],"Date":["Wed, 14 Aug 2019 18:17:55 GMT"],"X-Android-Received-Millis":["1565806680723"],"X-Android-Response-Source":["NETWORK 500"],"X-Android-Selected-Protocol":["http/1.1"],"X-Android-Sent-Millis":["1565806680714"]},"forceRefreshToken":false,"AuthRequestTask-OrgSvcUrl":""ResponseCode":500,"hasAuthCompleteCallback":true}"">drm.org-name.eu/.../web
2019-08-14 20:18:00.771+0200, 30580, 7317, "ScenarioEnd Auth: Request Token (54c7368a-bd6c-42ec-9e17-723dec430955): FAILURE ERROR Authentication: Security Token Response is 'AuthError' - Took 145ms | Context: {"HeaderFields":{"null":["HTTP/1.1 500 Internal Server Error"],"Cache-Control":["private"],"Content-Type":["text/html"],"Cteonnt-Length":["75"],"Date":["Wed, 14 Aug 2019 18:17:55 GMT"],"X-Android-Received-Millis":["1565806680723"],"X-Android-Response-Source":["NETWORK 500"],"X-Android-Selected-Protocol":["http/1.1"],"X-Android-Sent-Millis":["1565806680714"]},"AuthError-ErrorDescription":"BearerTokenChallenge: responseCode !\u003d 401","AuthRequestTask-OrgSvcUrl":""forceRefreshToken":false,"isAutoSignIn":false,"AuthError-Status":"Failed","ResponseCode":500,"AuthError-ErrorCode":"0","hasAuthCompleteCallback":true}"">drm.org-name.eu/.../web
2019-08-14 20:18:00.774+0200, 30580, 1, "ScenarioStart Player calls UCI (b4c41d27-b069-4e6a-87e9-44c289271615) | Context: {"handler":"javascript:PALNativeBridge.deviceCallback"}"
2019-08-14 20:18:00.827+0200, 30580, 1, I, CrmWebChromeClient, onConsoleMessage, 14, "UCI Webview ConsoleMessage:", "">drm.org-name.eu/.../Microsoft.Crm.Client.Core.Framework.js, "1", "ERROR", "[authentication] Authentication: Failed"
2019-08-14 20:18:00.830+0200, 30580, 1, I, CrmWebChromeClient, onConsoleMessage, 14, "UCI Webview ConsoleMessage:", "">drm.org-name.eu/.../Microsoft.Crm.Client.Core.Framework.js, "1", "WARNING", "[storage] Encountered error -2147093999 at at Microsoft.Crm.Client.Core.Framework.AuthenticationManager.$3Is (drm.org-name.eu/.../Microsoft.Crm.Client.Core.Framework.js at Microsoft.Crm.Client.Core.Framework.PAL.Dispatchers.$Th.$147.$1wG (drm.org-name.eu/.../MicrosoftAjax.js at Microsoft.Crm.Client.Core.Framework.PAL.Dispatchers.$Th.$147.$26k (drm.org-name.eu/.../Microsoft.Crm.Client.Core.Framework.js at Microsoft.Crm.Client.Core.Framework.PAL.Dispatchers.$Th.$147.$1Oa (drm.org-name.eu/.../Microsoft.Crm.Client.Core.Framework.js at Microsoft.Crm.Client.Core.Framework.PAL.Core.NativeBridge.$2nq (drm.org-name.eu/.../Microsoft.Crm.Client.Core.Framework.js at Microsoft.Crm.Client.Core.Framework.PAL.Core.NativeBridge.deviceCallback (drm.org-name.eu/.../Microsoft.Crm.Client.Core.Framework.js at <anonymous>:1:28"
2019-08-14 20:18:00.841+0200, 30580, 1, "ScenarioEnd Player calls UCI (b4c41d27-b069-4e6a-87e9-44c289271615): SUCCESS - Took 67ms | Context: {"handler":"javascript:PALNativeBridge.deviceCallback"}"
2019-08-14 20:18:00.847+0200, 30580, 7304, I, LoggingDispatcher, logMessage, 13, "[authentication] Authentication: Failed"
2019-08-14 20:18:00.850+0200, 30580, 7304, "ScenarioStart UCI calls the Player (1faf84d0-a16f-4d57-a5a7-3a3c0e5db955) | Context: {"methodName":"clientReady","jsonCallbacks":"{}","namespace":"Application","key":"e5fad19d-cecd-473d-b597-b0878b1a66fe","version":"Version1"}"
2019-08-14 20:18:00.853+0200, 30580, 7304, I, WebScriptBridge, clientReady, 16, "ClientReady", "{ Version = ; }"
2019-08-14 20:18:00.864+0200, 30580, 7304, "ScenarioEnd UCI calls the Player (1faf84d0-a16f-4d57-a5a7-3a3c0e5db955): SUCCESS - Took 13ms | Context: {"methodName":"clientReady","jsonCallbacks":"{}","namespace":"Application","key":"e5fad19d-cecd-473d-b597-b0878b1a66fe","jsonArgsLength":30,"version":"Version1"}"

Any assistance in this matter would be much appreciated.