Reputation: 9736
My client has got an Azure VM in their tenant, with .NET installed and IIS configured.
I am using Azure Devops build/release pipeline on another tenant. Build pipeline generates an artifact (zip file). Now I want to deploy the zip contents into the IIS.
What do I need to do to make my release pipeline be able to deploy the website into the IIS VM which is on another azure tenant?
Upvotes: 2
Views: 1023
Reputation: 35624
Based on your requirement, I suggest that you can create a Deployment Group in Azure VM and then you can use Deployment Group job in Release Pipeline to deploy the zip package to Azure VM IIS.
Here are the steps:
Step1: Create a Deployment Group target in Azure VM. Create a deployment group
Step2: In Release Pipeline, you can use IIS web app manage and IIS web app deploy task to deploy the Zip contents to Azure VM IIS.
For example:
For more detailed steps, you can refer to this doc: Deploy apps to a Windows Virtual Machine
This way will not be limited by tenant.
Upvotes: 2