Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
61 views

I cannot extract .sql CREATE TABLEs for each table in my Azure SQL Database in my Azure Repo

Like the question says, how can I do that? This is the script I am currently using through the generation of a .dacpac file, but I've seen that this can be done with a PowerShell script instead of ...
WorkingProgrammer's user avatar
0 votes
3 answers
73 views

Getting error while trying to disable Azure DevOps pipeline using Powershell

I am trying to disable a build pipeline on Azure DevOps using Powershell but getting an error Script: $project = "<Project-Name>" $organization = "<Org-Name>" $pat = &...
Mudit Balooja's user avatar
1 vote
1 answer
57 views

Azure DevOps REST API parent relation link to existing work item error

I am attempting to utilize the Azure DevOps REST API to create and/or update a work item in Boards to allow adding a Parent link. So far this is unsuccessful. and its creating an error... Invoke-...
trentR's user avatar
  • 13
1 vote
1 answer
81 views

How to use secrets in Azure DevOps Powershell script task

I have a secret in a Azure keyvault which basically stores 1 command az login --service-principal -u ... I am trying to call this secret in a simple Powershell Task but when I run the pipeline every ...
Mudit Balooja's user avatar
0 votes
3 answers
70 views

Read a variable from a .ps1 file and run a .ps1 script inside Pipeline with Git Repo

I am using Azure DevOps repos, and I am working on a pipeline. I want it to read a variable from config.ps1 file and set a env variable with it. After that I want to run a powershell script. It gives ...
Tiago's user avatar
  • 3
0 votes
1 answer
50 views

Postman "Get'" returns data and Powershell Invoke-Restmethod does not from Azure DevOps

In a post a couple days ago, it was suggested to me that I use the classificationnodes to get/post to Iterations. I've been testing those endpoints and if I use the following URL in Postman it works ...
USMC6072's user avatar
  • 486
0 votes
1 answer
102 views

No match was found for the specified search criteria and module name 'MicrosoftPowerBIMgmt.Profile'

Not able to install any MicrosoftPowerBIMgmt packages in azure release pipeline. No match was found for the specified search criteria and module name 'MicrosoftPowerBIMgmt.Profile'. Try Get-...
Shahid Sayyed's user avatar
0 votes
1 answer
43 views

How do I migrate Azure DevOPs Iterations through the API and PS

I am trying to migrate iterations between two ADOs. I can retrieve the list of iterations just fine but I get an error when doing the Invoke-RestMethod POST. Here is the error I receive from the ...
USMC6072's user avatar
  • 486
1 vote
2 answers
87 views

Alternate to Parallel task execution in Azure DevOps pipeline

My Build Pipeline has multiple "Push Image to Registry" tasks. Each of these tasks pushes to multiple different container registries authenticated using different service connections present ...
Mudit Balooja's user avatar
0 votes
1 answer
89 views

Unable to handle error from external batch command

I used to have a local project batch file that called IZPACK's compile.bat in an Azure Devops pipeline. There was an error with the build that didn't fail the pipeline so I added the check to fail on ...
swhite's user avatar
  • 497
0 votes
1 answer
46 views

Azure DevOps Rest API - Creating Iteration don't work

First I call all iterations that I have in my project - and it works fine and then I want to create a new one via the API. , but the method doesn't work, I get the error: The remote server returned ...
askldq's user avatar
  • 13
1 vote
1 answer
87 views

Azure DevOps Pipelines: Environment Variables Not Available in dotnet test Command

I'm using Azure DevOps and have an AzureCLI task set up to run integration tests with the dotnet test command. I'm encountering an issue where environment variables set in the task do not seem to be ...
Kevin James's user avatar
0 votes
1 answer
60 views

How to pass ConfigurationName parameter in az vm run-command

I have 2 scenarios Execute test.ps1 powershell present inside azure VM - Works fine Execute test.ps1 powershell directly from azure devops repository - Error Contents of testfile.ps1 Invoke-Sqlcmd -...
Anusha Madhusudhanan's user avatar
0 votes
1 answer
97 views

Add-AzStorageAccountNetworkRule "Windows PowerShell is in NonInteractive mode" error

I'm trying to run Add-AzStorageAccountNetworkRule in an ADO pipeline, and it's consistently giving me this error and nothing more even with -Debug logging: DEBUG: 9:10:14 PM - [ConfigManager] Got ...
Mark Wiemer's user avatar
0 votes
1 answer
55 views

How to get the list of git commit changes between two build pipelines- Azure DevOps

I want to get a list of git commit changes between two pipelines. The below Azure DevOps GET API is helpful in fetching the git commit changes of a particular build. https://dev.azure.com/%...
Meks's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
101