Forum Discussion
M.A. Farooqui
Aug 20, 2020Copper Contributor
How to Add a new user in Project Server 2016 via Powershell or Code
Hi, 1- I am using Project Server 2016 and I have 100 users added ...But few 2/3 users are not getting added in project Server 2016 ? 2- People-picker is not recognizing his account PWA Setting...
DeanMorgan
Aug 20, 2020Copper Contributor
M.A. Farooqui Have you tried Add-PnPUserToGroup? Install the PnP module and give it a try.
- M.A. FarooquiAug 28, 2020Copper Contributor
I am able to add user in SharePoint sites any group with PnP script and via Normal native Powershell.
But ....I am unable to add 1 specific user in Project Servers 2016's Users Page-> Add New User.
….here account name of that user is not being looked up by project Server as shown in screenshot.
Does anyone knows how to add powershell in Project Server's User page.
Thanks
- Paul_MatherAug 30, 2020MVP
Hello M.A. Farooqui ,
From memory I don't think this is possible using CSOM, I think you will need to use the PSI: https://docs.microsoft.com/en-us/office/client-developer/project/project-psi-reference-overview
The PSI can be used in PowerShell scripts or compiled code.
Paul