13,465 questions
3
votes
1
answer
25
views
Next.js 15 build fails on Windows during Azure deployment with EPERM symlink error using pnpm and standalone output
I’m trying to deploy a Next.js 15.2.4 application to Azure App Service, and my production build is failing locally on Windows with a symlink permission error.
Environment
OS: Windows 11
Framework: ...
2
votes
1
answer
71
views
CosmosDb ExpressionVisitor (SubtreeEvaluator) fails on Azure, works on local machine [duplicate]
Since a few days, code that has always worked, fails on Azure with an Exception "NotSupportedException: Specified method is not supported.". This Exception occurs when building the query ...
0
votes
1
answer
32
views
Azure DevOps, optional parameter with empty string as default?
Is there a way to have an optional runtime parameter that defaults to an empty string and have it actually display an empty string?
Issue 1: When using an empty string, the parameter becomes required ...
-2
votes
0
answers
44
views
Terraform Helm release fails in Azure Pipeline: “Kubernetes cluster unreachable: the server has asked for the client to provide credentials” [closed]
I have an AKS cluster that is deployed using Terraform.
After the AKS deployment finishes, I run a **post-deployment step** in an **Azure DevOps Release Pipeline** to install **NGINX Ingress** using ...
0
votes
0
answers
28
views
npm test fails in Azure pipeline with Chrome Headless 107.0.5304.87 (Linux x86_64) ERROR
I have an Angular app with below specifications in my Azure pipeline
Angular: ^20.2.3
Node.js: v22.21.1
Karma: ~6.4.3
My tests run successfully in my local but fails in my pipeline with below error:
...
0
votes
0
answers
52
views
sqlcmd ODBC Driver 17 TCP Provider Error 0x2746 (Client unable to establish connection)
I’m running an Azure DevOps pipeline on an Ubuntu agent inside a container (rocker/verse:4.0.4).
The goal is to push data from R to SQL Server after refreshing some datasets. I installed the Microsoft ...
0
votes
2
answers
88
views
Azure Pipelines w/o Condition Stage Skipped Unexpectedly
I've got a stage in a pipeline that keeps getting skipped unexpectedly. I'm missing something here.
I've got a pipeline with three stages.
First Stage (deploy_to_test):
Triggers by a merge into "...
0
votes
0
answers
41
views
Error in Pod Update while building in Azure DevOps Pipeline for React Native
I'm setting up an Azure pipeline for a React Native project, but I'm running into an error during the Pod update step. Does anyone know what changes I might need to make in the Podfile, the YAML ...
Best practices
0
votes
8
replies
105
views
How to use EV Code Signing Certificates in Azure DevOps pipelines?
need to sign .NET assemblies, VSTO add-ins, and a setup installer during CI/CD in Azure DevOps.
I have an EV Code Signing certificate, stored on a hardware token. The private key cannot be exported, ...
Advice
0
votes
1
replies
60
views
How can I truncate the 15 lkh data set which is unfiltered to filter then upload on MySQL
I want that the data will arrange in a proper manner firstly the data have clear and remove duplicate and missing values then I write a my code in pandas to upload and process the same thing again ...
-1
votes
1
answer
47
views
Find Active Pipelines in Azure DevOps Server [closed]
We are in the process of decommissioning our on premises Azure DevOps Server.
To prepare, we have to identify active projects which are using any project under the collection for build or release ...
1
vote
0
answers
116
views
Azure DevOps Pipeline YAML file - How To Access (upstream) Pipeline Resource Completion Time in downstream pipeline?
How to get the completion time of a stage in my upstream pipeline?
I read in the documentation that I can use resources.pipeline.<alias>.xyz, but I don't see any predefined variables that allow ...
-2
votes
1
answer
46
views
Getting unrecognized arguments: --federated-token in creating pipeline in microsoft/MLOpsPython
I am using this repo to create a mlops pipeline in Azure Devops.
When i tried to run the CI pipeline, I am getting the unrecognized Federal Token. I asked chatgpt, it says to update the cli version. I ...
1
vote
3
answers
236
views
How come Azure Developer CLI says my Aspire bicep is invalid when running in pipelines?
I recently created a new Aspire project and I'm deploying it to Azure using the Azure DevOps Pipelines.
My goal is to run the pipelines whenever a trigger occurs, generate the infrastructure, ...
0
votes
1
answer
75
views
Azure Devops YAML pipeline matrix strategy job to call conditional dynamic template
I want to execute different dynamic templates according to a matrix strategy job
The pipeline code below starts 2 jobs as expected, but I cannot call template 1 from Job1 and template 2 from Job2
...
1
vote
1
answer
67
views
Update CopyFiles task in Azure DevOps Deployment Agent
I have a server which is registered with an Azure DevOps Pipeline Environment which has come up in a security scan that a few npm packages used by CopyFiles task have vulnerabilities. The version of ...
0
votes
1
answer
56
views
How to reference other folders in Azure Devops pipelines
On Azure Devops I want to run ".ci/build.yml" pipeline which builds images in "python/version/flavor" folders.
For each version there is a dockerfile and a version.yml which ...
0
votes
0
answers
43
views
Azure Pipeline Error - Building .Net MAUI App
I am trying to create an Azure Pipeline to build the APK for .net MAUI project.
Pipeline on run failing with below error.
*
C:\hostedtoolcache\windows\dotnet\sdk\8.0.414\Sdks\Microsoft.NET.Sdk\...
2
votes
1
answer
68
views
Azure DevOps “File Path” PowerShell task fails with “MissingEndCurlyBrace” but script parses and runs fine locally and as inline steps
Environment
Azure DevOps Classic UI
Task: PowerShell@2 (Windows PowerShell, not pwsh)
Agent: Windows (Microsoft-hosted and self-hosted both repro)
PowerShell version: Windows PowerShell 5.1
Script ...
0
votes
0
answers
50
views
Unable to move Test Case work items between projects in ADO “Work item type Test Case cannot be moved because it is disabled, hidden or not supported”
I'm trying to move Test Case work items from one Azure DevOps project to another within the same organization.
However, when I try to move them, I get the following error:
Work item type Test Case ...
0
votes
0
answers
85
views
Tabular Editor 2 on Azure DevOps Pipelines: "Error loading model: The connection string is not valid."
Cross post here (though I think that might not be the right place to post)
I've been trying to build a tabular model ".bim" file from a folder-based tabular model (.pbip) on Azure DevOps ...
0
votes
1
answer
72
views
Az Pipelines. Use variable group for conditional Insert
I have a variable group called SharepointConnect with two variables.
SharepointConnect.Enable: 'true'
SharepointConnect.Mode: 'AzTask'
With this pipeline YML no one of the steps are being inserted ...
0
votes
1
answer
60
views
Access Azure keyvault secret from AZDO pipeline step
I have the following Azure Devops pipeline step to retrieve a secret from a KV
steps:
- task: AzureKeyVault@2
displayName: Fetch Azure Key Vault Secrets
inputs:
azureSubscription: ${{ ...
1
vote
1
answer
68
views
How to pass path with spaces in Azure Pipeline CmdLine@2 task
I have this task which tries to use the Azure Pipelines CmdLine@2 task to run the Inno installer from a command line script
- task: CmdLine@2
displayName: 'Running Inno Installer for GSB'
inputs:
...
1
vote
0
answers
87
views
SQL Server connection authentication in Azure DevOps pipeline for .NET seeding data .sln
I have a .NET application that seeds data to an Azure SQL database after deployment via Azure DevOps pipelines.
I'm struggling with authentication when using a connection string in Azure DevOps ...
1
vote
2
answers
85
views
PowerShell/ADO Pipeline: SSH Fails with key file in .ssh folder (space in path), fingerprint not accepted
I'm working on an Azure DevOps pipeline Classic UI that deploys a software package to multiple Windows devices registered in Deployment Groups.
The flow:
Copying SSH Keys:
We copy a private key file ...
0
votes
0
answers
51
views
Azure Pipelines deployment is leaving one sub folder in wwwRoot folder
I am using Azure Pipelines to deploy an ASP.NET Core application. In the release pipeline, I’ve configured the deployment settings appropriately. Below is the screen shot:
Once the release is ...
0
votes
0
answers
79
views
errorCode:3608, getting this error while trying to run my python Rest api script to push a CSV file to Microsoft Purview
af_fdp_to purview upload
Troubleshoot activity failures
I { "errorCode": "3608", "message": "Call to provided Azure function
'af_fdp_to_purview_upload' failed with ...
0
votes
1
answer
98
views
Can an installation job and a test job be in different stages in an Azure Devops Pipeline?
Is it possible to ensure that the build preparation is also passed into all subsequent stages and jobs (node environment path + node_modules), without manually running it at the start of each job?
...
0
votes
0
answers
114
views
Azure Devops - Unable to connect with Connect-MgGraph
I have a pipeline with a task powershell to use easypim cmdlet to create a pim policy on new azure group:
- task: PowerShell@2
displayName: 'Configura PIM per GRUPPO ENTRA ID'
inputs:
...
0
votes
1
answer
146
views
How to target both `.net8.0-windows` and `.net8.0` in Azure DevOps Pipeline for NuGet Package Creation
We have a Visual Studio solution which has multiple class library projects. Historically these class libraries were built only to .NET 8.0. Some of the library projects have Windows-specific features, ...
1
vote
1
answer
48
views
Is it possible to pass the result of the counter() function to the YAML template?
I have a major and minor version of my application (e.g. 1.1, 1.2 etc.) specified in a template variable .yml file (variables/pipeline.yml):
variables:
version: 1.1
I want to use the counter() ...
0
votes
1
answer
56
views
TypeError: Cannot read properties of undefined (reading 'retrieveSecret')
I'm implementing an Azure custom task. When invoking this call inside a pipeline run in Azure:
const token = getSystemAccessToken();
Which is defined like this:
const { getSystemAccessToken } = ...
0
votes
1
answer
64
views
Azure DevOps Variables from Pipeline/Variable Groups Only Work in Inline PowerShell Scripts, Not in Script Files MyScript.ps1
Description/Question:
I have an Azure DevOps Classic Release pipeline where I need to use variables from either pipeline variables or variable groups in my PowerShell scripts.
Expected Behavior:
...
0
votes
1
answer
91
views
How can I build and publish a SPA web application in Azure Devops?
We have built a React SPA web application with an ASP.NET Core Web API. The SPA and the backend are both in the same solution. So far this hasn't caused any issues running locally. When I created the ...
0
votes
0
answers
50
views
How to split Vite+React frontend and Azure Static Web App API backend when sharing code between them?
This question is related to React + backend - project structure when sharing code, but is aimed at Javascript (not TypeScript) and deployement onto a Azure Static Web App resource
I want to get my ...
0
votes
0
answers
22
views
Reporting test automation results with scenarios name in azure
I'm running cypress tests in Azure pipeline. I'm getting the email notification as below
Test results email
Is there a way to include test case/scenarios failed/passed?
I tried adding email report ...
0
votes
2
answers
211
views
DefaultAzureCredential can't find authentication data with service connection
I got an Azure custom task which is supposed to use a service connection of type AzureRM, with Workload Identity federation to connect to a key vault.
There is an input defined like this:
{
"...
0
votes
0
answers
161
views
Azure App Service Deployment Pipeline Failing "Starting the site..."
I'm deploy to an app service in an Azure pipeline using this step:
- bash: az webapp deploy --resource-group ${{ parameters.compute_service_resource_group_name }} --name ${{ parameters....
0
votes
1
answer
141
views
Xcode build fails with return code 65 during Azure DevOps pipeline archive step (Swift project with submodules)
I’m trying to build and archive an iOS project in an Azure DevOps pipeline, but the build keeps failing with return code 65 when running the Xcode@5 task.
The project structure:
Root repo contains CI/...
0
votes
0
answers
65
views
How to configure the Maven multi module build to get a CodeCoverage report in Azure with jacoco
I have a Maven Multi-Module Build. This works fine in the Azure Build Pipeline. Now I try to add CodeCoverage Report. For that I added this to my azure-pipelines.yml
- task: PublishCodeCoverageResults@...
0
votes
1
answer
70
views
Using TFS DevOps Pipelines, how to lock a resource for build agents so it is not used by more than one pipeline at any given time
We frequently get build failures because multiple build agents are using the same resource at the same time (in our case it's a specific database tool, but it could be anything really).
TeamCity has a ...
0
votes
1
answer
43
views
Azure Pipelines Dynamic Parameter Generation Based on REST API Call
I am attempting to use Azure Pipelines to deploy multiple copies of the same code base with variations in the configuration for each instance. Each one is to be deployed to a separate domain ...
0
votes
1
answer
90
views
AzureDevOps pipeline Docker v2.240.2 not allowing me to push
I have an Azure Pipeline where I build a docker image and then push it, however the push task keeps giving me an error:
At first I thought it was due to the tags or parameters, but my build stage ...
0
votes
0
answers
43
views
azure devops manual intervention
my current azure dvops setup running Version Azure DevOps Server 2020 Update 1.2 we depend on manual approval in most of pipeline like the below task, below is the yaml we currently use
task: ...
0
votes
1
answer
63
views
How to use an artifact from another project in the organization?
In Azure DevOps, I have my organisation and different projects. In one project PRG (fake name as an example), I created a feed where I push all the NuGet packages for internal use. In Visual Studio, I ...
0
votes
1
answer
43
views
Using a service connection in Azure Custom Task
I'm creating an Azure custom task and I want to use a service connection to authorize against Azure resources. Is it possible to use a service connection in the code if I know its name in advanced, ...
0
votes
1
answer
107
views
Common ways to store secrets to be used in Azure Custom task
I need to use secrets in Azure custom task which is implemented with TypeScript.
The custom task is being used by users in pipelines across several Azure projects. The secrets I want to used are ...
0
votes
0
answers
176
views
Error Endpoint auth data not present when using a service connection inside an Azure Custom Task
I have an Azure Custom task in which I want to read secrets from a key vault. In order to authenticate against the KV, I have added a service connection in the pipeline's project. I know that name of ...
1
vote
1
answer
1k
views
Cannot install NuGetProvider trough Install-PackageProvider [closed]
does anyone encounter a similar issue when getting the NuGetProvider trough Install-PackageProvider? I'm running this command on a azure pipeline:
Install-PackageProvider -Name NuGet -Force -Verbose
...