Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
By using Windows Power Shell, you can change the TokenLifetime property for the relying party objects :
Steps :
Open a Windows PowerShell prompt.
Add the ADFS2.0 Windows PowerShell snap-in:
PS > Add-PSSnapin Microsoft.Adfs.PowerShellConfigure the relying party token lifetime:
PS > Get-ADFSRelyingPartyTrust -Name:"relying_party_name"
Output Like :
AutoUpdateEnabled : True
DelegationAuthorizationRules :
EncryptionCertificateRevocationCheck : None
<snip/>
TokenLifetime : 0
Note : You can get the relying_party_name from here :
Go to ADFS Managment -> Expend Trust Relationships --> Select Relying Party Trusts
Then you will get the added relying party entries into the right pane.PS >Set-ADFSRelyingPartyTrust -TargetName "relying_party" -TokenLifetime 480
Here i am setting up TokenLifetime to 480 minutes , that means the session will expire after 480 min (8 hrs).