Sharepoint Security Groups not getting updated

When user add’s and removes members in security group it does not get updated in sharepoint.


Core reason for this problem is security token service is caching your security token for 24 hours. You need to change default settings to update token expiration. It should not be to low value as it will affect performance thus I reasonable time is atleast 60 minutes



$sptokensvc= Get-SPSecurityTokenServiceConfig
$sptokensvc.FormsTokenLifetime = (New-TimeSpan -minutes 60)
$sptokensvc.WindowsTokenLifetime = (New-TimeSpan -minutes 60)
$sptokensvc.LogonTokenCacheExpirationWindow = (New-TimeSpan -minutes 30)