简体   繁体   中英

How to setup an account of VSTS(corporate) with an account of Azure(personal) to Continuous Deployment

I have an account which is bound to VSTS that is corporative, and an Azure account that is bound to the same email but as a personal account.

  • VSTS Account: jonathan@company.com(Corporative account)
  • Azure Account: jonathan@company.com(Personal account).

I have a Build Definition which generates a package.zip of my Web App. I can't use Release of VSTS to get this package.zip and publish it, because i can't create an Azure Resource Manager with my Azure Subscription, because my Azure account is a Microsoft Personal Account and my VSTS Account is a Microsoft Corporative Account. I tryed to use TenantId but VSTS don`t let me create this Service Endpoint.

Image of VSTS Services Endpoints. VSTS服务端点的图像

Image of VSTS Release. If i can create a Service Endpoint(Azure RM) with the Azure Subscription of my Personal Account, the Subscription will appear in AzureRM Subscription drop down. 在此输入图像描述

Any thoughts?

You should not be using your own identity to create an ARM Endpoint. You should create a service principal in Azure and after that create an ARM Endpoint in VSTS with Service Principal information.

You can read how to do this in my blogpost here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM