Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP !! Create Mailbox using ADSI

Status
Not open for further replies.

lbala

Technical User
May 7, 2002
5
GB
Hi,

I have an exch 2000 server in a windows 2000 avtive directory environment.Iam testing the creation of mailbox(and user accounts) on the server by means of an ADSI script, i use a sample script from
However when i execute the script , i end up with the following error

Automation error
Run-time error '-2147016672(80072020)

I have confirmed the correctness of the syntax etc, it is correct.the script seems to fail at the following stmt:

Set MailboxParentContainer = GetObject("LDAP://" & ExchangeServerName & "/o=" & ExchangeServerOrganization & "/ou=" & ExchangeServerSite & "/cn=Recipients" & MailboxRelativePath)

Anyone with suggestions, i would appreciate.

thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top