Team Project Creation Wizard fails with "The user does not exist or is not unique" error when Team Foundation Server 2010 is configured to create team portals in a SharePoint 2010 web application that is using Claims Based Authentication.
When we try to create a new team project in Team Explorer, the following error is thrown:
---begin Exception entry---
Time: 2010-06-16T11:21:01
Module: Wizard
Exception Message: TF218017: A SharePoint site could not be created for use as the team project portal. The following error occurred: Server was unable to process request. ---> The user does not exist or is not unique. ---> The user does not exist or is not unique. (type TeamFoundationServerException)
Exception Stack Trace: at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.CheckCreateSite(TfsTeamProjectCollection tfsServer, Uri adminUri, Uri siteUri)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSettings(ProjectCreationContext context)
at Microsoft.VisualStudio.TeamFoundation.PortfolioProjectForm.OnFinish()
Inner Exception Details:
Exception Message: Server was unable to process request. ---> The user does not exist or is not unique. ---> The user does not exist or is not unique. (type SoapException)
Exception Stack Trace: at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.HandleException(Exception e)
at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.CheckUrl(String absolutePath, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CheckUrl(ICredentials credentials, Uri adminUrl, Uri siteUrl, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CheckCreateSite(TfsConnection tfs, Uri adminUrl, Uri siteUrl)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.CheckCreateSite(TfsTeamProjectCollection tfsServer, Uri adminUri, Uri siteUri)
--- end Exception entry ---
When we try to create a new team project in Team Explorer, the following error is thrown:
---begin Exception entry---
Time: 2010-06-16T11:21:01
Module: Wizard
Exception Message: TF218017: A SharePoint site could not be created for use as the team project portal. The following error occurred: Server was unable to process request. ---> The user does not exist or is not unique. ---> The user does not exist or is not unique. (type TeamFoundationServerException)
Exception Stack Trace: at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.CheckCreateSite(TfsTeamProjectCollection tfsServer, Uri adminUri, Uri siteUri)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSettings(ProjectCreationContext context)
at Microsoft.VisualStudio.TeamFoundation.PortfolioProjectForm.OnFinish()
Inner Exception Details:
Exception Message: Server was unable to process request. ---> The user does not exist or is not unique. ---> The user does not exist or is not unique. (type SoapException)
Exception Stack Trace: at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.HandleException(Exception e)
at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.CheckUrl(String absolutePath, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CheckUrl(ICredentials credentials, Uri adminUrl, Uri siteUrl, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CheckCreateSite(TfsConnection tfs, Uri adminUrl, Uri siteUrl)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.CheckCreateSite(TfsTeamProjectCollection tfsServer, Uri adminUri, Uri siteUri)
--- end Exception entry ---