通过Microsoft PowerShell修改ADFS的过期时间实现延长CRM的过期时间

To change the timeout value, you will need to update the TokenLifetime value.  This is achieved using PowerShell.  Before you open PowerShell, you will need to find the name of each Relying Party.

1、Check the TokenLifetime value.  This number represents minutes    

  Get-ADFSRelyingPartyTrust -Name “Relying Party Trusts Display Name(如:crmauth.doamian.com)”

2、Set the TokenLifetime to the new value (8 hours = 480)    

  Set-ADFSRelyingPartyTrust -Targetname “Relying Party Trusts Display Name(如:crmauth.doamian.com)” -TokenLifetime 480

3、Repeat this step for each relying party(如:crminternal.domain.com)

   

posted on 2018-03-29 17:23 正义君 阅读() 评论() 编辑 收藏
版权声明:本文为ShanZhengYi原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/ShanZhengYi/p/8671122.html