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. Jan-IT 1 Reputation point
    2020-05-20T06:21:21.207+00:00

    ![8487-2020-05-20-08-06-44.jpg][1] [1]: /api/attachments/8487-2020-05-20-08-06-44.jpg?platform=QnA

    0 comments No comments

  2. Marc Gehri 1 Reputation point
    2020-05-20T07:10:08.317+00:00

    Tried the HCW an hour ago - the error has disappeared - Just like that - no instruction from Microsoft, no change to the environment

    -- this is magic --

    0 comments No comments

  3. Jorge Rodriguez 1 Reputation point
    2020-05-20T08:41:15.377+00:00

    Azure support has confirmed that they have been working between inside and backend support to solve the issue, and now it's working.

    0 comments No comments

  4. Tom 1 Reputation point
    2020-06-23T08:03:43.187+00:00

    Here it is not solved. Still can't register Hybrid Agent with HCW. There are several agents installed and active but none is displayed to be used?!

    10525-hybridagents-missing.png

    And if I select to install additional agent, it will fail to register.

    0 comments No comments