.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Accessing SharePoint 2010 with WinRM on Claims-based web application

Posted By:      Posted Date: October 16, 2010    Points: 0   Category :SharePoint

I am trying to connect to sharepoint remotely using powershell. Things work okay when connecting to a windows authentication web application. But when i try connecting to a claims based web application, i get access denied messages. I seem to get access to the SPWeb, but when i try to access properties on the web, it errors. I think CredSSP is setup correctly (as the windows web application works). The username i am using is in the format domain\username, not sure if the claims based format needs something different i:0#.w|domain\username

$username = ""
$password = ""
$ip = "192."
$siteurl = "http://"

$creds = New-Object System.Management.Automation.PSCredential $username, (ConvertTo- 

View Complete Post

More Related Resource Links

Video: Introduction to Claims-based Security in SharePoint 2010

Learn how claims-based identity provides a common way for applications to acquire identity information from users inside their organization, in other organizations, and on the Internet. (Length: 23:46)

Video: Accessing SharePoint 2010 Data from a .NET Application

This demonstration shows how to use the client object model from a Windows Presentation Foundation application. (Length: 5:26)

Claims Tips: Learning About Claims-Based Authentication in SharePoint 2010

Use these five tips for guidance in solving problems related to using and configuring claims.

AutoLogin for authenticated user via LiveID in Sharepoint 2010 (Claims Based Authentication)

Hi,     Im working in integrating LiveID authentication in my Sharepoint site. Live id gives back a token of the user with which i created a dummy profile using MembershipProvider.CreateUser. Now i have to auto login the user with the profile i created, i mean i have to force login to my sharepoint site using the created dummy user details without asking the user to give username n password.Any suggestion will be a great help for me to proceed.   Thanks Saravanan Michael

SharePoint 2010 Claims Based Authentication - anonymous site is prompting for CBA auth when opening

Hi, I have CBA setup successfully on my sites.  One site is setup for anonymous access and I have disabled "client integration" on that web application. I have a list of MS Office documents on a wiki.  When I click on one I am asked to either save or open or cancel.  Saving works fine but when I choose open, it launches the associated MS Office app.  I am then prompted for a login from CBA.  I can click cancel and the logon screen appears again.  After clicking cancel the 2nd time the document appears in the MS Office app, Word in this case. My question is how do I prevent my users from being prompted for a CBA login when clicking on these files and opening them in the native app on their machine?      --TR

SharePoint 2010 Claims Based Authenticaton site working but search is broken

Hi, I have SP 2010 sucessfully installed on a Windows 2008 R2 server with SQL Server 2008 R2.  I created local machine accounts for the following: MACHINE\mssqlservice MACHINE\sp_admin MACHINE\sp_search MACHINE\sp_farms I have setup 2 sites with public facing internet access as well as local sites. I have CBA working properly on both sites from both public and private access. My problem is that when I go to search, I am constantly redirected to an error page. I have checked all SP services on the server and they are all running as MACHINE\mssqlservice That account has proper access to all sites as well as all DB's. My search is crawling and I get one error from a long named PDF file in my site, which is OK.   My questions is if my CBA is working fine and my search is crawling, why I am not getting a results page when I search from the sites:   Here is the error I get:   Error Internal server error exception:   Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 5a03b730-42c2-48c9-a220-3b9d052481de Date and Time: 9/9/2010 4:45:07 PM   I am kind of stuck at this point and am not sure how to proceed.  Any help would be appreciated.        --TR

Is SharePoint and Access 2010 the right platform for subscription based web application?



I posted a similar question in the Access Form and the MVP's there suggested I post a follow up here, to clarify the SharePoint issue. 

My Question: is SharePoint and Access 2010 a good platform, or can it do what I need?

The Scenario:

I currently have a client/server app built in Access 2002 with many clients in a single industry. My clients are very mobile and would like to be able to do their work in the app anywhere, not just while connected to the office network. Likewise, a large percentage in that industry have Macs (I've used Windows in Parallels or Fusion for these clients but it's not a smooth process, in a lot of 'connectivity' ways). My clients are asking, and my competition already has, web based applications. I very much need to get my app on the web. Along with that, I need to set it up as a monthly subscription based application.


So I'm hoping Access and SharePoint can do this. I don't know ASP or PHP or SQL so it'd be a steep learning curve if I have to go that route. I don't know much about SharePoint but have watched videos about using it for Access Web databases as well as RichClient/SharePoint Lists. 

It's possible I could have over 1000 clients, each of which will have a few thousand records in the main few tables (SP Lists). Each client could also have several users l

not able to login to Claims based auth. sweb apps in sharepoint 2010


Hi till yesterday I was able to login to claim based web apps in my sharepoint 2010 server. but today they are giving below mentioned error! even though classic mode auth web apps are running fine.

Nor it allow to activate /deactivate any fature to a site collection under claims based web app with same error in event log:

Please help.

error message in event viewer:


Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Foundation
Date:          10/8/2010 1:30:59 PM
Event ID:      8311
Task Category: Topology
Level:         Error
User:          SHAREPOINT2010\administrator
Computer:      sharepoint2k8.sharepoint2010.com
An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US\nIssuer Name: CN=SharePoint Root Authority, OU=SharePoint, O=Microsoft, C=US\nThumbprint: 85F230FF68A8107A14667844D6741A6C2199C60E\n\nErrors:\n\n UntrustedRoot: A certificate chain processed

Form based authentication on current web application SharePoint 2010



I have question about creating form based authentication. I want to have different authentication in the same web application in the same time. For now I have windows authentication and I want to extend it to Form base authentication. I follow procedure on link http://blog.summitcloud.com/2009/11/forms-based-authentication-sharepoint-2010-fb/ step by step but it doesn't work. Also when I try to change authentication in Central administration to Forms it is not possible because that option is disable. Is there any setup for overcome this issue.

Thank in advice.


Upgrading Classic based 2010 web application to claim based 2010 web application in Sharepoint serve


hi all,


i have a web application with classic based authentication in SharePoint server 2010, need to configure FBA for the same app in SharePoint server 2010 RTM.

While trying to change the Authentication Provider, m getting the Form option deactivated.

please let me how to upgrade the Classic mode authentication web app to the Claim Based authentication web app.


Thanks and Regards,

Arun Kumar


application pool recycle fails when any session alive with claims sharepoint 2010



I'm having once interesting (or annoying probably) in my SharePoint environment.

To give you the context of my environment. 

I've SharePoint 2010 Farm. 

One web application configured as claims (with extended web set to internet zone)

Extended web is enabled to have custom membership provider - that is integrated with CRM system (so, i don't have default sql membership database schema and it's also without any roles provider).

Now, this webapplication is running under one application pool (ofcourse), that's schedule to recycle every night. 

Now, in order to simulate this issues that i'm having. I'm reseting this recycle issue. Rescheduling this causes application pool to recycle (default behavior - it goes well). But when scheduled recycle occurs, i'm getting many errors in event log and IIS logs).


Event Log (2 errors): 

Application Error: Event ID: 1000 (100)

Faulting application name: w3wp.exe, version: 7.5.7600.16385, time stamp: 0x4a5bd0eb

Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdfe0

Exception code: 0xe053534f

Fault offset: 0x000000000000aa7d

Faulting process id: 0x%9

Faulting application start time: 0x%10

Faulting application path: %11

Faulting module p

Claims Tips 3: Learning About Claims-Based Authentication in SharePoint 2010

Learn five tips that are related to claims-based authentication in SharePoint 2010, including information about packaging, retrieving REST data, adding policy, managing trusted root authorities, and resolving logon page issues.

Accessing SharePoint 2010 Data with Server-Side APIs

Accessing SharePoint data in server-side solutions is one of the most common tasks that you will perform as a SharePoint developer. SharePoint 2010 provides powerful server-side APIs that enable you to retrieve, add, edit, and delete SharePoint data programmatically. SharePoint 2010 also includes the new LINQ to SharePoint technology that enables you to work with SharePoint data efficiently and easily.

Office Add-Ins: 3 Solutions for Accessing SharePoint Data in Office 2010


SharePoint 2010 introduces a number of new ways to access business data and present it to the user. We'll show you several options that range from no-code solutions to fully integrated Office add-ins.

Donovan Follette , Paul Stubbs

MSDN Magazine July 2010

Quick Note: Accessing Data in a SharePoint 2010 Web Part by using LINQ

In this exercise, you develop and deploy a visual Web Part that reads data from two lists by using a LINQ query and displays it in a DataGrid control.

Quick Note: Accessing Multiple SharePoint 2010 Lists by Using LINQ

In this exercise, you develop and deploy a visual Web Part that reads data from three lists by using LINQ queries and displays the results in a grid view control.

SharePoint 2010: Application Lifecycle Management (ALM) Resource Center

Are you looking for information about BCS? BCS enables users to read and write data from external systems-through web services, databases, and .NET assemblies.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend