Forum Discussion

random0000's avatar
random0000
Copper Contributor
Sep 10, 2020

Proper setup for multiple enivronments

Need some architectural guidance here...

 

I want to create three separate environments - dev, qa and prod.  I've created three resource groups into each I have a B2C tenant, 2 app services (with Identity turned on), a SQL server, a SQL database and a storage account.  Security is through managed identities.  i.e. only the API app service identity can access the SQL database and storage accounts.

 

Everything seems to work except for the B2C tenants.  It seems like they are entirely separate Active Directory instances and cannot 'see' the app service managed identities (I want to add the API app service identity to a group in the B2C tenant).  All B2C tenants are tied to the same single subscription.

 

I figure I could create three separate subscriptions and have everything completely separate but that seems like a bigger headache to manage.  Is this the only way to get this to work?

 

Thank you for any suggestions!

1 Reply

Resources