user629161
user629161

Reputation: 777

ADFS reauthenticating an MVC request after a certain time period

I am working on a Claims aware ASP.NET MVC application. The authentication is done via Active Directory Federation Services. The ADFS server has a time out of 8 hours. At the application level I elevated the session time out and App pool idle time to 3 hours. But still if the user was inactive for 30 min the ADFS server reauthenticates the user. Why is that happening? What do I need to set that I am not setting. Any help regarding this will be highly appreciated.

Thanks!

Vinita

Upvotes: 0

Views: 1474

Answers (1)

rbrayb
rbrayb

Reputation: 46753

There are a number of Powershell cmdlets for ADFS that may help you.

Get-AdfsProperties

has a property SsoLifetime. What is it set to?

Use

Set-AdfsProperties

to update it.

To see the full list, use

get-command *adfs*

If you can't see the cmdlets, see here.

Essentially, you need to run this cmdlet first:

Add-PSSnapin Microsoft.Adfs.PowerShell

(And you normally need to run Powershell in admin. mode).

Upvotes: 1

Related Questions