Share vnet across subscriptions

DenhamA 26 Reputation points
2021-01-19T10:26:51.867+00:00

Have a really odd issue and Im not sure how it happened

A colleague has created a service plan for a function app in a test subscription but has somehow attached it to the production VNet in a different subscription!!

Has anyone else experienced this? any idea how this happened (we are using ARM templating could this be a possible reason?)

Regards
Adam

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,407 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ryan Hill 27,111 Reputation points Microsoft Employee
    2021-01-20T00:24:49.907+00:00

    Hi @AdamDenham-2244,

    You can attach app services to vnets in other subscriptions. When configuring VNET integration for an app service, you will notice in the portal you have the option to select which subscription the VNET you're integrating the app service with is in.

    58352-y4asglz3gj-medium.png

    Since you stated you used a template, it's possible the VNET resource could be referenced by the subscription GUID, but I'm not completely sure on that aspect.

    Regards,
    Ryan


0 additional answers

Sort by: Most helpful