Azure Migrate proxy Issues

Luke McAlpine 6 Reputation points
2022-11-16T00:25:11.48+00:00

Hi There

We have an Azure Migrate Replication appliance deployed. We have a agent on a server and they communicate fine.
When we go into the portal and setup Replication it never progresses. We have allowed all of the required URLs through our proxy. We have specified the proxy details in the replication appliance proxy.
We have specified the proxy details on the system account in IE using PSexec ( Run psexec -i -s "c:\Program Files\Internet Explorer\iexplore.exe" from an elevated command prompt)

When I view the tracedra logs we are getting failures to what appears to be https://pod01-d1.acl.backup.windowsazure.com/IdMgmtService.

We can’t see these requests hitting our proxy, it’s as if the migrate appliance is ignoring the proxy settings for this endpoint and trying to go direct.

We can see plenty of other required traffic passing through the proxy so we don’t it’s a proxy configuration issue.

When we browse to that url manually the service loads.

Are there any other places we need to specify the proxy configuration?

0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessA
dDebuggerNotification(Task task)
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING at Microsoft.Identity.Client.Http.HttpManager.<ExecuteAsync>d__1
.MoveNext()
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING --- End of stack trace from previous location where exception was t
rown ---
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucces
(Task task)
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessA
dDebuggerNotification(Task task)
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING at Microsoft.Identity.Client.Http.HttpManager.<ExecuteWithRetryA
ync>d__12.MoveNext()
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING StatusCode: 0
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING ResponseBody:
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING Headers: <---
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(985) WARNING }
0864 1954 11/16 00:11:25.479 79 WcfClient.cs(933) WARNING FMBlock: FM exception caught | Params: {OperationCode = WcfProxyCal
}{OperationStartTime = 11/16/2022 12:04:43 AM}{FMExceptionDetail = FMException: [ErrorCode:CloudInternalError, DetailedCode:0, Source:None, Message:]
0864 1954 11/16 00:11:25.479 79 WcfClient.cs(933) WARNING {CertificateThumbprint = 771E3F0CBD4117D54FB3A7B4740A643BB29B8456}{
achineName = cloud_8e850e5f-d5f5-4989-99bd-4852ebf07207}{ResourceId = 2491032019202669488}{IdentityType = ContainerIdentity}{InitialTargetEndpoint = https://pod01-id1.acl.
ackup.windowsazure.com/IdMgmtService.svc}{Name = BasicHttpBinding_IIdentityManagement}{WorkitemId = aa6249be-4542-4708-bf53-97b23fe59cc2}{CurrentTargetEndpoint = https://p
d01-id1.acl.backup.windowsazure.com/IdMgmtService.svc}
0864 1954 11/16 00:11:25.479 79 WcfClient.cs(933) WARNING }
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(933) WARNING FMBlock: FM exception caught | Params: {OperationCode = WcfProxyCal
}{OperationStartTime = 11/16/2022 12:04:43 AM}{FMExceptionDetail = FMException: [ErrorCode:CloudInternalError, DetailedCode:0, Source:None, Message:]
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(933) WARNING {CertificateThumbprint = 771E3F0CBD4117D54FB3A7B4740A643BB29B8456}{
achineName = cloud_8e850e5f-d5f5-4989-99bd-4852ebf07207}{ResourceId = 2491032019202669488}{IdentityType = ContainerIdentity}{InitialTargetEndpoint = https://pod01-id1.acl.
ackup.windowsazure.com/IdMgmtService.svc}{Name = BasicHttpBinding_IIdentityManagement}{WorkitemId = 63ed0c17-188d-47f4-98e7-d35e6f0c0091}{CurrentTargetEndpoint = https://p
d01-id1.acl.backup.windowsazure.com/IdMgmtService.svc}
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(933) WARNING }
0864 1954 11/16 00:11:25.479 79 WcfClient.cs(694) WARNING FMBlock: FM exception caught | Params: {OperationCode = WcfProxyAsy
cCall}{OperationStartTime = 11/16/2022 12:04:43 AM}{FMExceptionDetail = FMException: [ErrorCode:CloudInternalError, DetailedCode:0, Source:None, Message:]
0864 1954 11/16 00:11:25.479 79 WcfClient.cs(694) WARNING {CertificateThumbprint = 771E3F0CBD4117D54FB3A7B4740A643BB29B8456}{
achineName = cloud_8e850e5f-d5f5-4989-99bd-4852ebf07207}{ResourceId = 2491032019202669488}{IdentityType = ContainerIdentity}{InitialTargetEndpoint = https://pod01-id1.acl.
ackup.windowsazure.com/IdMgmtService.svc}{Name = BasicHttpBinding_IIdentityManagement}{WorkitemId = aa6249be-4542-4708-bf53-97b23fe59cc2}{CurrentTargetEndpoint = https://p
d01-id1.acl.backup.windowsazure.com/IdMgmtService.svc}
0864 1954 11/16 00:11:25.479 79 WcfClient.cs(694) WARNING }
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(694) WARNING FMBlock: FM exception caught | Params: {OperationCode = WcfProxyAsy
cCall}{OperationStartTime = 11/16/2022 12:04:43 AM}{FMExceptionDetail = FMException: [ErrorCode:CloudInternalError, DetailedCode:0, Source:None, Message:]
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(694) WARNING {CertificateThumbprint = 771E3F0CBD4117D54FB3A7B4740A643BB29B8456}{
achineName = cloud_8e850e5f-d5f5-4989-99bd-4852ebf07207}{ResourceId = 2491032019202669488}{IdentityType = ContainerIdentity}{InitialTargetEndpoint = https://pod01-id1.acl.
ackup.windowsazure.com/IdMgmtService.svc}{Name = BasicHttpBinding_IIdentityManagement}{WorkitemId = 63ed0c17-188d-47f4-98e7-d35e6f0c0091}{CurrentTargetEndpoint = https://p
d01-id1.acl.backup.windowsazure.com/IdMgmtService.svc}
0864 14A4 11/16 00:11:25.479 79 WcfClient.cs(694) WARNING }
0864 1954 11/16 00:11:25.479 69 ContainerIdentity.cs(161) WARNING FMBlock: FM exception caught | Params: {OperationCode = Get
erviceProperty}{OperationStartTime = 11/16/2022 12:04:43 AM}{FMExceptionDetail = FMException: [ErrorCode:CloudInternalError, DetailedCode:0, Source:None, Message:]
0864 1954 11/16 00:11:25.479 69 ContainerIdentity.cs(161) WARNING {CertificateThumbprint = 771E3F0CBD4117D54FB3A7B4740A643BB2
B8456}{MachineName = cloud_8e850e5f-d5f5-4989-99bd-4852ebf07207}{ResourceId = 2491032019202669488}{IdentityType = ContainerIdentity}{InitialTargetEndpoint = https://pod01-
d1.acl.backup.windowsazure.com/IdMgmtService.svc}{Name = BasicHttpBinding_IIdentityManagement}{WorkitemId = aa6249be-4542-4708-bf53-97b23fe59cc2}{CurrentTargetEndpoint = h
tps://pod01-id1.acl.backup.windowsazure.com/IdMgmtService.svc}
0864 1954 11/16 00:11:25.479 69 ContainerIdentity.cs(161) WARNING }
0864 14A4 11/16 00:11:25.479 69 ContainerIdentity.cs(161) WARNING FMBlock: FM exception caught | Params: {OperationCode = Get
erviceProperty}{OperationStartTime = 11/16/2022 12:04:43 AM}{FMExceptionDetail = FMException: [ErrorCode:CloudInternalError, DetailedCode:0, Source:None, Message:]
0864 14A4 11/16 00:11:25.479 69 ContainerIdentity.cs(161) WARNING {CertificateThumbprint = 771E3F0CBD4117D54FB3A7B4740A643BB2
B8456}{MachineName = cloud_8e850e5f-d5f5-4989-99bd-4852ebf07207}{ResourceId = 2491032019202669488}{IdentityType = ContainerIdentity}{InitialTargetEndpoint = https://pod01-
d1.acl.backup.windowsazure.com/IdMgmtService.svc}{Name = BasicHttpBinding_IIdentityManagement}{WorkitemId = 63ed0c17-188d-47f4-98e7-d35e6f0c0091}{CurrentTargetEndpoint = h
tps://pod01-id1.acl.backup.windowsazure.com/IdMgmtService.svc}
0864 14A4 11/16 00:11:25.479 69 ContainerIdentity.cs(161) WARNING }
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING Exception occurred in uploading telemetry data, ignoring. | Params:
{Exception = FMException: [ErrorCode:CloudInternalError, DetailedCode:0, Source:None, Message:]
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING {CertificateThumbprint = 771E3F0CBD4117D54FB3A7B4740A643BB29B8456}{
achineName = cloud_8e850e5f-d5f5-4989-99bd-4852ebf07207}{ResourceId = 2491032019202669488}{IdentityType = ContainerIdentity}{InitialTargetEndpoint = https://pod01-id1.acl.
ackup.windowsazure.com/IdMgmtService.svc}{Name = BasicHttpBinding_IIdentityManagement}{WorkitemId = aa6249be-4542-4708-bf53-97b23fe59cc2}{CurrentTargetEndpoint = https://p
d01-id1.acl.backup.windowsazure.com/IdMgmtService.svc}
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING Stack trace: at Microsoft.Internal.CloudBackup.Client.Proxy.Helpe
.AccessConfigurationHelper.GetAADTokenInternal(CertificateIdentity identity, String SecondaryThumbPrint)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.AccessConf
gurationHelper.FetchAADToken(Boolean forceRequestToken, UInt64 expectedOperationTime, String secondaryThumbprint, CertificateIdentity identity, FMNameValueCollection2 fmA gs) 0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.ContainerI entity.<>c__DisplayClass10_0.<GetAuthorizationHeader>b__0() 0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.Common.FailureModeling.FMComponent3._FMBl
ck(String fileName, Int32 lineNumber, FMBlockArgs args, Action fmPrecheckBlock, Action fmUserBlock)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.ContainerI
entity.GetAuthorizationHeader(Boolean forceRequestToken, UInt64 expectedOperationTime, Boolean isAADTokenRequired, String machineName)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.CBEngineWc
ClientHelper.GetAuthorizationToken(UInt64 operationTime, Boolean needACSTokenForUrlParsing)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.CBEngineWc
ClientHelper.SetHeaders(Guid workitemId, UInt64 operationEta)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.CBEngineWc
ClientHelper.SetHeaders(Guid workitemId)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Common.WcfClient.WcfClient1.< c__DisplayClass72_0.<CallWcfServiceWrapper>b__0() 0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.Common.FailureModeling.FMComponent3._FMBl
ck(String fileName, Int32 lineNumber, FMBlockArgs args, Action fmPrecheckBlock, Action fmUserBlock)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Common.WcfClient.WcfClient1.C llWcfServiceWrapper(Guid workitemId, Action internalServiceCall, String webServiceDescription) 0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Common.WcfClient.WcfClient1.<
c__DisplayClass68_0.<CallWcfService>b__0()
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.Common.FailureModeling.FMComponent3._FMBl ck(String fileName, Int32 lineNumber, FMBlockArgs args, Action fmPrecheckBlock, Action fmUserBlock) 0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Common.WcfClient.WcfClient1.C
llWcfService(Action webServiceCall, String webServiceDescription)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.ContainerI
entity.<>c__DisplayClass11_0.<GetServiceEndpointFromIdmgmt>b__0()
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.Common.FailureModeling.FMComponent`3._FMBl
ck(String fileName, Int32 lineNumber, FMBlockArgs args, Action fmPrecheckBlock, Action fmUserBlock)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.ContainerI
entity.GetServiceEndpointFromIdmgmt(ServiceProperty serviceType)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.MTContaine
Identity.get_ProtectionServiceSVCEndpoint()
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.MTContaine
Identity.GetStampUri(ServiceType serviceType)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.CBEngineWc
ClientHelper.GetStampUri(ServiceType serviceType, Boolean localOnly)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.CBEngineWc
ClientHelper.get_ProtectionStampUri()
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.Helper.CBEngineWc
ClientHelper.get_TargetEndpoint()
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at Microsoft.Internal.CloudBackup.Client.Proxy.PREP.PrepProxy.te
emetryBackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventAr
s e)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Obje
t argument)
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING --->FMException: [ErrorCode:CloudTrUnknownExceptionError, DetailedC
de:0, Source:None, Message:]
0864 1954 11/16 00:11:25.479 69 CallerFileName(0) WARNING --->System.AggregateException: One or more errors occurred. ---> Mi
rosoft.Identity.Client.MsalServiceException: Request to the endpoint timed out. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
925 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 49,326 Reputation points Microsoft Employee Moderator
    2022-11-18T13:45:49.573+00:00

    Hi @Luke McAlpine Thank you for contacting us through Microsoft Q&A community platform. I apologize for the delayed response!

    I understand that you deployed Azure Migrate Replication appliance, and the replication is not progressing. Could you please ensure the proxy is configured as per guidance in the links below.

    For Physical Server migration

    For VMware to Azure migration

    If everything looks good as documented and if still replication isn't working, then I would suggest you start from scratch.

    You just need to remove appliance components from Program/Features of the server.
    By appliance components, I mean -
    DRA provider
    Discovery agent
    Assessment agent
    SQL discovery and assessment agent
    Web app discovery and assessment agent.
    Gateway agent

    Please note, above steps will remove Azure Migrate appliance components from windows server, but it won't remove the appliance from the project.

    Hope this helps!

    ---------------------------------------------------------------------------------------------------------------------- If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.