106 questions
0
votes
1
answer
33
views
When must I pass System.AccessToken to a task in a yaml pipeline
I got an azure custom task. Inside I'm reading the system access token like this:
const token = tl.getVariable("System.AccessToken");
according to the official docs, the only way it can ...
3
votes
1
answer
2k
views
Azure Devops Service Connection Access blocked to AAD Graph API for this application
I am creating an app registration and adding app roles to the app registration via AzurePowershell task via Azure Devops YAML file.
This worked for months and the last time I did a successfull ...
0
votes
2
answers
892
views
dynamically using a Service Connection in an Azure DevOps pipeline based on the calling repository
I have an Azure DevOps pipeline setup with YAML templates shared across multiple repositories. Specifically, I have:
A YAML template file named kv_template.yaml in Repo1 (Project1). This template ...
5
votes
3
answers
3k
views
Unable to renew expired secrets for Azure DevOps service connections
I have some Azure DevOps service connections whose secrets have expired. I am unable to renew them using any approach. There are a few Stack overflow posts and answers, but none of them seem to work ...
1
vote
1
answer
2k
views
Issue with Testcontainers @ServiceConnection in AbstractIntegrationTest When Running Multiple Test Classes
I'm experiencing an issue with my integration tests using Testcontainers and the new @ServiceConnection annotation. I have an abstract class AbstractIntegrationTest which is extended by multiple test ...
0
votes
1
answer
136
views
Multi-stage YAML Pipeline: Requires approval for service connection not used in stage
I have configured approvals on service connections. Documentation states:
A stage can consist of many jobs, and each job can consume several
resources. Before the execution of a stage can begin, all ...
0
votes
1
answer
481
views
How to list my service connection in New Service Connection in Azure DevOps?
This is my contributions in vss-extension.json file, but it is not visible in the Azure Devops Page (I have installed the extension).
The azure devops documentation says that this is enough to show ...
0
votes
1
answer
574
views
How to create service connection Azure DevOps from type AzureRM (automatic) (using service principal- automatic)
I need to create a connection from many projects in Azure DevOps to my subscription in Azure.
I also need him will be from type azure resource manager and that their service principal will be create ...
0
votes
1
answer
378
views
Can't Authenticate to Azure SQL in Python code from DevOps pipeline using workload identity federation service connection
I was having a hard time finding guidance on how to do this so I apologize if I missed a step/config. Trying to query an Azure SQL database in an python application running in DevOps Pipeline
My ...
-1
votes
2
answers
819
views
How to access a service connection from environment variable in azure?
I have defined a service connection of type Generic, called 'DowntimeApiKeyGen' in azure.
The encrypted value of the apikey is saved under 'Password/Token Key'.
How can i access the value of this ...
1
vote
1
answer
2k
views
Using terraform along with service connection based on workload identity federation
I'm trying to run Terraform tasks "plan" and "apply" from Azure Devops pipelines to deploy resources over Azure Devops pipeline with service connection based on workload identity ...
0
votes
0
answers
376
views
Azure Pipeline: Run Azure command in PowerShell script got "Insufficient privileges to complete the operation", even run as the service connection [duplicate]
I tried to run a powershell script as Service Connection. Given that all the parameters are correct, no powershell script syntax error. The Service connection is also the valid one as I normally use ...
3
votes
1
answer
4k
views
Add SSH service connection using a build pipeline in azure devops
How can I add a new SSH service connection using a build pipeline in Azure DevOps? I would like to specify the username ip and key and grant access to all pipelines
SSH service connection using the ...
0
votes
1
answer
163
views
How to find the auto-created service connection when deploying to AKS
During a pipeline run, under deployment job, providing a deployment environment eliminates the need of providing service connection manually. I'd guess, it's either creating a new SC at this time or ...
0
votes
1
answer
747
views
Azure DevOps on-premise cannot verify Kubernetess service connection
I am creating New Kubernetes service connection in Azure DevOps Server 2020 Update 1 via KubeConfig.
When I click to Verify that the connection it says that Verification Failed with the generic error:...
1
vote
0
answers
179
views
Not able to see Usage History under Azure Service connection for yaml pipeline
Background -
I have created one multi-stage yaml pipeline which contains the stages - BUILD, DeployToDEV, DeployToUAT, DeployToPROD. For deployment to azure web services, I used deployment job in the ...
1
vote
1
answer
5k
views
How to give permission to a pipeline to access a resource in Azure DevOps using CLI commands?
I have created an end-to-end CI/CD pipeline in Azure DevOps. I am trying to clone the original repository and create new pipelines using the Azure CLI(v1), using the below command:
az pipelines create ...
1
vote
1
answer
725
views
Power BI Service connection to Azure DevOps
Which is the service connection that I should choose for a power BI connection with Azure DevOps?
0
votes
1
answer
1k
views
Access Variables From Git Service Connection in a YAML Azure Pipeline
I'm attempting to create a Scheduled Azure Pipeline where I clone a self hosted BitBucket git repository using a Service Connection and mirror it to an existing Azure git repository.
A client keeps a ...
0
votes
1
answer
471
views
Azure devops service connection and central pipeline
I have a requirement of giving multiple teams access to a shared resource in azure. I therefore want to limit how people can publish changes to the shared resource.
The idea is to limit the use of a ...
1
vote
1
answer
2k
views
Connecting to Azure Subscription from Azure Pipeline without Service Connection
From Visual Studio Code or Windows Powershell, I can execute the required Az-Cli/Powershell commands and login to my Azure subscriptions without any problem whatsoever. I'm desperate to replicate this ...
0
votes
1
answer
748
views
Azure DevOps Service Connection - Azure Resource Manager using service principal (manual) with Key Vault Secret values
I have created Azure Key Vault and then created secret with Service Principal Client Secret ID value into it. Next, I’m trying to create Azure Resource Manager Service Connection (Manual Type) in ...
0
votes
0
answers
2k
views
Create custom Azure DevOps Service Connection for rest api
I have a REST API on the internet that is secured with Azure AD and a required header (custom apikey).
You can call this API in example with postman using the client credentials flow. This all works ...
0
votes
1
answer
792
views
How to use Azure pipelines for private pods?
I have a collection of private Cocoapods libraries hosted on Github (private repositories), managed by an Azure Devops platform.
I have one AD project for each pod.
The point is, when I try to execute ...
3
votes
4
answers
10k
views
Azure DevOps OnPrem - Service Connection failed - Failed to obtain the Json Web Token
So, a bit of a strange one and I'm hoping that someone's had this issue and found a fix (Or understands why it's happening)
So this used to work without any issue... Just started happening this week - ...