SharePoint 2013 CSOM call from web part fails with 401 for all users

This issue has come up at least 3 times in the list of issues I deal with here in SharePoint Escalation Services Support team, so I thought I’ll write a post about this on how to resolve this problem. Issue: You’ve designed a simple Visual Web Part with the following code in button click event…

3

Setup Claims using AspNetSqlMembershipProvider

Setting up claims using AspNetSqlMembershipProvider is very similar to this walk-through.  However, the provider information would be different and we’ll need to add an additional connection string element to specify the SQL Server and the database that will be providing us with users and roles. First, we’ll have to setup our user/role repository.  For this…

13

Setting up FBA Claims in SharePoint 2010 with Active Directory Membership Provider

This is a walk-through on setting up FBA Claims in SharePoint 2010 using the Active Directory Membership Provider. The very first step is to create a web application AND create that with claims authentication mode.  I am going to provision a web application with claims auth mode enabled at a URL http://moss.claims.contoso.com.   Another important…

29