%3CLINGO-SUB%20id%3D%22lingo-sub-1238753%22%20slang%3D%22en-US%22%3EMarch%202020%20significant%20update%20to%20Hybrid%20Configuration%20Wizard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1238753%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20wanted%20to%20let%20you%20know%20that%20we%20are%20releasing%20what%20we%20consider%20a%20significant%20update%20to%20Exchange%20Hybrid%20Configuration%20Wizard%20(HCW).%20Along%20with%20a%20handful%20of%20small%20bug%20fixes%2C%20there%20are%20four%20major%20changes%20coming%20that%20we%20wanted%20to%20share%20with%20you%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EHCW%20will%20no%20longer%20enable%20Federation%20Trust%20by%20default%20for%20all%20installations.%20Instead%2C%20it%20will%20only%20enable%20Federation%20Trust%20if%20there%20are%20Exchange%202010%20servers%20on%20premises.%20HCW%20will%20call%20Get-ExchangeServer%20and%20if%20no%20Exchange%202010%20servers%20are%20reported%2C%20the%20workflow%20to%20enable%20Federation%20Trust%20and%20subsequently%20require%20domain%20proof%20will%20not%20execute.%20Note%20that%20organization%20relationships%20are%20still%20created.%3C%2FLI%3E%0A%3CLI%3EWhen%20uninstalling%20the%20hybrid%20agent%20and%20switching%20to%20Classic%20in%20the%20HCW%2C%20this%20action%20would%20sometimes%20fail%20with%20a%20%E2%80%9Cnull%20reference%E2%80%9D%20error.%20We%20have%20fixed%20this!%3C%2FLI%3E%0A%3CLI%3EHow%20many%20of%20you%20have%20hit%20the%20HCW%208064%20error%20%E2%80%93%20unable%20to%20configure%20OAuth%2C%20and%20subsequently%20had%20no%20idea%20why%20OAuth%20failed%20to%20configure%3F%20Yes%2C%20we%20heard%20you%20loud%20and%20clear!%20In%20this%20release%2C%20we%20have%20completely%20changed%20the%20way%20we%20enable%20and%20configure%20OAuth.%20Instead%20of%20enabling%20OAuth%20at%20the%20service%20layer%2C%20we%20now%20enable%20OAuth%20via%20a%20Graph%20API%20under%20the%20context%20of%20the%20Tenant%20Admin.%20This%20in%20turn%20removes%20the%20error%20obfuscation%20we%20had%20with%20the%20service%20layer%20enablement%20and%20allows%20us%20to%20include%20a%20detailed%20error%20entry%20in%20the%20HCW%20log.%20So%20while%20you%20still%20see%20the%20HCW%208064%20error%20in%20the%20HCW%20UI%2C%20you%20can%20now%20review%20the%20log%20for%20the%20specific%20error%20detail%20which%20will%20make%20it%20easier%20to%20troubleshoot%20and%20resolve.%3C%2FLI%3E%0A%3CLI%3EWhen%20verifying%20DNS%2C%20we%20had%20a%20fallback%20mechanism%20that%20would%20reach%20out%20to%20an%20external%20site%20to%20verify%20domains.%20While%20this%20fallback%20mechanism%20was%20rarely%20hit%2C%20we%20received%20overwhelming%20feedback%20to%20not%20use%20this%20mechanism%2Fsite%20as%20it%20was%20not%20listed%20in%20our%20IPs%20%26amp%3B%20URLs%20web%20page.%20We%20have%20removed%20that%20fallback%20and%20now%20only%20use%20the%20endpoint%20%E2%80%9Cmshybridservice.trafficmanager.net%E2%80%9D%2C%20which%20is%20listed%20in%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fenterprise%2Fadditional-office365-ip-addresses-and-urls%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eour%20endpoints%20documentation%3C%2FA%3E.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EBecause%20this%20is%20a%20major%20version%20update%2C%20the%20build%20begins%20with%2017.x%20vs%2016.x.%20The%20build%20number%20can%20be%20found%20in%20the%20top%20right%20corner%20once%20you%20download%20and%20open%20the%20HCW.%3C%2FP%3E%0A%3CP%3EBecause%20of%20the%20web-based%20distribution%20nature%20HCW%20uses%20and%20this%20version%20is%20a%20brand%20new%20package%2C%20you%20will%20get%20all%20this%20goodness%20simply%20by%20installing%20the%20new%20HCW%20from%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fhybridwizard%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20The%20current%20builds%20of%20HCW%20(16.x)%20will%20not%20automatically%20update%20to%2017.x%20build%2C%20in%20fact%20%E2%80%93%20you%20could%20run%20the%20two%20side-by-side.%20Once%20you%20are%20on%2017.x%20build%20%E2%80%93%20the%20HCW%20will%20then%20auto-update%20as%20usual.%3C%2FP%3E%0A%3CP%20class%3D%22note%22%3EPlease%20note%20that%20at%20this%20time%2C%20we%20do%20not%20anticipate%20new%20HCW%2016.x%20builds.%20Therefore%2C%20to%20continue%20getting%20new%20HCW%20builds%20in%20the%20future%2C%20uninstall%20the%20current%20version%20of%20HCW%20(16.x)%20and%20then%20install%20the%20new%20version%20(17.x).%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22author%22%3EExchange%20Hybrid%20Team%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1238753%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20wanted%20to%20let%20you%20know%20that%20we%20are%20releasing%20what%20we%20consider%20a%20significant%20update%20to%20Exchange%20Hybrid%20Configuration%20Wizard%20(HCW).%20Along%20with%20a%20handful%20of%20small%20bug%20fixes%2C%20there%20are%20four%20major%20changes%20coming%20that%20we%20wanted%20to%20share%20with%20you...%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1238753%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETips%20'n%20Tricks%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETools%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1238829%22%20slang%3D%22en-US%22%3ERe%3A%20March%202020%20significant%20update%20to%20Hybrid%20Configuration%20Wizard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1238829%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20Afternoon%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20posted%20before%20but%20you've%20retired%20the%20original%20announcement%20and%20corrected%20as%20I%20expected.%3C%2FP%3E%3CP%3ESo%20we%20have%202%20scenarios%3A%3C%2FP%3E%3CP%3E1)%20Mixed%20Environment%20with%20Exchange%202010%3A%20The%20HCW%20enable%20Federation%20Trust%20between%20Exchange%20on-premise%20and%20Exchange%20online%3C%2FP%3E%3CP%3E2)%20No%20Exchange%202010%20in%20the%20Organization%3A%20THe%20HCW%20enable%20OAuth-based%20authentication%26nbsp%3Bbetween%20Exchange%20on-premise%20and%20Exchange%20online%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOrganization%26nbsp%3B%3CSPAN%3Erelationships%20is%20always%20created.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%20correct%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20in%20advance%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EBest%20regards%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EDanilo%20Belcastro%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E

(Post updated on 3/26/2020 to add more information about installation process)

We wanted to let you know that we are releasing what we consider a significant update to Exchange Hybrid Configuration Wizard (HCW). Along with a handful of small bug fixes, there are four major changes coming that we wanted to share with you:

  1. HCW will no longer enable Federation Trust by default for all installations. Instead, it will only enable Federation Trust if there are Exchange 2010 servers on premises. HCW will call Get-ExchangeServer and if no Exchange 2010 servers are reported, the workflow to enable Federation Trust and subsequently require domain proof will not execute. Note that organization relationships are still created.
  2. When uninstalling the hybrid agent and switching to Classic in the HCW, this action would sometimes fail with a “null reference” error. We have fixed this!
  3. How many of you have hit the HCW 8064 error – unable to configure OAuth, and subsequently had no idea why OAuth failed to configure? Yes, we heard you loud and clear! In this release, we have completely changed the way we enable and configure OAuth. Instead of enabling OAuth at the service layer, we now enable OAuth via a Graph API under the context of the Tenant Admin. This in turn removes the error obfuscation we had with the service layer enablement and allows us to include a detailed error entry in the HCW log. So while you still see the HCW 8064 error in the HCW UI, you can now review the log for the specific error detail which will make it easier to troubleshoot and resolve.
  4. When verifying DNS, we had a fallback mechanism that would reach out to an external site to verify domains. While this fallback mechanism was rarely hit, we received overwhelming feedback to not use this mechanism/site as it was not listed in our IPs & URLs web page. We have removed that fallback and now only use the endpoint “mshybridservice.trafficmanager.net”, which is listed in our endpoints documentation.

Because this is a major version update, the build begins with 17.x vs 16.x. The build number can be found in the top right corner once you download and open the HCW.

Because of the web-based distribution nature HCW uses and this version is a brand new package, you will get all this goodness simply by installing the new HCW from here. The current builds of HCW (16.x) will not automatically update to 17.x build, in fact – you could run the two side-by-side. Once you are on 17.x build – the HCW will then auto-update as usual.

A few additional notes: At this time, we do not anticipate new HCW 16.x builds. Therefore, to continue getting new HCW builds in the future, uninstall the current version of HCW (16.x) and then install the new version (17.x). The new version of HCW has a new dependency, .NET 4.7.2. The installer should take care of this for you, but just so you are aware.

On installation of the new version of HCW

Generally speaking, the HCW is a standalone, stateless app that gathers configuration information and applies the necessary changes to get to your topology into the desired state. These changes are applied at the Exchange Organization level (both on premises and in the cloud/tenant configuration). Those settings are not stored or managed by the HCW after the run has completed. The Hybrid Agent, once installed and configured runs on the specified machine and is also not tied to the HCW app after installation completes.

Unless you need to re-run HCW, there is actually no need to uninstall and reinstall the new version. In fact, once hybrid is configured, the HCW itself could be uninstalled and it would have no effect on the hybrid configuration it deployed.

In case that at some time you want to re-run HCW, you would want to run the latest version… and that is why we mentioned that you should uninstall the 16.x version and install the 17.x version. But if you do not plan to re-run HCW, you do not need to actually do anything.

Exchange Hybrid Team

25 Comments
Senior Member

Good Afternoon,

 

I've posted before but you've retired the original announcement and corrected as I expected.

So we have 2 scenarios:

1) Mixed Environment with Exchange 2010: The HCW enable Federation Trust between Exchange on-premise and Exchange online

2) No Exchange 2010 in the Organization: THe HCW enable OAuth-based authentication between Exchange on-premise and Exchange online

 

Organization relationships is always created.

 

Is correct?

 

Thanks in advance

 

Best regards

 

Danilo Belcastro

Microsoft

@DaniloBelcastro, yes, Organization Relationship is still created.

Occasional Contributor

Hi,

So I have to write it again :D

We are facing a problem with HCW which we did not have before, dunno why, but we have our guess, so:

1. We have over 250 domains and until recently HCW run correctly and created 2 organization relationships, one with 238 domains and the other with rest of them

2. Now, HCW creates the 2 org relationships still like it used to, but fails at the New-IntraOrganizationConnector step for the reason of "over 250 domains in the tenant"

Why Org relationship can be created with HCW and divide the domains between two relationships, but the intra org connector cannot be created and HCW fails without possibility to continue?

Even if we create the intraorg connector manually in PowerShell, HCW removes that and tries to create the intraorg connector and of course fails becauese of more than 250 domains.

Before we did not have the problem but is it due to the fact that with EXCH2010 in the organization, the intraorg connector is not created? Cause we removed EXCH2010 at the beginning of the year.

Kind regards,

Krzysztof Sienkiewicz, Microsoft Core Infrastructure Specialist @Demant

Regular Visitor

Thanks for the detailed error message about HCW 8064 error :smile:

 

2020.03.20 07:53:54.177 *ERROR* 10133 [Client=UX, Page=Configuring, fn=RunWorkflow, Workflow=Hybrid, Task=IntraOrganization, Phase=Configure, Step=OAuth, Thread=16]
Graph service call (Graph API) has failed with the exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Microsoft.Online.CSE.Hybrid.Common.GraphServicePrincipalProvider.UpdateSPN(String[] acceptedDomains, String[] servicePrincipalNames, X509Certificate2 authCertificate)
at Microsoft.Online.CSE.Hybrid.StandardWorkflow.IOCConfigurationTask.UpdateGraphSPN(ILogger logger, String[] acceptedDomains, String[] servicePrincipalNames, IExchangeCertificate certificate, IGraphService graphService)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Is it possible to distribute an "Update" for the HCW Version 16, which tells the admin about the new version and the manuall uninstall and download? So everybody knows, that they are riding a dead horse and have to switch.

Senior Member

What are the consequences of uninstalling the current version of HCW (16.x)? It brokes the Hybrid Configuration or the Hybrid Configuration object stored in Active Directory? Or all continue to function normally?

Do you have a page (I searched for it but didn't find it) for HCW builds history and changelog?

 

Thanks in advance and best regards

 

Danilo Belcastro

Microsoft

@Peter Forster , if you download the net 4.7.2 framework, does the problem go away?

@Frank Carius , I'm looking into exactly this right now.

@Krzysztof Sienkiewicz , Please open a support case so we can identify the source of this.

Occasional Contributor

@xC0000005 I already did, was closed with "this is by design" kind of answer ;)

Contributor

Can you please advise if, for Exchange 2013 and newer, Federation Trust's provided functionality is better provided by either A) OAuth between Exchange/EXO, or B) the Hybrid Agent (for non-full Hybrid)?

 

I'm trying to find documentation that states Federated Trust is not required for 2013 and newer hybrid deployments.  This article is close :

 https://docs.microsoft.com/en-us/exchange/configure-oauth-authentication-between-exchange-and-exchan...

 

Question 2, in the absence of Federation Trust's, is OAuth being setup a prerequisite to Organization Relationship's, or do these simply work without any other backing system, for 2013 and newer?

Senior Member

@xC0000005 and @The_Exchange_Team 

Can You please give me a clarification about my doubts:

- What are the consequences of uninstalling the current version of HCW (16.x)? It brokes the Hybrid Configuration or the Hybrid Configuration object   

   stored in Active Directory? Or all continue to function normally?

- Do you have a page (I searched for it but didn't find it) for HCW builds history and changelog?

- With HCW v. 17 we have 2 scenarios?

   1) Mixed Environment with Exchange 2010: The HCW enable Federation Trust between Exchange on-premise and Exchange online

   2) No Exchange 2010 in the Organization: THe HCW enable OAuth-based authentication between Exchange on-premise and Exchange online

 

Thanks in advance and best regards

 

Danilo Belcastro

Occasional Visitor

When this will be rolled out for all users ?

Microsoft

@DaniloBelcastro I just added a few paragraphs into the original post related to installation of HCW. Hope that clarifies it.

Senior Member

@Nino Bilic thank you so much, the clarification was easy to understand and well explained. :)

You've solved all my doubts about HCW uninstall/install procedure.

 

Could you please, if you're eligible to do so, kindly clarify also this question:

- With HCW v. 17 we have 2 scenarios?

   1) Mixed Environment with Exchange 2010: The HCW enable Federation Trust between Exchange on-premise and Exchange online

   2) No Exchange 2010 in the Organization: THe HCW enable OAuth-based authentication between Exchange on-premise and Exchange online

 

Thanks in advance and best regards

 

Danilo Belcastro

 

@DaniloBelcastro The HCWv17 performs:

 

  DAuth OAuth Note
Ex2010/Ex2013+ Mixed Yes No (manual if needed w/Ex2013+)  
No Ex2010 No (new) Yes will still create OrgRel



Occasional Visitor

When downloading the new hcw with the new Edge browser I got the error: “Deployment and application do not have matching security zones”

When downloading the file with Internet Explorer the file starts correct. Found this solution on: https://bwit.blog/fix-deployment-application-not-matching-security-zones/

Occasional Contributor

I need to add a new hybrid domain to the configuration in a few weeks.

 

My action plan would be:

 

1.) Install new hybrid wizard

2.) Run new hybrid wizard and add new hybrid domain - See if everything works

3.) If everything is O.K. i would uninstall the old one

4.) If it fails i would use the old (16.x) one to add the new hybrid domain

 

Two Questions:

 

1.) Is there actually any change (federation trust, oauth, anything else?) to the hybrid config when  running the new hybrid wizard in an existing hybrid setup that was configured with the 16.x version?

2.) Will the proposed action plan work as described?

Occasional Contributor

Hello Exchange team,

 

Currently upgrading hybrid exchange 2010 to hybrid exchange2016 CU15.

My plan is to run HCW on Exchange 2016 EAC and add two Exchange 2016 servers and not to remove Exchange 2010 servers from hybrid configuration.

Is it going to work and later next will run the HCW again and remove one server Exchange 2010 at a time and will under observation and next time run the HCW and remove the last exchange 2010 server.

 

Is it going to break the connection between my onprem and O365 cloud.

Regards

Anand Sunka

Senior Member

Great, awesome :)


We received error HCW8064 when configuring the HCW on our Exchange 2016 environment. After reading this article we removed version 16 (which we installed via http://aka.ms/taphcw), we installed version 17 (http://aka.ms/hybridwizard) and the wizard was successful. Why does Microsoft use multiple URLs for the HCW wizards? This is confusing?

Established Member

Great to have version that again works with OAUth. However, I would be happy if you could finally switch from this application type, that reqires Internet Explorer to download. It is a mess! Modern applications like the Windows Admin Center don't even support IE anymore... Why not simply provide an EXE that can also be download with other browsers?

Contributor

@Christian Schindler fyi new Edge handles clickonce apps no problem.  You have to enable it then it works fine.

Senior Member

@Jeremy Bradshaw have you received or found an answer to your questions? I have the same question.

In addition, I have noticed that the HCW v17 does not update the Default Email Address Policy, is more known about this? Unfortunately, I don't find this anywhere on the internet or on docs.microsoft.com.

Contributor

@ArendvanDijk I never did hear back anything here nor did I find out anywhere else.  My assumption is that the answer is "Yes" for OAuth being setup effectively replaces Federation Trust's functionality.  I have 2010 in my lab and am hesitating to decommission it as I have so many 2010-related projects (and too lazy to spin up a separate other lab).  Eventually I'll lab out all these questions to see the differences between Fed. Trust and OAuth setup.

Occasional Visitor

We are running Exchange Server 2013 CU 23 with all updates. When opening the ECP, clicking 'Hybrid' and selecting 'Modify', version 16.x of the wizard installs and runs, even though we have 17.x installed.

 

This causes issues with various processes! Please can the link be updated ASAP?

Senior Member

@ChrisMAF It's frustrating because you do exactly what Microsoft asks you to do (https://docs.microsoft.com/en-us/exchange/hybrid-deployment/deploy-hybrid#use-the-exchange-admin-cen...).

I always use this link now, never the built-in link via ECP: http://aka.ms/hybridwizard

Microsoft could provide some more clarity about v16 and v17 and how to download it. It is now often looking for the right information.

Contributor

The way this blog post words it, at the very end of the post specifically, you need not re-download the HCW from either place.  Instead, you do that once and then every time you run it later, just run it from the installed shortcut.  It'll update itself automatically if a newer version is there (within the same major build).

 

So if you go and click the link in the EAC, it makes sense that it installs the version that is there.  

 

So this is two issues - one issue is that Exchange team are having two different versions available in two different places.  The other is customers re-downloading from both places and getting surprised that the version is different.

 

I would just use the external link for v17, then just relaunch it from the installed shortcut or return to the same link, but if going the latter route, keep going back to the same link.

 

Exchange has always been a big customer booby trap like this.  Everywhere you look there is something odd that you just have to deal with as the customer.  This is the product that first refused GUI items in favor of PowerShell, after all.  So it's love hate for all.