【问题标题】:What happens to Azure Service Principal Ownership/Roles when subscription is transfer转移订阅时 Azure 服务主体所有权/角色会发生什么情况
【发布时间】:2019-07-27 04:17:47
【问题描述】:

我有一个用于我的项目管道 (Azure DevOps) 的 Azure 服务主体。我将通过订阅为 azure 客户端提供环境。

我要将订阅转移给客户(我知道该怎么做)。但我的问题是:

  1. 做 Azure 服务主体;因为它们与订阅相关,所以坚持我的订阅,或者他们是否将范围更改为订阅转移?
  2. 服务主体所有者和/或角色会转移吗? -我问这个是因为我需要维护客户资源。因此,我仍然需要访问他们的环境。

【问题讨论】:

  • 我会咨询 Azure 支持。我相信他们可能能够协助 AD 资源迁移。

标签: azure azure-devops subscription service-principal


【解决方案1】:

如果将订阅转移到新的 Azure AD 租户,则基于角色的访问控制 (RBAC) 中的所有角色分配都会从源租户中永久删除,并且不会迁移到目标租户。

https://docs.microsoft.com/en-us/azure/billing/billing-subscription-transfer

我很确定服务主体无法迁移,因为您正在更改租户

Does everything transfer? Including resource groups, VMs, disks, and other running services?
All your resources like VMs, disks, and websites transfer to the new owner. However, any administrator roles and Role-based Access Control (RBAC) policies you've set up do not transfer across different directories. Also, app registrations and other tenant-specific services don't transfer along.

【讨论】:

  • 因此,一旦订阅转移,他们需要使用我的电子邮件创建服务主体,以便我可以不断更新客户端环境?
  • 服务主体不能用电子邮件,那是用户
  • 是的,只是为了简单起见就这样说。如果我没记错的话,他们需要邀请我加入该组织内的团队,然后授予我使用服务主体的权限/角色。感谢您的回答
猜你喜欢
  • 2019-03-04
  • 1970-01-01
  • 1970-01-01
  • 2019-06-28
  • 2021-11-08
  • 2016-02-10
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多