sharepoint 2016开启project service正常

sharepoint 2016 开启Project 2016 pwa网站_第1张图片

进入project service无法看到添加pwa按钮:

sharepoint 2016 开启Project 2016 pwa网站_第2张图片

采用powershell创建project网站集,具体步骤如下

1.输入License

Enable-ProjectServerLicense –Key "23CB6-N4X8Q-WWD7M-6FHCW-9TPVP"

2.创建网站集

New-SPContentDatabase  -WebApplication  http://sp2016-1/ sp2016_pwa_Content

#先创建数据库,最好将pwa的db和其他站点集的db分开,新建的db为sp2016_pwa_Content

New-SPSite  -ContentDatabase "WSS_Content" –Template "pwa#0" -Name "Project service1"  -URL http://sp2016-1/sites/pwa1     -OwnerAlias "test\admin"  

#  URL http://sp2016-1/sites/pwa1    是新建的pwa站点的地址

#”Project service1”是你project service的名称,上图中service的名称是:Project service1

3.激活功能

Enable-SPFeature –Identity "8581a8a7-cf16-4770-ac54-260265ddb0b2" -url "http://sp2016-1/sites/pwa1 "    
Enable-SPFeature –Identity "697c64b9-3dff-4981-9394-0a62632120ec" -url "http://sp2016-1/sites/pwa1 "    
Enable-SPFeature –Identity "1d253548-c70d-40fd-9930-9d313bedc359" -url "http://sp2016-1/sites/pwa1 "    
Enable-SPFeature –Identity "ad739f9e-1525-4dec-a25e-10821ca70c95" -url "http://sp2016-1/sites/pwa1 "

sharepoint 2016 开启Project 2016 pwa网站_第3张图片