What is special about the “Administrator Account” when provisioning a new PWA site?

Nothing much really.  But we do often get the question “How do I change the administrator account?”  If you go to the Manage PWA Page then you will see that it is greyed out.  You can’t change it here – but then you don’t really need to.  This account is just put in the database so that you have an admin in the system and you can log in.    I guess this can be a problem if the person is the only admin – and is not available to log in, but the admin’s first job should be to create the second admin.  The first administrator is also set as the primary administrator of the site collection created for the PWA site.  You can update the user in this case using stsadm -o siteowner.  The parameters for this command are -url <url of site> -ownerlogin <DOMAINuser> -secondarylogin <DOMAINuser>.  You could also use stsadm to add users to Project Server using the -o projcreateentity flag.  See Christophe’s posting for full details of stsadm commands for project.

One gotcha we have come across when provisioning against an existing set of databases is that if the account you use for the administrator account already exists in the database then it must also be an active user.  If it is an inactive account then the provision will fail with event ID of 7013 and 6966.

Technorati Tags: Project Server 2007