Mailbox Creation



We're trying to create an automated provisioning system and have run into a
problem with creating mailboxes. Our users login using UPN and their email
addresses match their UPNs. All the examples we've seen for creating
mailboxes end up using the sAMAccountName as the mailbox name. For our
users the sAMAccountName is a random string, so this is useless as an email
address. We go in and add the appropriate email address on the mailbox, so
for the user it really doesn't matter. But, since it takes 30 or more
seconds from creating the mailbox (with CDOEXM's
IMailBoxStore.CreateMailBox) until we can add the correct email address this
is really screwing up our user experience. What we'd like to do is have the
initial mailbox creation be based on the UPN rather than sAMAccountName. Is
this possible?

--
Hal Berenson, President
PredictableIT, LLC



.



Relevant Pages

  • Re: Webmail different Mailbox shown but correct one used
    ... What is set for the UPN for the user? ... I have a fully patched Exchange 2003 Server running on Windows Server ... webmail and be presented with his mailbox. ...
    (microsoft.public.exchange.admin)
  • Re: Exchange 2003 POP3 authentication failure (bug?)
    ... One of them accepts your logon credentials, ... but authentication should be ... So use the UPN wherever you can. ... Active Directory and then finding the associated mailbox. ...
    (microsoft.public.exchange.admin)
  • Re: OWA Login Problem
    ... You should be using the Netbios domain name or the UPN not what you have ... happens with any mailbox that I move. ... Logon failure: unknown user name or bad password. ... Microsoft Online Support site located at: ...
    (microsoft.public.exchange.admin)
  • Re: Mailbox Creation
    ... I wrote an account automation script at my last job. ... This creates the user and then you can set the UPN to what you want it to be. ... Then create the mailbox passing the objUser variable to the createmailbox ... different dcs and would not get replicated in time for the mailbox creation. ...
    (microsoft.public.exchange.development)
  • Re: VBScript Create Mailbox for User and email address
    ... objMailbox.createMailBox exchURL ... create the mailbox Alias when creating the Mailbox. ... My recommendation would be to let RUS do the heavy lifting. ... 'mailNickname' (e.g. set it to the account's sAMAccountName) and homeMDB ...
    (microsoft.public.scripting.vbscript)