asp.net app does not authenticate user in SP 2013 Claims authentication environment.

Hi, I have a strange issue that the asp.net application is working fine in SP 2010 environment and I tried to install and configure in SP2013 but it keeps on authenticating user. I enabled the 'Authentication Authorization' option in log and here is how it captures details: "Medium   Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\spadmin, ClaimsCount=29 2244259d-91f3-d03e-e252-c87f60a3032d"

Is this because the dotnet application is  <authentication mode="Windows" /> and SP13 authentication configured is claims authentication which is <authentication mode="Forms" />? 

Will you please let me know to fix the windows app in SP13 environment? I cannot move users to sql per my client requirement and they want to continue using their windows id.

Appreciate if you have a sample code or functions which can clear windows authentication in claims mode.

Many thanks

Shri

 
August 18th, 2015 3:44pm

Appreciate any quick response?

Its just an authentication fix, the dotnet application was deployed as a wsp solution and all aspx files deployed to _layouts. My dotnet application uses windows users/login user to display application dashboard. Its perfectly working dotnet application in SharePoint 2010 using wsp deployment.

Please let me know how to resolve the authentication problem?

Thanks

Shri

Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 3:53pm

Any suggestions? Do I have to convert as SharePoint hosted app? Or is there any way I can register app client id?

Please provide any blog or sample code that you have for dotnet application integration with SP 2013

Thanks

August 21st, 2015 2:41pm

One good idea is you can convert your ASP.NET application to provider hosted app in SharePoint 2013.

Than deploy your app and create a trust between your ASP.Net web application and app.

Go through link below for creating provider hosted app.

https://msdn.microsoft.com/en-us/library/office/fp142381.aspx?f=255&MSPPError=-2147217396

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 5:36pm

Thanks Avinash. Actually The dotne application is based on WCF and it might require lot more time to convert hosted application. Is there any way to register the existing asp.net application which can be deployed in 15/_layouts and just by registering client ID/web.config entries, can I run the application?

Thanks

Shri

August 24th, 2015 1:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics