Out Of The Box Sharepoint (?)

April 19, 2011

The specified user or domain group was not found – The user does not exist or is not unique

Filed under: Sharepoint — Peter Kruisman @ 2:35 pm

This week I configured the object cache of the Sharepoint2010 web applications with a superuser and superreader account.  For this I initially used these domain user accounts: spObjectcacheSuperUser, spObjectcacheSuperReader.
These accounts errored out when running this powershell script as “The specified user or domain group was not found”.  Ultimately I tested these account by logging on to a win7 computer, this produced the same error.  Shortened the accounts to spSuperUser and spSuperReader and running the powershell script again was successfull.  Testing this scenario with an other long accountname (spObjectcacheThisSuperUser) did produce the same error.

– Win2008 R2 X64 domain controller
– Sharepoint2010
– Powershell 1.0

I’ve no clue what is going on here!

The side effect of running the script again with a “bad” username and thereby (obviously?) messing up the configuration of the object cache is that I could not logon to Sharepoint. The error is “The user does not exist or is not unique”

Running the script with the account that successfully configured the object cache before fixed this error.

– PS

I’ve found an answer to this.  “A user can logon either with their user principal name or their “pre-Windows 2000 logon” name. If you use the user principal name, you must include the DNS suffix: veryverylongprincipalname@yourdomain.somewhere (read the replys to this question) I was in the assumption that using w2008 the “pre-Windows 2000 logon” character name limit would not have an impact.

1 Comment »

  1. Changing to the pre-2k logon name saved me a bunch of time troubleshooting! thanks!

    Comment by Tenpa — January 23, 2013 @ 4:46 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: