Before you install the connector Dynamics 365 (CRM On-Premise) you will need to configure ADFS.
1. Log into your ADFS server and run PowerShell as an admin.
2. Register the Popdock application ADFS.
Add-AdfsClient -Name "Popdock for Dynamics CRM" -ClientId "15f97ff8-2f65-4fa1-be88-f3fd0fcae12e" -RedirectUri "https://eoneconnectorauth.azurewebsites.net/Callback"
3. Get the name of your CRM and find it in the list.
"Get-AdfsRelyingPartyTrust | Format-List -Property Name, Identifier”
4. Configure CRM to issue refresh tokens.
Set-AdfsRelyingPartyTrust -TargetName "Your CRM's relying trust name here" -IssueOAuthRefreshTokensTo AllDevices
5. Set the token lifetime in minutes.
Set-AdfsProperties -SSOLifetime 48000
6. Set the refresh token lifetime in minutes.
Set-AdfsProperties -PersistentSsoLifetimeMins 2628000
Having trouble configuring ADFS? Email support at support@eonesolutions.com.