April 25, 2005
Simplify Authorization for Team Project Creation
I prefer to have Team Projects created by non-administrative users. Unfortunately, properly authorizing users to create new team projects is not easy in the current beta release of Team Foundation Server. The standard install of TFS requires three separate authorization entries to accomplish this.
If you haven't set up the permissions for SQL Server Reporting services you'll get something like this in the error log.
Event Description: Initialization for plugin "Microsoft.Pcw.Rosetta" failed with error: "Failed to retrieve projects from the report server"
If you haven't set up the permissions for Windows Sharepoint Services you'll get
Event Description: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "The request failed with HTTP status 401: Unauthorized."
These errors arise because the TFS permission system is maintained in Active Domain/Application Mode (ADAM) and is not integrated with SQL Server Reporting Services or Windows SharePoint Services. Brian Harry confirmed yesterday that ADAM will be eliminated from TFS before it's released. So, in anticipation of this, I'd recommend that you create an Active Directory group for users that are authorized to create new team projects.
The following is a step-by-step guide to setting up this group so that all you have to do is add a user to the group when you want to permit them to create new projects.
- Add a new Active Directory group called TFS Project Creators.
- Start Visual Studio 2005 Beta 2 under the <domain>/TFSSERVICE account.
- Select Team | Team Foundation Server Settings | Permissions...
- Select the Windows User or Group radio button and click the Add... button.
- Enter <domain>/TFS Project Creators in the object name text box and click OK.
- Click the Allow check box next to Create new projects. The dialog should look like:
- Click Close
- From the web browser within Visual Studio, navigate to http://<TFS Server>/Reports.
- Select the Properties tab
- Click New Role Assignment
- Enter <domain>/TFS Project Creators in the Group or user name: text box
- Select the Content Manager check box. The dialog should look like:
- Click OK
- Navigate the browser to http://<TFS Server>:<Sharepoint Admin Port>. This is the SharePoint Central Administration site.
[Update: The Sharepoint Admin Port is not fixed. The easiest way to determine the port is to open the Sharepoint Central Adminstration shortcut in the TFS Server's Administrative Tools folder. Once there, you can click on the shortcut and continue with the following step.]
- Click Set Sharepoint Administration Group
- Enter <domain>/TFS Project Creators in the Group account name: text box. The dialog should look like:
- Click OK
Posted by Mike Attili at April 25, 2005 03:13 PM
I have to scratch this itch to automate this. This is just insane.
How did you hear about the elimination of ADAM? I had thought this was going to be a big thing about TFS?
Posted by: Michael Shorten at May 10, 2005 10:52 AM