question

30147535 avatar image
0 Votes"
30147535 asked stan answered

Transfer subscription to another tenant - Kubernetes service principal

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-serviceazure-migrate
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

stan avatar image
1 Vote"
stan answered

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.