Forum Discussion

M.A. Farooqui's avatar
M.A. Farooqui
Copper Contributor
Aug 20, 2020

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 -> Manage Users ->New User 

3-  screen shot
User Logon Account - issue

4-  Is there any way to add user via Powershell or Visual Studio Code ?
Pls suggest ...

4 Replies

  • M.A. Farooqui You can verify the users is it already correct, from Active Directory Users and Groups. Check the users properties because sometimes Contoso\adamb is different properties with adamb@contoso.com

  • DeanMorgan's avatar
    DeanMorgan
    Copper Contributor

    M.A. Farooqui Have you tried https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/add-pnpusertogroup?view=sharepoint-ps? https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps and give it a try.

Resources