A recent question asked in the Project Server Forums, and a frequent request I have received in the past prompted this blog post. The request was for a report that quickly shows all the users across the enterprise, and the Project Server Security Groups they belong to.

While, this can easily be looked at by opening either the user details or the Group details, it might be cumbersome when you are working with a large number of resources. Another use case might be, when you have to provide your Client a quick listing of all resources and their assigned Security Groups as a deliverable of your implementation.

Here is a way to build a quick and simple report of these details, and make use of Excel/Excel Services to display them.

Note/Disclaimer: This report involves the querying of the Project Server Published database, and this is not officially supported by Microsoft. Please know this, before you attempt building the report.

Step 1: Build the Data Connection

The tables that store the information that you need for this report, are in the Published Database. Since we want to use Excel to surface this data, our first step is to build the data connection.

Note: You need to have at least dbreader permissions on the Published database for you to be able to build/access this report.

  • Open a blank Excel document.

  • Click on the Data tab and select the SQL Server as the data source

  • On the Data Connection Wizard Box, fill in the details of your SQL Server

  • Next, select the Project Server Published Database from the drop down list. This will bring all the tables that are available as part of this database. Select the MSP_Web_resources table (actually it does not matter which table, as we are going to be changing the Connection string anyways)

  • Click Finish to see the screen below

  • Once you hit Finish, Excel will prompt you to select the cell where data is placed. Click OK and let Excel pull the data in.

  • Now Click on Data >> Connections to bring the screen below, and click the Properties >> and then the Definition tab

  • Now, change the Command Type to SQL, and paste the following query in the Command Text box.


  • Click OK and then Close. Now you should see the data coming in a table format, as shown below.

  • Now you can Pivot the data for better visualization. Click on Insert >> Pivot Table
  • Click choose connection and select the connection you just saved.

Now add field to Pivot Table, to see something like this:

There, you have it, a report which shows users in their respective groups.

Now, I would assume this report will be mainly for the Administrators and you might want to keep accessing directly from within Excel. 

If you want to display this in PWA and through Browser, you need to 1) Export the Data connection to the ODC library in BI Center 2) Configure the Authentication Settings for Excel Services.

Hope you find this helpful.