Authentication
2 TopicsSharePoint 2016: Users forced to re-authenticate unexpectedly
Users are being forced to reauthenticate. We have tried setting a few configurations via PowerShell that we read about online, but nothing seems to change this problem. Any tips would be greatly appreciated. If anyone has their settings so that people stay logged on for 8 hours or even longer, it wold be great to see what you have set. Here is a script that we ran: if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) { Add-PSSnapin "Microsoft.SharePoint.PowerShell" } Get-SPSecurityTokenServiceConfig $mysts = Get-SPSecurityTokenServiceConfig #$mysts.WindowsTokenLifetime = (New-TimeSpan -Minutes 20) #$mysts.LogonTokenCacheExpirationWindow = (New-TimeSpan -Minutes 19) #$mysts.Update() #Set-SPSecurityTokenServiceConfig -ServiceTokenLifetime 10001.4KViews0likes2CommentsUnable to call graph API from SharePoint page
I am trying to call the graph API for fetching user profile information. The blog post I followed is http://julieturner.net/2017/01/extending-sharepoint-with-adal-and-the-microsoft-graph-api-part-1-the-setup/ My AAD app config is like: URL: https://tenant.sharepoint.com/ Reply-url: https://tenant.sharepoint.com/ Permissions: Graph API :: Read all users' full profiles However, I am getting an error of invalid reply url. Not sure what reply url is it trying to send the response to.2.2KViews0likes3Comments