Giladn
asked on
Exchange 2016 setup fails when trying to install EdgeTransport role
Hello,
I have a domain with exchange server 2010. I am trying to install Exchange 2016 on another domain member (not controller)
in the forest. Exchange server setup 2016 failes on installing EdgeTransport role. I have tried a fresh install on windows server 2016 twice, following this guide just to make sure
https://www.itprotoday.com/email-and-calendaring/how-install-microsoft-exchange-server-2016-windows-server-2016-powershell
every time installation fails giving that error (log file attached as well) :
The following error was generated when "$error.Clear();
new-ExchangeServer
" was run: "System.ArgumentNullExcept ion: Value cannot be null.
Parameter name: Cannot get child of ADObjectId: this is a GUID
based ADObjectId.
at Microsoft.Exchange.Data.Di rectory.AD ObjectId.G etChildId( String prefix, String unescapedCommonName)
at
Microsoft.Exchange.Data.Di rectory.AD DataSessio n.GetHoste dOrganizat ionsRoot(S tring callerFilePath, Int32 callerFileLine, String memberName)
at
Microsoft.Exchange.Data.Di rectory.AD DataSessio n.IsConfig Scoped(ADS cope scope)
at Microsoft.Exchange.Data.Di rectory.AD DataSessio n.GetConne ction(Stri ng preferredServer, Boolean isWriteOperation, String
optionalBaseDN, ADObjectId& rootId, ADScope scope)
at Microsoft.Exchange.Data.Di rectory.AD DataSessio n.Internal Find[TResu lt](ADObje ctId rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope,
QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects)
at Microsoft.Exchange.Data.Di rectory.AD DataSessio n.Find[TRe sult](ADOb jectId rootId,
QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects)
at Microsoft.Exchange.Data.Di rectory.AD DataSessio n.Find[TRe sult](ADOb jectId
rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, String callerFilePath, Int32 callerFileLine, String memberName)
at
Microsoft.Exchange.Data.Di rectory.Sy stemConfig uration.AD TopologyCo nfiguratio nSession.G etAdminist rativeGrou p(String callerFilePath, Int32 callerFileLine, String m
at
Microsoft.Exchange.Data.Di rectory.Sy stemConfig uration.AD TopologyCo nfiguratio nSession.G etAdminist rativeGrou pId(String callerFilePath, Int32 callerFileLine, String
at
Microsoft.Exchange.Managem ent.System Configurat ionTasks.N ewExchange Server.Pre pareDataOb ject()
at Microsoft.Exchange.Configu ration.Tas ks.SetTask Base`1.Int ernalValid ate()
at
Microsoft.Exchange.Configu ration.Tas ks.Task.<P rocessReco rd>b__91_1 ()
at Microsoft.Exchange.Configu ration.Tas ks.Task.In vokeRetrya bleFunc(St ring funcName, Action func, Boolean terminatePipelineIfFailed)
at Microsoft.Exchange.Configu ration.Tas ks.Task.Pr ocessTaskS tage(TaskS tage taskStage, Action initFunc, Action mainFunc, Action completeFunc)
at Microsoft.Exchange.Configu ration.Tas ks.Task.Pr ocessRecor d()
at System.Management.Automati on.Command Processor. ProcessRec ord()".
The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSet upLogs folder.
PS E:\>
does anyone have a clue where to check? event viewer doesn't give a hint but an error related to ADWS which I am no sure is related -
"This computer is now hosting the specified directory instance, but Active Directory Web Services could not service it. Active Directory Web Services will retry this operation periodically.
Directory instance: NTDS
Directory instance LDAP port: 389
Directory instance SSL port: 636
This is a domain memeber, it does not have Active directory installed - only AD LDS.
appreciate any help... I have tried everything..
Gilad
I have a domain with exchange server 2010. I am trying to install Exchange 2016 on another domain member (not controller)
in the forest. Exchange server setup 2016 failes on installing EdgeTransport role. I have tried a fresh install on windows server 2016 twice, following this guide just to make sure
https://www.itprotoday.com/email-and-calendaring/how-install-microsoft-exchange-server-2016-windows-server-2016-powershell
every time installation fails giving that error (log file attached as well) :
The following error was generated when "$error.Clear();
new-ExchangeServer
" was run: "System.ArgumentNullExcept
Parameter name: Cannot get child of ADObjectId: this is a GUID
based ADObjectId.
at Microsoft.Exchange.Data.Di
at
Microsoft.Exchange.Data.Di
at
Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
optionalBaseDN, ADObjectId& rootId, ADScope scope)
at Microsoft.Exchange.Data.Di
QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects)
at Microsoft.Exchange.Data.Di
QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects)
at Microsoft.Exchange.Data.Di
rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, String callerFilePath, Int32 callerFileLine, String memberName)
at
Microsoft.Exchange.Data.Di
at
Microsoft.Exchange.Data.Di
at
Microsoft.Exchange.Managem
at Microsoft.Exchange.Configu
at
Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at System.Management.Automati
The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSet
PS E:\>
does anyone have a clue where to check? event viewer doesn't give a hint but an error related to ADWS which I am no sure is related -
"This computer is now hosting the specified directory instance, but Active Directory Web Services could not service it. Active Directory Web Services will retry this operation periodically.
Directory instance: NTDS
Directory instance LDAP port: 389
Directory instance SSL port: 636
This is a domain memeber, it does not have Active directory installed - only AD LDS.
appreciate any help... I have tried everything..
Gilad
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you Saif!
1. The server has been disjointed from the domain
2. AD LDS is installed
3. Dns suffix is configured now by cli too (It was cnonfigured via tcp properties before)
I ran the command "Set-ItemProperty -Path HKLM:\SYSTEM\CurrentContro lSet\Servi ces\Tcpip\ Parameters -Name 'NV Domain' -Value <Value>"
4. network is ok, I can telnet to that port
5. .Net 4.6 is installed, not 4.6.1 , it is grayed out and cannot be uninstalled
6. Firewall is enabled on all profiles
7. Installed all OS updates
after checking and completing the steps above I ran the installation again and it crashed on 95%, ECP didn't open (iis gave blank page) and I have noticed all of exchange virtual directories are missing in IIS.
I then uninstalled exchange 2016 completely, removed Ad LDS and IIS, rebooted the server, installed AD LDS and IIS again
and ran the exchange 2016 installation again, this time setup has COMPLETED successfully, however I cannot browse to ECP virtual directory, and I see virtual directories are all missing from IIS...
this is a progress, but I don't understand, I have reinstalled IIS rebooted and reinstalled exchange , any advice?
Gilad
1. The server has been disjointed from the domain
2. AD LDS is installed
3. Dns suffix is configured now by cli too (It was cnonfigured via tcp properties before)
I ran the command "Set-ItemProperty -Path HKLM:\SYSTEM\CurrentContro
4. network is ok, I can telnet to that port
5. .Net 4.6 is installed, not 4.6.1 , it is grayed out and cannot be uninstalled
6. Firewall is enabled on all profiles
7. Installed all OS updates
after checking and completing the steps above I ran the installation again and it crashed on 95%, ECP didn't open (iis gave blank page) and I have noticed all of exchange virtual directories are missing in IIS.
I then uninstalled exchange 2016 completely, removed Ad LDS and IIS, rebooted the server, installed AD LDS and IIS again
and ran the exchange 2016 installation again, this time setup has COMPLETED successfully, however I cannot browse to ECP virtual directory, and I see virtual directories are all missing from IIS...
this is a progress, but I don't understand, I have reinstalled IIS rebooted and reinstalled exchange , any advice?
Gilad
Please do not make any changes.. Your exchange installation completed. You are good to configure send connector.. certificates etc..
Note:
Edge Role not having ECP and won't configure anything in IIS like mailbox server..
You can manage edge only via Exchange Management Shell
Note:
Edge Role not having ECP and won't configure anything in IIS like mailbox server..
You can manage edge only via Exchange Management Shell
ASKER
Thank you Rajkumar,
no further changes are made..
I see all is completed successfully, however I am using 365 for mailboxes on hybrid - I dont have a mailbox server, so If I understand correct - so I can only use EMS to manage remote mailboxes?
no further changes are made..
I see all is completed successfully, however I am using 365 for mailboxes on hybrid - I dont have a mailbox server, so If I understand correct - so I can only use EMS to manage remote mailboxes?
Hi Giladn,
You have mentioned you are using office 365 on a Hybrid environment.. how come you are not having any mailbox servers?
why you installed this Edge server ? can u pls run the below 2 commands on your server and share the screen capture.. pls
Get-ExchangeServer | fl *role*
Test-ServiceHealth
To manage office 365 mailbox, you can use Exchange Online Powershell.. but not this Edge Server management shell..
You have mentioned you are using office 365 on a Hybrid environment.. how come you are not having any mailbox servers?
why you installed this Edge server ? can u pls run the below 2 commands on your server and share the screen capture.. pls
Get-ExchangeServer | fl *role*
Test-ServiceHealth
To manage office 365 mailbox, you can use Exchange Online Powershell.. but not this Edge Server management shell..
ASKER
Hi Rajkumar,
I prefer the Database (mailboxes) to be stored online and not on premise as it is easier to manage, maintain and backup and saves computing resources. I have around 300 mailboxes and I when we migrated it was best practice for a hybrid deployment by MS..
I am starting to wonder is it really necessary to have an on premise exchange server (Edge) I just like the ease of managing it via EMC.
usually what I do is opening remote mailboxes and configuring existing users.
it IS A REALLY GOOD QUESTION , DO I NEED AN ON PREMISE EXCHANGE SERVER?
what do you think? is there a real advantage of keeping it on premise without a mailbox rule when there's no EAC/EMC ?
commands output is :
[PS] C:\ExchangeSetupLogs>Get-E xchangeSer ver | fl *role*
ExchangeLegacyServerRole : 0
ServerRole : Edge
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- -----
PS] C:\ExchangeSetupLogs>Test- ServiceHea lth
Role : Edge Transport Role
RequiredServicesRunning : True
ServicesRunning : {ADAM_MSExchange, MSExchangeEdgeCredential, MSExchangeServiceHost, MSExchangeTransport, MSExchangeTransportLogSear ch}
ServicesNotRunning : {}
Kind regards,
Gilad
I prefer the Database (mailboxes) to be stored online and not on premise as it is easier to manage, maintain and backup and saves computing resources. I have around 300 mailboxes and I when we migrated it was best practice for a hybrid deployment by MS..
I am starting to wonder is it really necessary to have an on premise exchange server (Edge) I just like the ease of managing it via EMC.
usually what I do is opening remote mailboxes and configuring existing users.
it IS A REALLY GOOD QUESTION , DO I NEED AN ON PREMISE EXCHANGE SERVER?
what do you think? is there a real advantage of keeping it on premise without a mailbox rule when there's no EAC/EMC ?
commands output is :
[PS] C:\ExchangeSetupLogs>Get-E
ExchangeLegacyServerRole : 0
ServerRole : Edge
--------------------------
PS] C:\ExchangeSetupLogs>Test-
Role : Edge Transport Role
RequiredServicesRunning : True
ServicesRunning : {ADAM_MSExchange, MSExchangeEdgeCredential, MSExchangeServiceHost, MSExchangeTransport, MSExchangeTransportLogSear
ServicesNotRunning : {}
Kind regards,
Gilad
Reinstall the OS and give a different computer name for that server.. do no join in domain.. and then follow this article
https://docs.microsoft.com/en-us/exchange/plan-and-deploy/deploy-new-installations/install-edge-transport-role?view=exchserver-2019
Another step by step reference..
https://msexperttalk.com/install-exchange-2016-edge-transport-server/