azure-devops

Azure Virtual Machine Scale Set VSTS Deployment Group

末鹿安然 提交于 2021-02-19 06:28:06
问题 Is it possible to have the vm's in a VMSS be in a deployment group inside of VSTS? Could I provision a vm with the deployment group, save its disk image, and use that as the image for the vm's in the scale set? That way when a new VM is created it will already have the vsts agent on it. But, will the authentication still work against VSTS? I know it uses a PAT, I feel like there could be issues there. Also, if new vm's "scale" up, how would they be able to get the latest version of the build?

Can we Migrate TFS 2015 to Azure DevOps Directly?

◇◆丶佛笑我妖孽 提交于 2021-02-19 05:49:07
问题 I'm planning to move to Azure DevOps. Currently we have TFS2015 in house. Based on the article it says we have to migrate to TFS 2018 before migrating to Azure DevOps. Can't we migrate from TFS 2015 to Azure DevOps? 回答1: According to this article migration paths only apply to: The TFS Database Import Service supports the two latest releases of TFS at a given time. Releases include updates and major releases. Currently the following versions of TFS are supported for import: TFS 2018 Update 2

ng run project:deploy - Project target does not exist

ぃ、小莉子 提交于 2021-02-19 05:39:46
问题 I have a working production build for Angular Web App. I have an active subscription on my Azure Account (Free Tier) with an AppService Plan, App Service, Resource group, Storage Account, KeyVault, SQL Server & SignalR. I want to deploy my web App using Azure. My Source control is Azure DevOps. I have followed tutorials: https://medium.com/@waelkdouh/deploying-your-angular-application-to-azure-using-azure-devops-f3ba35a0ae4d https://docs.microsoft.com/en-us/azure/devops/pipelines/apps/cd

Getting the Branch ID for Accesscontrol

爱⌒轻易说出口 提交于 2021-02-19 05:39:05
问题 I am trying to restrict the permissions for a specific AD group on a branch level. Previously I have asked the Microsoft Azure DevOps team if they had any endpoint URI REST API for this request, but the response that I have got was that it was not currently available. However, I have managed to get the API using the chrome developer tool, which was https://dev.azure.com/{organization}/_apis/accesscontrolentries/{namespacetoken}?api-version=5.1 Then, I am making the POST request using this

Is there a way to get the amount of lines changed in a Pull Request via the Dev Ops Service REST API?

妖精的绣舞 提交于 2021-02-19 04:41:26
问题 I am currently doing my thesis and analyzing the behavior for code reviews. For this I want to know the size of the pull request that is reviewed. The rest of the information for example authors, reviewers, times etc. I got already by calling the rest API. However I cannot seem to find a way to get the amount of lines changed in each file, or a total number (which is also sufficient). I have browsed the documentation and found some ways to get amount of files changed, see https://docs

How can you move Azure Devops organisations to a different tenancy

你说的曾经没有我的故事 提交于 2021-02-19 02:59:13
问题 We currently have an Azure organisation, containing several projects and related boards etc, linked to a specific Azure Active directory and tenant id. Does anyone know if there is a way I can move the organisation and all child objects to a new tenancy/Azure Active directory? We need to do this as we wish to decommission the original active directory. I've googled for solutions and can see that other people were waiting for Microsoft to provide a solution. 回答1: I've done the same using the

Errors in Azure DevOps build - are you missing an assembly reference?

回眸只為那壹抹淺笑 提交于 2021-02-18 20:58:56
问题 I am using VSTS ( Azure DevOps ) for the first time and am setting up my first build (I have previously been using TFS). I'm trying to build a .NET application targeting .NET Framework 4.6 . However I'm getting build errors relating to missing namespaces and / or assemblies. Error CS0246: The type or namespace name 'OwinStartupAttribute' could not be found (are you missing a using directive or an assembly reference?) Error CS0234: The type or namespace name 'Http' does not exist in the

Retrieve Accesstoken for Azure DevOps REST API 5.1

烈酒焚心 提交于 2021-02-18 19:00:08
问题 In our app we want to retrieve an accesstoken. With this token we want to perform certain actions with Azure DevOps rest API 5.1. I've tried the suggested documententation from Microsoft for OAuth2 (https://docs.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?view=azure-devops) and PAT's. This always gives back a 203 response as an result. Does somebody know a workaround for this issue? 回答1: According to my test, we can call Azure DevOps rest API with Azure Ad

Connecting to an Azure Devops private NuGet in vs code

自古美人都是妖i 提交于 2021-02-18 11:58:51
问题 We have a private NuGet feed. It has been working well with Visual Studio . Our developers connect through their Azure account with the private feed. I'd like to keep this same functionality when moving to vs code. Using the documentation found here I added a nuget.config to my solution folder. The config looks exactly like the documentation except it has our private feed there. <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <!-- remove any machine-wide sources with

Can I use pip to install a package from a private VSTS repository?

自古美人都是妖i 提交于 2021-02-18 06:36:49
问题 I would like to install a private package for my python app with pip. My package is stored in a git repo on Azure DevOps (Visual Studio Team Services). I see that git is supported by pip, but I cannot determine a workable format for the URL for Azure. I would like to avoid the Credential Manager. I have tried both git+ssh (with key) and git+https (with Personal Access Token). Is it possible to do this with Azure/VSTS? For context, I referenced these resources: https://www.revsys.com/tidbits