Sick of seeing the message “Your session in Microsoft Dynamics CRM is about to expire. To continue working, you must sin in again.” and would like to extend the session time so as not to bother you as often?
This is quite easy with an IFD setup of CRM 2011. We have an IFD configuration and setup that we use to test settings and some of our CRM Portal – Linking to DotNetNuke on.
Taking the server as configured as described here: http://www.interactivewebs.com/blog/index.php/server-tips/microsoft-crm-2011-how-to-configure-ifd-hosted-setup/
We ended up with an ADFS Relying Party Trust that is named “CRM IFD Relaying Party”
This is the name we must use in the Windows PowerShell program to make the necessary changes.
To Extend the Auto Logout of IFD CRM 2011 or 2013
Get-ADFSRelyingPartyTrust -Name "relying_party"
Where you replace “replying_party” with the name of your relying party trust. In our case we would use:
Get-ADFSRelyingPartyTrust -Name “CRM IFD Relaying Party”
Set-ADFSRelyingPartyTrust -Targetname "relying_party" -TokenLifetime 480
Where you replace the “relying_party” with the name of your relying party. Again in our case we would use:
Set-ADFSRelyingPartyTrust -Targetname "CRM IFD Relaying Party" -TokenLifetime 480