Hi Frank,
Thanks for your reply. I indeed tried several times to remove and recreate the DAG.
Here the verbose output:
[PS] C:\Windows\system32>Add-DatabaseAvailabilityGroupServer -MailboxServer '<SERVERNAME>' -Identity '<DAGNAME>' -verbose
VERBOSE: [11:41:25.169 GMT] Add-DatabaseAvailabilityGroupServer : Initializing Active Directory server settings for the remote Windows PowerShell
session.
VERBOSE: [11:41:25.169 GMT] Add-DatabaseAvailabilityGroupServer : Active Directory session settings for 'Add-DatabaseAvailabilityGroupServer' are:
View Entire Forest: 'False', Default Scope: '<DOMAINNAME>', Configuration Domain Controller: '<DCNAME>.<DOMAINNAME>',
Preferred Global Catalog: '<GCNAME>.<DOMAINNAME>', Preferred Domain Controllers: '{ <GCNAME>.<DOMAINNAME> }'
VERBOSE: [11:41:25.169 GMT] Add-DatabaseAvailabilityGroupServer : Runspace context: Executing user:
<DOMAINNAME>/Organization/Departments/IT/Users/Admins/Stephan van der Plas, Executing user organization: , Current organization: , RBAC-enabled:
Enabled.
VERBOSE: [11:41:25.169 GMT] Add-DatabaseAvailabilityGroupServer : Beginning processing &
VERBOSE: [11:41:25.185 GMT] Add-DatabaseAvailabilityGroupServer : Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log
Agent".
VERBOSE: [11:41:25.216 GMT] Add-DatabaseAvailabilityGroupServer : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient Write Scopes: {{,
}}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient Scope(s): {}, Exclusive Configuration Scope(s): {}
}
VERBOSE: [11:41:25.216 GMT] Add-DatabaseAvailabilityGroupServer : Searching objects "<SERVERNAME>" of type "Server" under the root "$null".
VERBOSE: [11:41:25.232 GMT] Add-DatabaseAvailabilityGroupServer : Previous operation run on domain controller
'<DCNAME>.<DOMAINNAME>'.
VERBOSE: [11:41:27.513 GMT] Add-DatabaseAvailabilityGroupServer : Searching objects "<DAGNAME>" of type "DatabaseAvailabilityGroup" under the root
"$null".
VERBOSE: [11:41:27.513 GMT] Add-DatabaseAvailabilityGroupServer : Previous operation run on domain controller
'<DCNAME>.<DOMAINNAME>'.
VERBOSE: [11:41:27.529 GMT] Add-DatabaseAvailabilityGroupServer : Processing object "<DAGNAME>".
VERBOSE: [11:41:27.529 GMT] Add-DatabaseAvailabilityGroupServer : Admin Audit Log: Entered Handler:Validate.
VERBOSE: [11:41:27.529 GMT] Add-DatabaseAvailabilityGroupServer : Admin Audit Log: Entered ClassFactory:InitializeConfig.
VERBOSE: [11:41:27.529 GMT] Add-DatabaseAvailabilityGroupServer : Admin Audit Log: Exited ClassFactory:InitializeConfig.
VERBOSE: [11:41:27.544 GMT] Add-DatabaseAvailabilityGroupServer : Admin Audit Log: Exited Handler:Validate.
VERBOSE: Adding mailbox server "<SERVERNAME>" to database availability group "<DAGNAME>".
VERBOSE: [11:41:27.544 GMT] Add-DatabaseAvailabilityGroupServer : Resolved current organization: .
VERBOSE: [11:41:27.576 GMT] Add-DatabaseAvailabilityGroupServer : Admin Audit Log: Entered Handler:OnComplete.
VERBOSE: [11:41:27.576 GMT] Add-DatabaseAvailabilityGroupServer : Admin Audit Log: Exited Handler:OnComplete.
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
+ CategoryInfo : NotSpecified: (0:Int32) [Add-DatabaseAvailabilityGroupServer], UnauthorizedAccessException
+ FullyQualifiedErrorId : AA1F65A,Microsoft.Exchange.Management.SystemConfigurationTasks.AddDatabaseAvailabilityGroupServer
VERBOSE: [11:41:27.576 GMT] Add-DatabaseAvailabilityGroupServer : Ending processing &
Regards,
Stephan
You know you're an engineer when you have no life and can prove it mathematically
Need to support users over the internet?
click here try our remote control online beta