{"id":20982,"date":"2018-02-20T16:05:33","date_gmt":"2018-02-20T16:05:33","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=20982"},"modified":"2018-02-20T16:18:05","modified_gmt":"2018-02-20T16:18:05","slug":"azure-to-azure-site-recovery-fails-connection-cannot-be-established","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=20982","title":{"rendered":"Azure-to-Azure Site Recovery Fails &ndash; Connection Cannot Be Established"},"content":{"rendered":"<p>In this post, I\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another:<\/p>\n<blockquote><p>Error 151072: Connection cannot be established to Azure Site Recovery service endpoints.<\/p><\/blockquote>\n<p>And:<\/p>\n<blockquote><p>Error 539: The requested action couldn&#8217;t be performed by the &#8216;A2A&#8217; Replication Provider.<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"margin-right: auto; margin-left: auto; float: none; display: block;\" src=\"https:\/\/pbs.twimg.com\/media\/DWddG5eWsAAjSCA.jpg\" width=\"450\" height=\"547\" \/><\/p>\n<h2>The Cause<\/h2>\n<p>A2ASR (the abbreviation of the ASR service for Azure VMs) uses an extension (guest OS agent) called the Mobility Service to migrate disk contents from a source virtual machine to a target (secondary) region (or DR site). The Mobility Service is using the networking of the virtual machine to talk the ASR endpoints in the secondary region. That traffic is therefore going over the NIC and virtual network of the VM, and then to the target region via the Azure backbone.<\/p>\n<p>if you have restricted outbound traffic for your virtual machines, then you might have blocked this traffic:<\/p>\n<ul>\n<li>Third party firewall appliances<\/li>\n<li>Using Network Security Groups (NSGs), as I documented <a href=\"https:\/\/aidanfinn.com\/?p=20896\" target=\"_blank\" rel=\"noopener\">here<\/a><\/li>\n<\/ul>\n<h2>The Fix<\/h2>\n<p>Woops! Don\u2019t worry, you\u2019ve already created exceptions to allow your virtual machine to boot up. You can create more exceptions to allow the virtual machines to talk to the <a href=\"https:\/\/docs.microsoft.com\/azure\/site-recovery\/azure-to-azure-about-networking#outbound-connectivity-for-azure-site-recovery-ip-ranges\" target=\"_blank\" rel=\"noopener\">ASR endpoints<\/a> (see the below screenshot). Let\u2019s imagine that I am replicating from North Europe to West Europe.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2018\/02\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentcolor; margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" title=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2018\/02\/image_thumb.png\" alt=\"image\" width=\"600\" height=\"372\" border=\"0\" \/><\/a><\/p>\n<p>I\u2019ll need at least one set of rules, enabling outbound traffic from my VNet\/NICs in the source region, North Europe, to the two IP addresses of the target region, West Europe.<\/p>\n<p>I will also have to enable inbound traffic from my target region, West Europe, to my destination region, North Europe. Why? Isn\u2019t all my traffic going from North Europe to West Europe? That\u2019s true \u2013 now. But if you failover to West Europe, you will need to reverse replication afterwards, so you might as well get things right now.<\/p>\n<h2>A Script<\/h2>\n<p>It all looks messy at first. It probably isn\u2019t too bad. But if you\u2019d like to deploy a canned script to update NSGs, you can. Microsoft has <a href=\"https:\/\/gallery.technet.microsoft.com\/Azure-Recovery-script-to-0c950702\" target=\"_blank\" rel=\"noopener\">shared a script<\/a> that you can run. You will need a few pieces of information:<\/p>\n<ul>\n<li>NSG name<\/li>\n<li>NSG resource group name<\/li>\n<li>Subscription ID<\/li>\n<li>Source region<\/li>\n<li>Target region<\/li>\n<\/ul>\n<p>Run the script (it will prompt you to log in) from source to target, and then reverse the details, treating the target as the source, and vice versa with the NSG(s) in the DR site.<\/p>\n<h2>Where\u2019s the Service Tags?<\/h2>\n<p>Storage accounts and Azure SQL all have service accounts, but ASR does not. I believe that ASR should have service tags to avoid all of this IP messiness. If you agree, <a href=\"https:\/\/feedback.azure.com\/forums\/217313-networking\/suggestions\/17845558-nsg-rule-for-azure-backup-and-recovery-services\" target=\"_blank\" rel=\"noopener\">vote here<\/a>, or forever stay quiet on the subject.<\/p>\n<h2>Was This Kind of Information Useful?<\/h2>\n<p>If you found this information useful, then imagine what 2 days of training might mean to you. I&#8217;m delivering a 2-day course in Amsterdam on April 19-20, teaching newbies and experienced Azure admins about Azure Infrastructure. There&#8217;ll be lots of in-depth information, covering the foundations, best practices, troubleshooting, and advanced configurations. You can learn more <a href=\"http:\/\/amsterdam.cloudmechanix.com\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p><a href=\"http:\/\/amsterdam.cloudmechanix.com\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-20919\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2018\/01\/AMS-Apr-2018-Cloud-Mechanix.png\" alt=\"\" width=\"600\" height=\"318\" srcset=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2018\/01\/AMS-Apr-2018-Cloud-Mechanix.png 1352w, https:\/\/aidanfinn.com\/wp-content\/uploads\/2018\/01\/AMS-Apr-2018-Cloud-Mechanix-300x159.png 300w, https:\/\/aidanfinn.com\/wp-content\/uploads\/2018\/01\/AMS-Apr-2018-Cloud-Mechanix-768x407.png 768w, https:\/\/aidanfinn.com\/wp-content\/uploads\/2018\/01\/AMS-Apr-2018-Cloud-Mechanix-1024x543.png 1024w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another: Error 151072: Connection cannot be established to Azure Site Recovery service endpoints. And: Error 539: The requested action couldn&#8217;t be performed by the &#8216;A2A&#8217; Replication Provider. The Cause A2ASR &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=20982\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Azure-to-Azure Site Recovery Fails &ndash; Connection Cannot Be Established&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":18385,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[5],"tags":[213,170,61,242,243,253,190,153],"class_list":["post-20982","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","tag-asr","tag-azure","tag-dr","tag-firewall","tag-network-security-groups","tag-nsg","tag-security","tag-virtual-machines"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this post, I\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another: Error 151072: Connection cannot be established to Azure Site Recovery service endpoints. And: Error 539: The requested action couldn&#039;t be performed by the &#039;A2A&#039; Replication Provider. The Cause A2ASR\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"AFinn\"\/>\n\t<meta name=\"google-site-verification\" content=\"TDKjbi2McB2eLIfL6KwPB3aQqv5E-mbcb2QYIcovGaI\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/aidanfinn.com\/?p=20982\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Aidan Finn, IT Pro - A blog covering Azure, Hyper-V, Windows Server, desktop, systems management, deployment, and so on ...\" \/>\n\t\t<meta property=\"og:type\" content=\"activity\" \/>\n\t\t<meta property=\"og:title\" content=\"Azure-to-Azure Site Recovery Fails \u2013 Connection Cannot Be Established | Aidan Finn, IT Pro\" \/>\n\t\t<meta property=\"og:description\" content=\"In this post, I\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another: Error 151072: Connection cannot be established to Azure Site Recovery service endpoints. And: Error 539: The requested action couldn&#039;t be performed by the &#039;A2A&#039; Replication Provider. The Cause A2ASR\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/aidanfinn.com\/?p=20982\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@joe_elway\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Azure-to-Azure Site Recovery Fails \u2013 Connection Cannot Be Established | Aidan Finn, IT Pro\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this post, I\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another: Error 151072: Connection cannot be established to Azure Site Recovery service endpoints. And: Error 539: The requested action couldn&#039;t be performed by the &#039;A2A&#039; Replication Provider. The Cause A2ASR\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@joe_elway\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#article\",\"name\":\"Azure-to-Azure Site Recovery Fails \\u2013 Connection Cannot Be Established | Aidan Finn, IT Pro\",\"headline\":\"Azure-to-Azure Site Recovery Fails &ndash; Connection Cannot Be Established\",\"author\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/aidanfinn.com\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/matt-icons_security-low1.png\",\"width\":470,\"height\":528,\"caption\":\"[Image credit: OpenClipart]\"},\"datePublished\":\"2018-02-20T16:05:33+00:00\",\"dateModified\":\"2018-02-20T16:18:05+00:00\",\"inLanguage\":\"en-GB\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#webpage\"},\"articleSection\":\"Azure, ASR, Azure, DR, Firewall, Network Security Groups, NSG, Security, Virtual Machines\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/aidanfinn.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?cat=5#listItem\",\"name\":\"Azure\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?cat=5#listItem\",\"position\":2,\"name\":\"Azure\",\"item\":\"https:\\\/\\\/aidanfinn.com\\\/?cat=5\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#listItem\",\"name\":\"Azure-to-Azure Site Recovery Fails &ndash; Connection Cannot Be Established\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#listItem\",\"position\":3,\"name\":\"Azure-to-Azure Site Recovery Fails &ndash; Connection Cannot Be Established\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?cat=5#listItem\",\"name\":\"Azure\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#person\",\"name\":\"AFinn\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"AFinn\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1#author\",\"url\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1\",\"name\":\"AFinn\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"AFinn\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#webpage\",\"url\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982\",\"name\":\"Azure-to-Azure Site Recovery Fails \\u2013 Connection Cannot Be Established | Aidan Finn, IT Pro\",\"description\":\"In this post, I\\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another: Error 151072: Connection cannot be established to Azure Site Recovery service endpoints. And: Error 539: The requested action couldn't be performed by the 'A2A' Replication Provider. The Cause A2ASR\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/aidanfinn.com\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/matt-icons_security-low1.png\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982\\\/#mainImage\",\"width\":470,\"height\":528,\"caption\":\"[Image credit: OpenClipart]\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=20982#mainImage\"},\"datePublished\":\"2018-02-20T16:05:33+00:00\",\"dateModified\":\"2018-02-20T16:18:05+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#website\",\"url\":\"https:\\\/\\\/aidanfinn.com\\\/\",\"name\":\"Aidan Finn, IT Pro\",\"description\":\"A blog covering Azure, Hyper-V, Windows Server, desktop, systems management, deployment, and so on ...\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Azure-to-Azure Site Recovery Fails \u2013 Connection Cannot Be Established | Aidan Finn, IT Pro","description":"In this post, I\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another: Error 151072: Connection cannot be established to Azure Site Recovery service endpoints. And: Error 539: The requested action couldn't be performed by the 'A2A' Replication Provider. The Cause A2ASR","canonical_url":"https:\/\/aidanfinn.com\/?p=20982","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"TDKjbi2McB2eLIfL6KwPB3aQqv5E-mbcb2QYIcovGaI","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/aidanfinn.com\/?p=20982#article","name":"Azure-to-Azure Site Recovery Fails \u2013 Connection Cannot Be Established | Aidan Finn, IT Pro","headline":"Azure-to-Azure Site Recovery Fails &ndash; Connection Cannot Be Established","author":{"@id":"https:\/\/aidanfinn.com\/?author=1#author"},"publisher":{"@id":"https:\/\/aidanfinn.com\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/06\/matt-icons_security-low1.png","width":470,"height":528,"caption":"[Image credit: OpenClipart]"},"datePublished":"2018-02-20T16:05:33+00:00","dateModified":"2018-02-20T16:18:05+00:00","inLanguage":"en-GB","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/aidanfinn.com\/?p=20982#webpage"},"isPartOf":{"@id":"https:\/\/aidanfinn.com\/?p=20982#webpage"},"articleSection":"Azure, ASR, Azure, DR, Firewall, Network Security Groups, NSG, Security, Virtual Machines"},{"@type":"BreadcrumbList","@id":"https:\/\/aidanfinn.com\/?p=20982#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/aidanfinn.com#listItem","position":1,"name":"Home","item":"https:\/\/aidanfinn.com","nextItem":{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?cat=5#listItem","name":"Azure"}},{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?cat=5#listItem","position":2,"name":"Azure","item":"https:\/\/aidanfinn.com\/?cat=5","nextItem":{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?p=20982#listItem","name":"Azure-to-Azure Site Recovery Fails &ndash; Connection Cannot Be Established"},"previousItem":{"@type":"ListItem","@id":"https:\/\/aidanfinn.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?p=20982#listItem","position":3,"name":"Azure-to-Azure Site Recovery Fails &ndash; Connection Cannot Be Established","previousItem":{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?cat=5#listItem","name":"Azure"}}]},{"@type":"Person","@id":"https:\/\/aidanfinn.com\/#person","name":"AFinn","image":{"@type":"ImageObject","@id":"https:\/\/aidanfinn.com\/?p=20982#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g","width":96,"height":96,"caption":"AFinn"}},{"@type":"Person","@id":"https:\/\/aidanfinn.com\/?author=1#author","url":"https:\/\/aidanfinn.com\/?author=1","name":"AFinn","image":{"@type":"ImageObject","@id":"https:\/\/aidanfinn.com\/?p=20982#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g","width":96,"height":96,"caption":"AFinn"}},{"@type":"WebPage","@id":"https:\/\/aidanfinn.com\/?p=20982#webpage","url":"https:\/\/aidanfinn.com\/?p=20982","name":"Azure-to-Azure Site Recovery Fails \u2013 Connection Cannot Be Established | Aidan Finn, IT Pro","description":"In this post, I\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another: Error 151072: Connection cannot be established to Azure Site Recovery service endpoints. And: Error 539: The requested action couldn't be performed by the 'A2A' Replication Provider. The Cause A2ASR","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/aidanfinn.com\/#website"},"breadcrumb":{"@id":"https:\/\/aidanfinn.com\/?p=20982#breadcrumblist"},"author":{"@id":"https:\/\/aidanfinn.com\/?author=1#author"},"creator":{"@id":"https:\/\/aidanfinn.com\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/06\/matt-icons_security-low1.png","@id":"https:\/\/aidanfinn.com\/?p=20982\/#mainImage","width":470,"height":528,"caption":"[Image credit: OpenClipart]"},"primaryImageOfPage":{"@id":"https:\/\/aidanfinn.com\/?p=20982#mainImage"},"datePublished":"2018-02-20T16:05:33+00:00","dateModified":"2018-02-20T16:18:05+00:00"},{"@type":"WebSite","@id":"https:\/\/aidanfinn.com\/#website","url":"https:\/\/aidanfinn.com\/","name":"Aidan Finn, IT Pro","description":"A blog covering Azure, Hyper-V, Windows Server, desktop, systems management, deployment, and so on ...","inLanguage":"en-GB","publisher":{"@id":"https:\/\/aidanfinn.com\/#person"}}]},"og:locale":"en_GB","og:site_name":"Aidan Finn, IT Pro - A blog covering Azure, Hyper-V, Windows Server, desktop, systems management, deployment, and so on ...","og:type":"activity","og:title":"Azure-to-Azure Site Recovery Fails \u2013 Connection Cannot Be Established | Aidan Finn, IT Pro","og:description":"In this post, I\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another: Error 151072: Connection cannot be established to Azure Site Recovery service endpoints. And: Error 539: The requested action couldn't be performed by the 'A2A' Replication Provider. The Cause A2ASR","og:url":"https:\/\/aidanfinn.com\/?p=20982","twitter:card":"summary","twitter:site":"@joe_elway","twitter:title":"Azure-to-Azure Site Recovery Fails \u2013 Connection Cannot Be Established | Aidan Finn, IT Pro","twitter:description":"In this post, I\u2019ll explain how to fix the following errors when you attempt to replicate an Azure virtual machine from one Azure Region to another: Error 151072: Connection cannot be established to Azure Site Recovery service endpoints. And: Error 539: The requested action couldn't be performed by the 'A2A' Replication Provider. The Cause A2ASR","twitter:creator":"@joe_elway"},"aioseo_meta_data":{"post_id":"20982","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"activity","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 03:53:23","updated":"2025-06-04 17:19:58","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/aidanfinn.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/aidanfinn.com\/?cat=5\" title=\"Azure\">Azure<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAzure-to-Azure Site Recovery Fails \u2013 Connection Cannot Be Established\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/aidanfinn.com"},{"label":"Azure","link":"https:\/\/aidanfinn.com\/?cat=5"},{"label":"Azure-to-Azure Site Recovery Fails &ndash; Connection Cannot Be Established","link":"https:\/\/aidanfinn.com\/?p=20982"}],"jetpack_featured_media_url":"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/06\/matt-icons_security-low1.png","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/20982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20982"}],"version-history":[{"count":6,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/20982\/revisions"}],"predecessor-version":[{"id":20988,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/20982\/revisions\/20988"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/media\/18385"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}