SharePoint migration – Resolving issue – The [] web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against a windows classic authentication mode. There is an inconsistency between the authentication mode of target web application and the source web application
Hi All,
Greetings for the day π LIFE IS BEAUTIFUL π
SharePoint migration continues. Today new issue and resolution π
Background :
- SharePoint migration going on. We are in process of migration of SharePoint 2010 web application to SharePoint 2013 web application
- We are using content database attach method
- On SharePoint 2013 environment we have created new web application, removed its default content database
- Databases are copied to SharePoint 2013 database server for mounting to our new SharePoint 2013 web application
- Next step is to test the respective content databases against our new SharePoint 2013 web application
- So we started executing Test-SPContentDatabse for our each database
- In Test-SPContentDatabase logs we found the below Configuration category entry
Category : Configuration
Error : False
UpgradeBlocking : False
Message : The [webapplicationname] web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against a windows
classic authentication mode.
Remedy : There is an inconsistency between the authentication mode of target web application and the source web application. Ensure that the authentication mode setting in upgraded web
application is the same as what you had in previous SharePoint 2010 web application. Refer to the link “http://go.microsoft.com/fwlink/?LinkId=236865” for more information.
- Test-SPContentDatabase checks if users within the UserInfo table are claim enabled for claim based web application and vice versa
- But if we notice details, this is not error or blocking upgrade so we are good to proceed without any action
- We can ignore this message/record and proceed if we want
But then lets explore this in more detail :
Cause for this record / entry :
- We have started migration from MOSS to SharePoint 2010 with content database attach process
- MOSS and SharePoint 2010 by default uses classic mode authentication
- With successful migration from MOSS to SharePoint 2010, we started migration to SharePoint 2013
- MOSS web application is using classic mode and we migrated as it is SharePoint 2010 so users were not migrated to claims since default authentication is classic mode for SharePoint 2010
- It will not automatically convert the users in the content database from classic to claims when attaching a content database from classic web application to claims-enabled web application
Our migration approach / Solution for this :
- We could migrate the valid users from classic to claims-enabled by using MigrateUsers() of web application or using Convert-SPWebApplication CMDLET as
$webApp = Get-SPWebApplication <"My Webapplication URL">
$webApp.MigrateUsers($true)
OR
Convert-SPWebApplication -Identity <"My Webapplication URL"> -To Claims -RetainPermissions
- Once above CMDLETS executed successfully warning from Test-SPContentDatabase will also go
Thanks for reading π If its worth at least reading once, kindly please like and share π SHARING IS CARING π
Enjoy the beautiful life π Have a FUN π HAVE A SAFE LIFE π TAKE CARE π
You must log in to post a comment.