HCW: Hybrid Agent failing to register

Denis Payne 161 Reputation points
2020-05-15T11:35:58.26+00:00

The Office 365 Hybrid Configuration wizard gets to the Hybrid Agent Setup step.
The Hybrid Agent is downloaded and installed but then fails at the 'Register Hybrid Agent' step.

The HCW log from %userprofile%\AppData\Roaming\Microsoft\Exchange Hybrid Configuration\ has the below details:

2020.05.15 10:23:42.936 10333 [Client=UX, fn=SendAsync, Thread=20]
FINISH Time=369.0ms Results=Forbidden {
"error": {
"code": "NotAdminRoleNoEnoughCustomPermission_UnauthorizedAccess",
"message": "Unauthorized Access.",
"innerError": {
"request-id": "417ab366-86af-410f-9f5a-df7530b0d19c",
"date": "2020-05-15T10:23:42"
}
}
}

I have tried the below but the issue continues:

  • Uninstalled the Hybrid Agent then run the HCW again
  • Install the Hybrid Agent manuall and then run the HCW again

I don't see any issue with the Office 365 GLobal Admin credentials I am using, as I can logon to Office 365 using then and they are accepted in the first step of HCW.

Microsoft Entra
{count} votes

13 additional answers

Sort by: Most helpful
  1. Gary Smith 121 Reputation points
    2021-11-18T12:20:25.267+00:00

    Mine fails today. Granted i have had CU22 break exchange 2016. Had to repair it and create a new OWA/ECP certificate as EAC wouldnt load. But getting an error on the last step.

    150650-2021-11-18-12-16-47-chi-ex16-connected-dameware-mi.png