Can I reuse my Azure DevOps agents with Azure Automation? - azure-devops

My VMs all have Azure DevOps agents installed on them to automate deployments. We have a need to automate runbook tasks on these agents as well, and are investigating Azure Automation as a solution.
However, I would prefer not to have to install two agents on every VM. Is there a way to have Azure Devops and Azure Automate share an agent on a single VM?

I suppose that you could test to create a combination with Azure DevOps and Azure Automation.
And the key to for the integration is creating a service connection from Azure DevOps to Azure Resource Manager.
And you could try to finish your Azure Automation Deployment with Azure Powershell task in a release pipeline.
And you could refer to this blog for more detailed instructions. USING AZURE DEVOPS PIPELINES WITH AZURE AUTOMATION

Related

Creating CI/CD pipelines on Azure Devops for Hybris (CCv2)

I have an Hybris repo on Azure Devops and wanted to deploy on SAP Commerce Cloud(CCv2).'ยจ
I'm new on Azure Devops so not sure how to proceed, how to connect from Azure to CCv2 etc.
I have already created "Staging" and "Prod" spaces on CCv2 and now I want to deploy only on staging.
If someone already created this kind of task before, is it possible to explain me the steps one-by-one.
For example how can I connect from Azure to CCv2? With some commands or security files etc?
Thanks!

How can I export variable groups from Azure Devops

I need to export variable groups from one azure devops to another azure devops project. How can I do this?
The UI of Azure DevOps doesn't provide such a functionality. This blog explains how to do it using Azure CLI and the Azure DevOps extension for Azure CLI. If you're new to the (Azure DevOps extension for) Azure CLI, then please read my blog to learn how set it up.

Dynamics 365 OnPremise + VPN = CI/CD process within AzureDevOps

welcome community.
currently, our customer has Dynamics 365 On-premise infrastructure, additionally more connected applications to CRM. All is available thru VPN.
Case is to implement CI/CD process. i would like to use AzureDevOps Cloud.
Code management solutions = bitbucket.
Of course its not a problem to implement full ci/cd process within OnPremise Dynamics but the question is HOW we manage to bypass VPN?
i have found some tips in MS documentation with Agents and more but i am not sure if this will work.
any suggestion? thank you
If you are using Dynamics 365 On-premise. You will need to configure self-hosted agents on your local machine. See here for detailed steps.
Since D365 is behind a proxy. You will need to configure your self-hosted agent to run behind a web proxy. See detailed steps here.
There is no need to install Azure devops server. You just need to configure your azure pipeline to run on your self-hosted agent created in above steps. So that your azure pipeline can access to the on-premise resources.
When you configure your pipeline(see below for more information about configure pipeline), Choose the Agent pool(Default for below example) where the self-hosted agent resides to run your pipeline on your self-hosted agent.
You need to create azure pipeline for CI/CD process within azure devops.
Below are the examples in detailed steps to configure a classic pipeline in azure devops to implement CI/CD for Dynamics 365.
1, CI/CD for Dynamics 365 CE using Azure DevOps
2, Build Azure DevOps Pipelines for Dynamics 365 CRM/Power Platform
If you are to configure release pipeline for CD process. You probably will need to create deployment groups to deploy to on-premise D365. See here to provision agents to deployment groups.
3, Check D365 forum for more threads about integration D365 with azure devops.
You will much likely encounter some problems while configuring azure pipeline. Please raise new threads about each specific problem your encountered in configuring azure pipeline.

create Azure release pipeline using ansible

Whether ansible can be used to create release and build pipelines in azure is there any existing or custom modules for creating pipelines?
The answer is yes. Ansible can be used in azure devops pipelines.
You can click here to install Ansible extension in your azure devops organization. After it is installed, you can use Ansible task in the pipeline to run playbook.
To get started with azure devops pipeline. You can check out this document.
You can check below detailed tutorial about using ansible in azure devops pipeline.
Automating Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines

Team Foundation Version Control using Azure DevOps Services and Azure DevOps Server

I was wondering if it's possible to have TFVS using Azure DevOps Services or TFVS using Azure DevOps Server. Which one is better and how to connect TFVS using Azure DevOps Server. I have experience in connecting it with Azure DevOps Services but I'm wondering the differences with Azure DevOps Server. Thank you
Yes, it's possible; TFVC is exactly the same between the two. You connect to a TFVC repo in Azure DevOps exactly the same way you'd connect to an on-prem instance.