I have a Terraform plan that needs to provision resources in different Azure Subscriptions that use different AzureAD instances.
Is it possible to create a single Service Principal for Terraform to use across Subscriptions? The SP shadow copied to the all AD instances? And then assign that one SP RBAC on each subscription... If possible, what are the cli commands to create the SP and copy it to each AD?
Maybe I'm mistaken but I think that's the purpose of the AvailableToOtherTenants
parameter???
https://docs.microsoft.com/en-us/powershell/module/az.resources/new-azadapplication?view=azps-4.3.0#parameters