部署ADFS后,Dynamic CRM登陆一段时间后会登陆失效。原因是在Dynamic CRM所在的ADFS服务器中TokenLifetime默认值为0.
1.查询ADFS的TokenLifetime
在部署ADFS服务器里面,运行输入:PowerShell,输入代码:Get-ADFSRelyingPartyTrust "CRM IFD Relying Party"
2.设置ADFS 服务器TokenLifetime
在PowerShell中输入下列脚本:(注:数字代表分钟)
Set-ADFSRelyingPartyTrust -TargetName "CRM IFD Relying Party" -Tokenlifetime 60
重新执行步骤一,返回结果如下:
标签:Dynamic,ADFS,登陆,TokenLifetime,服务器,CRM From: https://www.cnblogs.com/dmei/p/17787085.html