Questions tagged [azure-devops]
65 questions
1
vote
1 answer
azure pipeline getting failed with below Failed to acquire a token Kubernetes Task
One of the stage in my azure pipeline getting failed with below error "Failed to acquire a token: failed acquiring new token: waiting for device code authentication to complete: autorest/adal/devicetoken: Error while retrieving OAuth token: Code…
![](../../users/profiles/68775.webp)
Satyam Pandey
- 111
- 2
1
vote
1 answer
Azure DevOps: Maven is not installed on agent
I have an Azure Pipeline that is meant to install Java 16 and the run Maven package on my repository. The pipeline looks like this:
trigger:
- master
pool:
vmImage: ubuntu-latest
steps:
- task: JavaToolInstaller@0
inputs:
versionSpec:…
![](../../users/profiles/696081.webp)
SimonTheGoat
- 31
- 3
1
vote
2 answers
No admin/elevated privileges in PowerShell on Azure VM
I have set up an Azure VM with Windows 10 Pro for our custom DevOps build Agent. The user that I've created is Administrator and is in the Administrators group too.
However, if I do:
RDP to VM via that user with admin privileges
Run PowerShell (not…
![](../../users/profiles/613595.webp)
krs
- 121
- 1
- 4
1
vote
1 answer
The need for Azure Firewall
I just need some help to figure out if Azure Firewall is actually needed for the below architecture. Just to set some context, we are using a micro-services based architecture deployed in AKS. Apart from that we have already configured Web…
![](../../users/profiles/599050.webp)
Manoj Karthik
- 11
- 1
1
vote
1 answer
"Resource is not in the state changeSetCreateComplete" when deploying to AWS with CloudFormation from Azure DevOps
I'm deploying an application to AWS using the CloudFormation plugin for Azure DevOps.
It works really well, and will automatically update things that need changing, leaving other things alone. I've been working on it for a few days, and it works…
![](../../users/profiles/583480.webp)
mdarwin
- 121
- 7
1
vote
1 answer
How to activate an asp.net core website /api after deplyment with devops releases?
I'm deploying an asp.net core web app to various test servers whenever updated code is pushed. It works well.
I would however like to call an endpoint on the deployed web app after release to verify that all is indeed ok.
I've got the endpoint ready…
![](../../users/profiles/19567.webp)
Anders Juul
- 173
- 1
- 1
- 4
0
votes
1 answer
error reading configuration while deploying to aks
I am using Azure devops for regulation CI/CD in my project , i have a kubernetes cluster running through aks(azure kubernetes service) , i have used azure repo and everything and , every required file(viz. azure-pipeline file and services and…
![](../../users/profiles/544111.webp)
Arjun Sharma
- 13
- 5
0
votes
1 answer
Azure DevOps Bash script Pull request validation
I want to create a small bash script that checks whether a pull request is started from the correct branches, or exits on error if it is not.
This was my final attempt/iteration before I posted this question:
if [[ -n…
![](../../users/profiles/78396.webp)
SynerCoder
- 137
- 6
0
votes
1 answer
Azure VM extention Failed to Delete
Azure VM extension installed on windows server. But its status is unavailable. Unable to uninstall it.
Failed to delete the virtual machine extension
Failed to delete the virtual machine extension 'AzureNetworkWatcherExtension'. Error: error
![](../../users/profiles/497668.webp)
vish
- 156
- 5
0
votes
1 answer
Create a new App Service during deployment on Azure DevOps
How can I create a new instance of App Service using the Azure CI/CD? My goal is to run the test E2E in each branch automatically and enable QA to test. I couldn't find any material about it. I am open to other options using containers etc.
![](../../users/profiles/485929.webp)
Fernando Magno
- 115
- 8
0
votes
1 answer
How to connect BitBucket Server on Azure VM with Azure DevOps?
I have a Azure VM with BitBucket Server Installed. How do I connect this to Azure DevOps for establishing a CI-CD pipeline ?
![](../../users/profiles/75981.webp)
Maximusawesome
- 111
- 3
0
votes
0 answers
Create a service account for REST API in Azure Devops Service
I am looking for a way to create a service account to access the Azure Devops REST API.
The goal would be that this service account would be able to list all the projects.
For now the only solution I found was to create a new user, add it to an…
![](../../users/profiles/980502.webp)
Couz
- 101
- 1
0
votes
0 answers
How to run web server docker container in Azure devops pipeline and HTTP access it?
Please help understand the cause and solution for the issue in Azure Devops pipeline.
Trying to run a docker container which runs a web server inside inside a Azure devops pipeline as a step.
docker pull ${CONTAINER_IMAGE}
CONTAINER_ID=$(docker run…
![](../../users/profiles/356835.webp)
mon
- 225
- 3
- 9
0
votes
0 answers
Azure Devops -- Link files in one organization to work item (task) in a different organization
We have an on-premises Azure Devops Server running Azure Devops 2020.
We would like to link files in one organization (A) to work item (Agile task) in a different organization (B).
For example, I may need to check in a .html file in organization A,…
![](../../users/profiles/261824.webp)
JosephDoggie
- 167
- 2
- 4
- 14
0
votes
0 answers
How to send mail when a node is down in azure devops?
Have task on regarding agent nodes
✓Script will run on certain nodes not all nodes
✓Will get mail when node is down
✓Print node name and ip address
Could anyone please suggest how to achieve this.
![](../../users/profiles/791983.webp)
Sara June
- 389
- 4
- 15