New answers tagged

0

public abstract class Controller : ControllerBase, IActionFilter, IAuthenticationFilter, IAuthorizationFilter, IDisposable, IExceptionFilter, IResultFilter, IAsyncController, IAsyncManagerContainer { } public class MyController : Controller { protected override void OnAuthentication(AuthenticationContext filterContext) { //custom ...


0

Looks like it just took a while for my changes to become active. The problem is gone now. I suspect one of the following resolved my issue but I'm not sure. $sts.MaxApplicationTokenCacheItems = 100000 $sts.MaxLogonTokenCacheItems = 100000 $sts.MaxServiceTokenCacheItems = 100000 Set-ADFSRelyingPartyTrust -Targetname "My_SharePoint_relying_party" ...


0

looks like issue with SSL certificate. please make sure you bind the SSL certificate with the web application in IIS.ADFS need a SSL certificate as one of the requirements also make sure you properly import the ADFS sts and root certificate while configuring on Devon farm it is not simple like copy the things, you need relying party package, then ...


2

Just regenerate the token. Add the App For SharePoint nuget package to your console app. Install-Package AppForSharePointWebToolkit Then write the code to generate the token and context object. Uri siteUri = new Uri(siteUrl); string realm = TokenHelper.GetRealmFromTargetUrl(siteUri); string accessToken = ...


0

I'm answering my own question for future reference because I've been able to get the code working. Would love to see (and will accept) a more detailed response. Rather than use the identity of the Azure AD Web Application, I've started using the identity of a provider-hosted SharePoint Add-in. A part of my business solution is that each tenant will ...



Top 50 recent answers are included