I have added some users to a AD security group and I am adding that AD group to my SharePoint 2013 site. After a while i checked the username in SharePoint but the user still not exist in SharePoint 2013 for some users.
I do understand that current default WindowsTokenLifeTime is set to default to 10 hours, but some of users are not still not in SharePoint after 24 hours.
What i did next is modify WindowsTokenLifeTime to 2 hours but unfortunately it did not solve the issue.
I run the following command
$sts= Get-SPSecurityTokenServiceConfig
$sts.WindowsTokenLifetime = (New-TimeSpan -minutes 120)
$sts.Update()
iisreset
Please advise. Thank you