How to move resources from subscriptions in different directories in Azure
In my azure account I have 2 directories, lets call them directory A and B. With some recent changes I need to switch a app service from a subscription in directory A to a subscription that is on directory B. Is this possible to achieve, and if it is how? EDIT 1 As directory I mean the directory that you can see in the image below: EDIT 2 Since It seems that I have mislead people I will try to explain what i want to achieve with images. I want to move the App Service from the App Service Plan in the directory A as you can see in here: to the App Service Plan in the directory B that you can see in here:
It looks like you want to move resources between subscriptions. It is possible to do this but there are a few restictions and rules around what you can do. You can definitely move an App Service between subscriptions. However, in your case, as the subscriptions in question exist in different AD tenants, you will need to change the tenant of one of the subscriptions. You can only do this if you are a Service Administrator and signed in using a Microsoft i.e non organizational account. Check this reference document from Microsoft, it explains in detail how the transfer process works.
I think we might need some additional information, since it seems that the terms we're using are sometimes equivocal. Microsoft Azure subscriptions are not associated to Azure Active Directories, but to an Service Account. You can add how many Azure ADs you want to an Azure subscription, but the Azure subscription itself will be managed by the service account (which is not necessarily member of a certain Azure AD). Further, only the service administrator can manage Azure resources, like VMs, App Services and so on. Azure AD admins can only manage identity aspects that define identity life cycles within that specific Azure AD. The service admin could add a co-admin a user from the default Azure AD and that user would then also be able to manage Azure resources, like App Services and so on. So the Azure App Service is tied to a Azure subscription that is managed by a service account, not by the Azure AD. Please check the official documentation on this topic. Also please clarify exactly what you would like to do.
Does the Azure WebJobs SDK support pushing TextWriter logs into App Insights?
Client ID and Secret Secret for Translate API
Azure - Specifying Load Balancer Rules in ARM Template
Virtual network gateway edit failed
How can I make my Azure logic app portable
eLogic Learning LMS - Configuring the Multi-Language feature with Azure Cognitive Services
Azcopy psts getting error 404 attempting to upload
Migrating Webserver to Azure
Error Azure Cloud Service deployment from a different computer
How to see Azure App Service memory usage?
Azure update SSL certificate on application gateway
azure-webjobs-sdk-extensions vs triggered Webjob
PaaS API Warm-up call script
What happens behind the scenes when you move a web app from one app service Plan to another
Azure on-premises local AD
How to upload data to Jupyter Notebook from blob storage in Azure?