Upgrade to Exchange 2016 CU6 – User account isn’t a member of the ‘Schema Admins’ and/or ‘Enterprise Admins’ groups.
Ao ser chamado para realizar o upgrade do CU4 ao CU6 a pedido do cliente, mas me deparei com algo estranho. Durante o check de validação, me foi informado o seguinte erro: The Active Directory schema isn’t up-to-date, and this user account isn’t a member of the ‘Schema Admins’ and/or ‘Enterprise Admins’ groups.
Ao abrir a setup log do exchange – C:\ExcangeSetupLog – me deparei com os seguintes erros:
Failed [Rule:AdInitErrorRule] [Message:Setup encountered a problem while validating the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run setup with the /prepareAD parameter on a computer in the domain YourDomain and site YourDomainsSiteName, and wait for replication to complete. See the Exchange setup log for more information on this error.]
Failed [Rule:ForestLevelNotWin2003Native] [Message:The forest functional level of the current Active Directory forest is not Windows Server 2003 native or later. To install Exchange Server 2013, the forest functional level must be at least Windows Server 2003 native.]
Failed [Rule:CannotAccessAD] [Message:Either Active Directory doesn’t exist, or it can’t be contacted.]
O que realmente me estranhou, é o fato de que a minha conta pertencia ao Enterprise Admin e ao Schema Admins, então o erro realmente não fazia nenhum sentido.
Resolução:
Desisti de buscar entender o porquê e resolvi sanar de uma vez o problema. Realizei então o upgrade manual do schema e do domínio no DC que possui a FSMO “Schema Master” – para descobrir qual é, basta utilizar o comando netdom query fsmo, com os seguintes passos:
- Instalação do .NET Framework 4.6.2 – caso já exista instalado, esse passo pode ser excluído.
- Execução do comando: .\setup.exe /PrepareSchema /iacceptexchangeserverlicenseterms
- Execução do comando: .\setup.exe /Preparead /iacceptexchangeserverlicenseterms
- Execução do comando: .\setup.exe /PrepareAllDomains /iacceptexchangeserverlicenseterms
Ao realizar os passos acima, pude então rodar o CU6 e finalizar a instalação com sucesso.