Our environment has just finished migrating mailbox on a partner tenant to O365. We have removed all the connectors for this tenant and uninstalled the wizard from our Hybrid server.
When it was our turn to install the hybrid agent. We're having failure on installing the hybrid agent. It fails on the part where it's registering the agent.
From our hybrid agent install log file, the main error points to:
FINISH Time=890.1ms Results=BadRequest {
"error": {
"code": "Tenant_NotMatching",
"message": "The requested application does not belong to the requested tenant.",
"innerError": {
"date": "2020-12-21T21:12:43",
We have a consultant working on this already for more than 3 weeks and we can't seem to pinpoint what's going on. We scoured our AD using ADSIedit to remove all the information about the old tenant but it's still getting the same error. Hoping that there's other O365 clients on the same both as us. I see there's a another question already answered about the hybrid agent not registering - I've applied the solution suggested on the answers but still no luck. I
