Create a PWA site in an existing site collection
Applies to: Project Server 2013
Topic Last Modified: 2016-05-11
Summary: Add a Project Web App site to an existing site collection.
You can add a Project Web App site to an existing site collection. Doing so will allow you to take full advantage of Project Server 2013 and Project Web App functionality for the projects in that site collection.
In order for a Project Web App site to function properly, the site collection must have a Project Web App database associated with it and the Project Web App site collection features must be enabled. If you have not already done so, create a Project Web App database and enable the Project Web App site collection features on the site collection where you want to deploy the Project Web App site. For more information, see Enable the Project Web App site collection features in Project Server 2013.
To create a Project Web App site in an existing site collection, you run the New-SPWeb Windows PowerShell cmdlet to create the site and then run the Upgrade-SPProjectWebInstance to perform post-provisioning actions, including creating a Business Intelligence Center.
Run the following script to create the Project Web App site.
New-SPweb -URL SiteCollectionURL/PWASiteName -Template pwa#0 Upgrade-SPProjectWebInstance -Identity SiteCollectionURL -Confirm:$False
New-SPweb -URL http://contoso-appsrv1/sites/ContosoProjects/PWA -Template pwa#0 Upgrade-SPProjectWebInstance -Identity http://contoso-appsrv1/sites/ContosoProjects -Confirm:$False
After you have created the Project Web App site and run Upgrade-SPProjectWebInstance, you must run iisreset on each application server in the farm. To run iisreset, open a command window, and type:
The Project Web App site is now available at the URL that you specified.