Okay, sign in to Azure portal with subscription A as current (if you aren't already), open a new tab, and browse to below page:
https://learn.microsoft.com/en-us/rest/api/resources/subscriptions/check-zone-peers?tabs=HTTP#code-try-0
It should open with split windows. On right side it should prompt you for your account, and then Directory. After several seconds it should show you boxes with parameters. In the Body box, paste in content similar to below:
{
"location": "westus",
"subscriptionIds": [
"subscriptions/11111111-1111-1111-1111-111111111111"
]
}
In place of westus substitute Azure region code you want to check, and in place of 11111111-1111-1111-1111-111111111111 substitute the subscription id for your subscription B. Once you have that scroll down a bit and click blue Run button. It only takes a second and you should see Response code 200 with Headers and Body appear below. The Body box will contain the Logical Availability Zone mapping for your two subscriptions.
For example, in sample output below, Subscription A would be 00000000-0000-0000-0000-00000000000000 while Subscription B would be 11111111-1111-1111-1111-111111111111. Based on sample output we know that for region westus:
- Subscription A Zone 1 = Subscription B Zone 3
- Subscription A Zone 2 = Subscription B Zone 2
- Subscription A Zone 3 = Subscription B Zone 1
{
"subscriptionId": "00000000-0000-0000-0000-00000000000000",
"location": westus,
"availabilityZonePeers": [
{
"availabilityZone": "1",
"peers": [
{
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"availabilityZone": "3"
}
]
},
{
"availabilityZone": "2",
"peers": [
{
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"availabilityZone": "2"
}
]
},
{
"availabilityZone": "3",
"peers": [
{
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"availabilityZone": "1"
}
]
}
]
}
Please let me know if you have any questions.
Thanks.