Error when running hybrid configuration wizard

Ahmed Essam 80 Reputation points
2023-05-14T14:03:55.2766667+00:00

Hi,

I'm experiencing an issue when try to run hybrid configuration wizard as the below screen: no firewall, server connected directly to internet

Office 365 Error

Microsoft Exchange Online
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,348 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,886 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Konstantinos Passadis 17,286 Reputation points
    2023-05-14T20:20:59.5066667+00:00

    Hello @Ahmed Essam!

    Welcome to Microsoft QnA !

    Can you post the setup details please ?

    The more details we have the better we can help !

    So , which Exchange is there ? What method are you following ? Is there only one Exchange ?

    For starters i can point you to the prerequisites Link and ask you to creafully read before deploying :

    https://learn.microsoft.com/en-us/exchange/hybrid-deployment-prerequisites

    Waiting for your feedback !

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    0 comments No comments

  2. Kael Yao-MSFT 37,496 Reputation points Microsoft Vendor
    2023-05-15T01:22:04.3766667+00:00

    Hi @Ahmed Essam,

    Please follow this link to use the self-service tool to enable Remote PowerShell in Microsoft 365 admin center.

    And see if it can help with this issue.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Federico 25 Reputation points
    2023-05-18T06:30:51.05+00:00

    Hi, I ran into the same issue.

    You need to configure tls for .Net 4.0.

    Use the reg file here: https://learn.microsoft.com/en-us/dotnet/framework/network-programming/tls


  4. Hugues MOCCAND 0 Reputation points
    2023-05-30T14:55:59.8366667+00:00

    Worked, using registry method to handle TLS for .Net 4.0.x with values below:

    SchUseStrongCrypto : 1

    SystemDefaultTlsVersions : 0

    AND

    Re-Enabling RPS for Exchange Online

    https://techcommunity.microsoft.com/t5/exchange-team-blog/deprecation-of-remote-powershell-in-exchange-online-re-enabling/ba-p/3779692


  5. Konstantinos Passadis 17,286 Reputation points
    2023-05-31T19:41:21.8+00:00

    Hello

    Please use

    https://techcommunity.microsoft.com/t5/exchange-team-blog/deprecation-of-remote-powershell-in-exchange-online-re-enabling/ba-p/3779692

    OR

    Check if basic authentication is enabled

    Run Command Prompt as administrator. Have a look if basic authentication is enabled. Make use of the command winrm get winrm/config/client/auth. In our example, the basic authentication is false and configured with a GPO (Group Policy Object).

    C:\>winrm get winrm/config/client/auth
    Auth
    Basic = false [Source="GPO"]
    Digest = false [Source="GPO"]
    Kerberos = true
    Negotiate = true
    Certificate = true
    CredSSP = false
    

    Solution for the Hybrid Configuration Wizard error

    You can edit the GPO and exclude the system for basic authentication. This way it will make a remote connection. What you also can do is to change the basic authentication manually with a registry key on the system. Let’s do the second.

    Start Registry Editor as administrator and browse to the following path:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WinRM\Client
    

    Edit AllowBasic value data to 1. Click OK.

    There is no need to restart the system. Verify that the changes are applied by running the command in Command Prompt. It’s showing as Basic = true.

    C:\>winrm get winrm/config/client/auth
    Auth
    Basic = true [Source="GPO"]
    Digest = false [Source="GPO"]
    Kerberos = true
    Negotiate = true
    Certificate = true
    CredSSP = false
    

    Close the Hybrid Configuration Wizard and try again. Go through the steps and HCW will connect to both the organizations. This time it will create a connection to Office 365 and showing the Succeeded text.

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards