• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

error while creating a exchange user

HI
i am adding mail option for an existing user in exchange 2007 -clustered. While adding the user, i am not succeeding it. Getting an error


Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:02


wmohdabumoslim
Failed

Error:
"wmohdabumoslim" is not valid for UserPrincipalName. Valid values are: Strings that includes '@', where '@' cannot be the last character..

Exchange Management Shell command attempted:
Enable-Mailbox -Identity 'ads.uob/staff/INFORMATION TECHNOLOGY CENTER/DIRECTOR OFFICE/wmohdabumoslim' -Alias 'wmohdabumoslim' -Database 'uobe2k7ccr\SG1 admin\Mailbox Database admin'

Elapsed Time: 00:00:00

0
mishalk
Asked:
mishalk
  • 3
  • 3
1 Solution
 
debuggerauCommented:
take out the Apostrophe's around the name and try..
0
 
mishalkAuthor Commented:
dear debuggerau:
there is no Apostrophe's in the username, only when the error comes ,it shows like that. I am just adding the existing user from the AD.
0
 
debuggerauCommented:
And the alias has no Apostrophe's surrounding it?


If you take out the alias, does it build the automatic conversion of the accountname?
You could always change it after..
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
mishalkAuthor Commented:
yes it build the automatic coversion of the account name
0
 
mishalkAuthor Commented:
but i have 1500 users which i created using scripts
0
 
ArisglobalCommented:
try out this link ..hope this should provide some solution for your problem

http://professionalinsight.net/exchange2007.aspx
0
 
debuggerauCommented:
good link, wish I found that..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now