• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 690
  • Last Modified:

Exchange 2007 Unable to Create Shared Mailbox Resource

I am trying to create a shared mailbox resource and am not able to. No matter how I do the Database name I keep getting these errors.

[PS] C:\Windows\System32>new-mailbox -alias "GenifaxTest" -Name "GenifaxTest" -d
atabase "PEA1DIR2EXCH01\SG2\SG2_MBDB02_500MB\SG2_MBDB02_500MB" -org "company.com/Charlotte/GenifaxTest OU" -shared -UserPrincipalName "genifaxtest@company.com"

New-Mailbox : Cannot bind parameter 'Database'. Cannot convert value
"PEA1DIR2EXCH01\SG2\SG2_MBDB02_500MB\SG2_MBDB02_500MB" to type
"Microsoft.Exchange.Configuration.Tasks.DatabaseIdParameter". Error: "'PEA1DIR2EXCH01\SG2\SG2_MBDB02_500MB\SG2_MBDB02_500MB' is not a valid value for the identity.
Parameter name: Identity"
At line:1 char:63
+ new-mailbox -alias "GenifaxTest" -Name "GenifaxTest" -database  <<<< "PEA1DIR2EXCH01\SG2\SG2_MBDB02_500MB\SG2_MBDB02_500MB" -org "company.com/Charlotte/GenifaxTest OU" -shared -UserPrincipalName "genifaxtest@company.com"
[PS] C:\Windows\System32>

My database Info
ClusterName: EXCH2K7CCR011
Server Name: PEA1DIR2EXCH01
Storage Group: SG2
Database: SG2_MBDB02_500MB
Path: I:\Exch\SG2\MBDB02\SG2_MBDB02_500MB.edb
0
jwhitepnv
Asked:
jwhitepnv
  • 2
  • 2
1 Solution
 
shodan15Commented:
"PEA1DIR2EXCH01\SG2\SG2_MBDB02_500MB\SG2_MBDB02_500MB"


Why SG2_MBDB02_500MB apear twice in your database name?  
0
 
jwhitepnvAuthor Commented:
If I pull one of them out I get this error:
Database "PEA1DIR2EXCH01\SG2\SG2_MBDB02_500MB" was not found. Please make sure
you have typed it correctly.
At line:1 char:1
+ n <<<< ew-mailbox -alias "GenifaxTest" -Name "GenifaxTest" -database "PEA1DIR
2EXCH01\SG2\SG2_MBDB02_500MB" -org "direct-general.com/Charlotte/GenifaxTest OU
" -shared -UserPrincipalName "genifaxtest@company.com"
0
 
shodan15Commented:
Try to use ClusterName in place of ServerName.
Or you can use database GUID insted of "server\storageGroup\Database".
You can find Database GUID by issuing command:
     Get-MailboxDatabase |Format-List
0
 
jwhitepnvAuthor Commented:
Thanks for the help. I figured it out. The cluster resources have been moved to the other server so I was running these commands on the passive node which is why I guess it was not able to see the DB.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now