If this is your first time using Add2Exchange or you are upgrading or migrating, post here.

9/27/2012 10:47:10 AM
Gravatar
Total Posts 2

Pre-Installed failing to create user

The preinstaller appears to be failing to actually create the user account.

I have tried different OUs. We only have one mailbox database.

 

Unrecognized token in source text.
At line:1 char:70
+ .\lib\mailbox.ps1 zAdd2Exchange 'Users' 'Mailbox Database' GCA.LOCAL @ <<<< 5
1@n$$$!
Get-User : The operation could not be performed because object 'zAdd2Exchange'
could not be found on domain controller 'MYSERVERNAME'.
At C:\Users\Administrator\Desktop\a2e-standard.9.9.177.185\preinstaller\lib\gro
ups.ps1:32 char:25
+ $user       =   Get-User  <<<< $account
Exception calling "add" with "1" argument(s): "Exception from HRESULT: 0x800050
00"
At C:\Users\Administrator\Desktop\a2e-standard.9.9.177.185\preinstaller\lib\gro
ups.ps1:7 char:17
+     $adGroup.add( <<<< "LDAP://" + $userDn)
Exception calling "add" with "1" argument(s): "Exception from HRESULT: 0x800050
00"
At C:\Users\Administrator\Desktop\a2e-standard.9.9.177.185\preinstaller\lib\gro
ups.ps1:7 char:17
+     $adGroup.add( <<<< "LDAP://" + $userDn)
Exception calling "add" with "1" argument(s): "Exception from HRESULT: 0x800050
00"
At C:\Users\Administrator\Desktop\a2e-standard.9.9.177.185\preinstaller\lib\gro
ups.ps1:7 char:17
+     $adGroup.add( <<<< "LDAP://" + $userDn)
Exception calling "add" with "1" argument(s): "A member could not be added to o
r removed from the local group because the member does not exist. (Exception fr
om HRESULT: 0x8007056B)"
At C:\Users\Administrator\Desktop\a2e-standard.9.9.177.185\preinstaller\lib\gro
ups.ps1:39 char:11
+ $admin.add( <<<< "WinNT://$domain/$account,user")
Add-ADPermission : User or group "zAdd2Exchange" was not found. Please make sur
e you have typed it correctly.
At C:\Users\Administrator\Desktop\a2e-standard.9.9.177.185\preinstaller\lib\rig
hts.ps1:3 char:39
+ Get-MailboxDatabase | Add-ADPermission  <<<< -User $account -AccessRights Ext
endedRight -ExtendedRights Send-As, Receive-As, ms-Exch-Store-Admin
The pipeline has been stopped.
At line:1 char:1
+ g <<<< et-publicfolder -identity \ -Recurse -resultsize unlimited
Get-PublicFolderClientPermission : Command execution stopped because the shell
variable "ErrorActionPreference" is set to Stop: The specified public folder us
er "zAdd2Exchange" does not exist. A valid public folder user should be a mail-
enabled user, mailbox or distribution group.
At C:\Program Files\Microsoft\Exchange Server\Scripts\AddUsersToPFRecursive.ps1
:130 char:48
+     $permission = get-PublicFolderClientPermission  <<<< -identity $_.Identit
y -user $User -erroraction Stop -server $_.OriginatingServer

9/27/2012 10:53:10 AM
Gravatar
Total Posts 2

Re: Pre-Installed failing to create user

I figured it out. The preinstaller program does not work with complex passwords.

The first passwords I tried had @ , $, !, or = in the password which was causing the user creation to fail.

9/27/2012 12:00:28 PM
Gravatar
Total Posts 159

Re: Pre-Installed failing to create user

Good to know, thank you

BTW, you also have to copy the files to the box, it will not run across from a UNC.

Live Help for Exchange Sync