Dynamics 365 App for Outlook Issue

0
22
Role Image


Hello,

I was having this problem and worked through a lengthy Microsoft ticket to get it resolved. Microsoft has made a patch specifically designed to resolve this, but even with the patch our system was having problems.

One thing we realized was that our ADFS server was running Windows Server 2016 and using ADFS 4.0 we needed an additional command in the ADFS server’s powershell after adding the Dynamics app for outlook client using the provided command:

Grant-AdfsApplicationPermission -AllowAllRegisteredClients -ServerRoleIdentifier “auth.yourdomain.com/"

Then did an IISreset and ADFS Service Restart.

We also needed to tweak our IIS settings, it ended up working using the following:

Server :

Anonymous Authentication Enabled

ASP.NET Impersonation Disabled

Forms Authentication Disabled

Windows Authentication Disabled

Microsoft Dynamics CRM (Site)

Anonymous Authentication Enabled

ASP.NET Impersonation Disabled

Forms Authentication Disabled

Windows Authentication Enabled

XRMServices

Anonymous Authentication Enabled

ASP.NET Impersonation Enabled

Forms Authentication Disabled

Windows Authentication Disabled

XRMServices > 2011

Anonymous Authentication Enabled

ASP.NET Impersonation Enabled

Forms Authentication Disabled

Windows Authentication Disabled

XRMServices > 2011 > Organization.svc

Anonymous Authentication Enabled

ASP.NET Impersonation Enabled

Forms Authentication Disabled

Windows Authentication Disabled

nga

Anonymous Authentication Enabled

ASP.NET Impersonation Enabled

Forms Authentication Disabled

Windows Authentication Disabled

I would also note that every time you go through the Claims Based Authentication or Internet Facing Deployment Wizard, OAuth is set to false and you need to manually turn it back to true using the following commands:

Add-PSSnapin Microsoft.Crm.PowerShell

$ClaimsSettings = Get-CrmSetting -SettingType OAuthClaimsSettings

$ClaimsSettings.Enabled = $true

Set-CrmSetting -Setting $ClaimsSettings

Hope this helps, good luck!



Source link

Leave a reply

Please enter your comment!
Please enter your name here