When I attempt to create a new Mailbox Database using a PS command similar to the following:
New-MailboxDatabase -Name “DB1” -Server ThatLazyEX-02 -EdbFilePath D:\DB\DB1.edb -LogFolderPath D:\Logs\
I would get an error regarding Active Directory operation failed
Found solution here.
Basically I have to specify the preferred server with the command:
Set-ADServerSettings –PreferredServer DC1
If you run Get-ADServerSettings it will display what it is. Before running the set command the server was {}.
After running the set command the New-MailboxDatabase command worked.
Recent Comments