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: [email protected](Corporative account)
- Azure Account: [email protected](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.
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.