Permission issues on collections exported from VSO to On-Prem during the May 2014 export window.

We have seen some permission issues on collections exported from Visual Studio Online during our supported export window.

The user would have the necessary permission to do an operation, but will get “Deny”, even though the permissions are present.
In other words, the permissions are present, but not “Provisioned”

An example error message is below,

Time: 2015-02-19T10:52:23
Module: Engine
Event Description: TF30162: Task "LinkTypes" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Access Denied: user needs the following permission(s) on the resource $/Project_Guid to perform this action: Administer

Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)

“User” has administer permission, but still gets deny.

In this case, follow the instructions on https://tfswitprovision.codeplex.com/

DISCLAIMER: This tool is for fixing the issues with the exported collections from VSO during our Export Window. Ensure you have proper backups before running the tool.

Content Created By: Manigandan Balachandran
Content Reviewed By: Chandra Sekhar Viswanadha