Azure / Azure/azure-powershell

Az.DnsResolver with peered vnets in a separate tenant

Open
#20,158 4 comments 0 reactions 0 assignees View on GitHub
act-quality-productivity-squad customer-reported Network - DNS question Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Discussed in https://github.com/Azure/azure-powershell/discussions/20098

Originally posted by **AnikaAaron** November 13, 2022
I was checking out the Az.DnsResolver PowerShell command "New-AzDnsForwardingRulesetVirtualNetworkLink" (and in the portal) and was noticing that I'm unable to create a virtual network link to a peered vnet that is a separate tenant. The peering has been up, and P2S vpn traffic flows. Created the rule set, but the subscriptions only show in the portal for a singular tenant. When attempting to pass the vnet resource ID (like when creating the initial cross tenant vnet peering) the PowerShell command fails with a permission issue "however the current tenant
'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX' is not authorized to access linked subscription".
Is cross tenant dns not available at this time?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.