We are still hunting down the cause of this issue but we are seeing either fresh Project Server 2016 Project Web App instances or updates to Project Server 2016 causing some of the usual views in the pjrep schema used for reporting to be dropped. One example of a missing view is the pjrep.MSP_EpmProject_UserView. If you are familiar with 2013 then these views now in the pjrep schema were in the dbo schema of the Project Server 2013 database.
You can re-create the views by running the following PowerShell command in the SharePoint Management Shell
Repair-SPProjectWebInstance <PWA URL> -RepairRule 7
Once this complete, which only take s a few seconds, you should see the familiar views:
I plan to do a more complete description of the ‘Repair’ command soon as I am sure you are all thinking “What are the other RepairRules?”.
And a reminder – we only support direct access via these views if there is only a single PWA site in the content database. So if you need direct access such as SQL Server Reporting Services then you will need to add additional content databases and have each PWA in its own. For OLAP and OData reporting this restriction does not apply. *** And thanks Steve Sanderlin for the reminder – we don’t just not support direct access when there is more than 1 PWA – but we don’t create the views ***