Transfer subscription to another tenant - Kubernetes service principal

Amine TALEB 1 Reputation point
2021-10-07T13:17:34.077+00:00

Hello,

We are planning to migrate our Azure AD to other tenant (B) while keeping resources on tenant (A) but we have kubernetes service principal related to our subscription. How can i keep the subscription connected with kubernetes resources on tenant A?

Thank you so much

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,976 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 22,101 Reputation points MVP
    2021-10-07T13:37:17.823+00:00

    Hi,
    Migrating subscription from one tenant to another tenant while there are resources in it is generally not good idea. Many resources have too many dependencies that will cause issues with the resources after migration. General way to do this is:

    • Recreate resources in a new subscription under the new tenant
    • Move the data for each resource that needs it from the old subscription and tenant to the new one.

    This is just general guidance and will very much depends on your infrastructure and application architecture.

    Specifically for the example above there is no way to move Service principal from one tenant to another.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.