Friday, June 1, 2012

Issue with enable-csuer when the user first name contain spaces

I have run into an issue with the set-csuser command in a few deployments. The error occurs when I try to use set-csuser with the "-sipaddresstype firstlastname" switch.


If I changed the -sipaddresstype from "firstlastname" to "emailaddress", I was able to use the script to enable the same user.

It turned out this user had two first names (with a space between) in the fname property in AD (fname="First Name"). If I removed one of them (fname="First"), or used a hyphen between them (fname="First-Name"), the script started working again.

3 comments:

  1. Hi,

    did you notify Microsoft, that this is a bug in their product? If you do so, this may not be forgotten and they will fix it in the next CU.

    soder

    ReplyDelete
  2. Hm, why do you allow comments if you dont care about feedbacks from your readers?

    soder

    ReplyDelete
  3. I do care. I just overlooked this comment. Yes, I have informed Microsoft of this. No reply yet, though.

    Sorry

    ReplyDelete

Comments on old posts will be moderated.
Comments on new posts will appear immediately..