Hello Ben Magriso
Greetings!
- To set up VNET peering between two different Azure tenants using Terraform, ensure the service principal has the required permissions in both tenants and that your Terraform configuration is correct.
- The error message indicates that the service principal lacks authorization to access the linked subscription in the other tenant.
- In both tenants, the service principal should have at least the Network Contributor role.
- Please verify that the subscription IDs and tenant IDs are correct in your provider configurations and ensure that the service principal has access to the appropriate subscriptions.
Check the below reference docs:
Virtual network peering - different subscriptions and Microsoft Entra tenants.
Hope the above answer helps!
Please let us know do you have any further queries.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.