Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

SP2013 People Picker got this error: The user does not exist or is not unique

$
0
0

I am using sharepoint 2013 on premise. I have configured the people picker to many domains by this powershell script:

stsadm -o setproperty -url http://our.acc.myCompany.biz -pn peoplepicker-searchadforests -pv "forest:gds.local,gds\-svc-fc-sp-upsync01,jShMJqHFIZn3D8;forest:domainjax.int.net,domainjax\pc_svc_sp2013_crawle,nBAlIcks3BMtO3p;domain:fcresources.local,fcresources\svc_sp_farm,DwhpGoPUBEOR7LOahJ9r;forest:ola1.cad.corp,ola1\SVC_spoint2013,sWu7epha;forest:yoyoamilk.com.ph,yoyoAMILK\svc_sp_profile,iEY4BgEl9dX4KUGeS0fP;forest:AMCLGN.com,AMCLGN\svc_sp_profile,iEY4BgEl9dX4KUGeS0fP"

stsadm -o setproperty -url http://our.tmp.myCompany.biz -pn peoplepicker-searchadforests -pv "forest:gds.local,gds\-svc-fc-sp-upsync01,jShMJqHFIZn3D8;forest:domainjax.int.net,domainjax\pc_svc_sp2013_crawle,nBAlIcks3BMtO3p;forest:ola1.cad.corp,ola1\SVC_spoint2013,sWu7epha"

stsadm -o setproperty -url http://our.myCompany.biz -pn peoplepicker-searchadforests -pv "forest:gds.local,gds\-svc-fc-sp-upsync01,jShMJqHFIZn3D8;forest:domainjax.int.net,domainjax\pc_svc_sp2013_crawle,nBAlIcks3BMtO3p;domain:fcresources.local,fcresources\svc_sp_farm,DwhpGoPUBEOR7LOahJ9r;domain:yoyoamilk.com.ph,yoyoAMILK\svc_sp_profile,iEY4BgEl9dX4KUGeS0fP"

stsadm -o setproperty -url http://our.myCompany.biz -pn peoplepicker-searchadforests -pv "forest:gds.local,gds\-svc-fc-sp-upsync01,jShMJqHFIZn3D8;forest:domainjax.int.net,domainjax\pc_svc_sp2013_crawle,nBAlIcks3BMtO3p;domain:fcresources.local,fcresources\svc_sp_farm,DwhpGoPUBEOR7LOahJ9r;forest:ola1.cad.corp,ola1\SVC_spoint2013,sWu7epha;domain:yoyoamilk.com.ph,yoyoAMILK\svc_sp_profile,iEY4BgEl9dX4KUGeS0fP;forest:AMCLGN.com,AMCLGN\svc_sp_profile,iEY4BgEl9dX4KUGeS0fP"

stsadm -o setproperty -url http://our.acc.myCompany.biz -pn peoplepicker-searchadforests -pv "forest:gds.local,gds\-svc-fc-sp-upsync01,jShMJqHFIZn3D8;forest:domainjax.int.net,domainjax\pc_svc_sp2013_crawle,nBAlIcks3BMtO3p;domain:fcresources.local,fcresources\svc_spa_farm,gkMJurj86OZItc5CHD44;domain:yoyoamilk.com.ph,yoyoAMILK\svc_sp_profile,iEY4BgEl9dX4KUGeS0fP"

stsadm.exe -o getproperty -pn peoplepicker-searchadforests -url http://our.acc.myCompany.biz 

stsadm.exe -o getproperty -pn peoplepicker-searchadforests -url http://our.myCompany.biz 



stsadm.exe -o setapppassword -password DwhpGoPUBEOR7LOahJ9r

stsadm -o setproperty -url http://our.myCompany.biz -pn peoplepicker-searchadforests -pv "forest:gds.local,gds\-svc-fc-sp-upsync01,jShMJqHFIZn3D8;forest:domainjax.int.net,domainjax\pc_svc_sp2013_crawle,nBAlIcks3BMtO3p;domain:fcresources.local,fcresources\svc_sp_farm,DwhpGoPUBEOR7LOahJ9"

The people picker is working now with all the domains. I have now only one problem. When I go to the permissions page of a some sitecollections and try to give 1 specific user permission it gives me an error. The user is comming from this domain: "domainjax".

I've got thiss error in de GUI:

enter image description here

In the ULS log I found this error:

System.Runtime.InteropServices.COMException: The user does not exist or is not unique. at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateMembers(String bstrUrl, UInt32 dwObjectType, String bstrObjId, Guid& pguidScopeId, Int32 lGroupID, Int32 lGroupOwnerId, Object& pvarArrayAdd, Object& pvarArrayAddIds, Object& pvarArrayLoginsRemove, Object& pvarArrayIdsRemove, Boolean bRemoveFromCurrentScopeOnly, Boolean bSendEmail) at Microsoft.SharePoint.Library.SPRequest.UpdateMembers(String bstrUrl, UInt32 dwObjectType, String bstrObjId, Guid& pguidScopeId, Int32 lGroupID, Int32 lGroupOwnerId, Object& pvarArrayAdd, Object& pvarArrayAddIds, Object& pvarArrayLoginsRemove, Object& pvarArrayIdsRemove, Boolean bRemoveFromCurrentScopeOnly, Boolean bSendEmail)

I try to add another user from the same domain and it is working fine.


When I go to the hidden list with user profiles of sitecollection (http://myCompany.com/disciplines/100000) I can found this specific useraccount. On this site collection it is also possible to add this user in the peoplepicker to grant permission.

http://myCompany.com/disciplines/100000/_catalogs/users/simple.aspx

When I go to another sitecollection (http://myCompany.com/disciplines/100002) to the hidden userlist I can NOT found this useraccount. On this site collection I can find the user in the people picker, but when I select the user and click on share I got the error "The user does not exist or is not unique".

http://myCompany.com/disciplines/100002/_catalogs/users/simple.aspx

So in sitecollection (http://myCompany.com/disciplines/100000) I can find the user in the peoplepicker and can give it permissions. In the other sitecollection (http://myCompany.com/disciplines/100002) I CAN find the user in the peoplepicker, but CANNOT give it permissions by clicking on the share button.


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images