While configuring O365 Tenant, getting an error Request to exchange web services has returned an error. ErrorinvalidExchangeImpersonationHederData(343)
Error captured in Sgmon:
MANAGEMENT: [08/22/23 03:20:52] [0059] 08/22 03:20:52.412[SCFConnector] ERROR:DoWorkloadConfiguration: DoWorkloadConfiguration failed with error code: 67113864. Internal error message
MANAGEMENT: [08/22/23 03:20:52] [0059] 08/22 03:20:52.412[SCFConnector] ERROR:ExecuteSCFWorkloadConfigurationQuery : Workload Configuration failed; Err : 67113864
MANAGEMENT: [08/22/23 03:20:52] [0059] 08/22 03:20:52.412[SCFConnector] GetPluginError : Called...
MANAGEMENT: [08/22/23 03:20:52] [0059] 08/22 03:20:52.412[SCFConnector] GetAndClearErrorInfo
MANAGEMENT: [08/22/23 03:20:52] [0059] 08/22 03:20:52.412[SCFConnector] GetAndClearErrorInfo: GetAndClear ErrorInfo successful
1. Check if the default authentication policy is blocking the connection.
2. Connect to Exchange Online through PowerShell and run the following command to verify:
PS C:\Users> Get-OrganizationConfig | Select DefaultAuthenticationPolicy
The following example output shows that there is no authentication policy configured:
DefaultAuthenticationPolicy
------------------------------------
Set up a new policy to allow the connection by running the following command through PowerShell:
Set-OrganizationConfig -DefaultAuthenticationPolicy $null