Oct 17 2022
02:55 AM
- last edited on
Mar 05 2024
02:06 PM
by
TechCommunityAP
Oct 17 2022
02:55 AM
- last edited on
Mar 05 2024
02:06 PM
by
TechCommunityAP
Hi,
hope this question besides here.
Can anyone confirm the steps needed to completely migrate a DevOps Organisation to a new Tenant and Subscription.
The first steps are obvious:
Currently there is a MPN Subscription in use (also for DevOps billing) even with that i don't see problems, as we could change the billing Sub to f.e. a PAYG Sub during Migration.
The main concern is about whats "inside" our projects:
Even if the change to the new AD Tenant and billing Subscription goes smooth
We would need to recreate all ServicePrincipels at the point we would migrate our AppServices and other services in to a subscription within the new tenant?
Even if we migrate out MPN Subscription (via support case) we would need to create all needed SP in the new tenant and modify the pipelines which use them.
Are we correct?
Did anyone else a migration like this on?
Appreciate all your feedbacks
Regards,
Ben
Oct 25 2022 01:30 AM
Hello @Benjamin Graus ,
All the migrations I have done in the past involved Support teams. It could be really delicate in terms of user account (in new and old tenant), user/team related queries, dashboard, boards, permissions... and service connections. Support could help you link new user acccounts with old ones, not to loose track of history changes. My guess is you need to recreate every service connection (that is what I remember, did my last one 4 years ago), that cannot be migrated to new AD. I would involve Support 100% in the process.
Jan 09 2023 04:12 AM
SolutionJan 10 2023 05:44 PM
Jan 10 2023 11:26 PM - edited Jan 10 2023 11:27 PM
Hi David,
I don't think that would have changed our approach.
If you do a tenant-to-tenant migration and DevOps also uses Azure resources (WebApp, StorageAccount, KeyVault, ecc) you still have to do the same steps.
If it helps you, these were roughly our steps (keep in mind that in this case we also did an Office 365 migration)
- Prepare the users in the new tenant
- Change the AAD connection for DevOps (https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/change-azure-ad-connection?vie...)
- UserMapping after migration in DevOps
- Document all RBAC, Roles, ecc. as described here: https://learn.microsoft.com/en-us/azure/role-based-access-control/transfer-subscription
- Migration of the subscription to the new tenant
- Restore RBAC, KeyVault, StorageAccount accesses in the new tenant
- Re-create all ServicePrincipals in DevOps and adjust the pipelines
Regards,
Ben
Oct 19 2023 02:19 AM
Apr 12 2024 10:05 AM
@Benjamin Graus Thanks for sharing. I'm still not sure about one thing. If you don't migrate Azure subscription to other tenant, would you still need to recreate Service Connections? Let's say my setup is:
- Azure Tenant 1
-- Azure Subscription 1
-- Azure DevOps 1
--- Service Connection to Azure Subscription 1
--- Service Connection to Azure Subscription 2
- Azure Tenant 2
-- Azure Subscription 2
- Azure Tenant 3
I'd like to migrate Azure DevOps 1 to use Entra ID of Azure Tenant 3. Will my two Service Connections continue working?
Apr 14 2024 11:14 PM
Hi @AlexKuk ,
I'm not sure about this. But I think that the ServiceConnections are still in place - even if you change the EntraID Tenant for the DevOps Org. As they are setup on "another" level.
Maybe set you up a quick test DevOps Org and try it before you move the prod Org.
Regards
Jan 09 2023 04:12 AM
Solution