azure-devops

TF400813: The user '' is not authorized to access this resource

谁说我不能喝 提交于 2021-02-11 14:11:13
问题 I have my own private organization and repositories. I also have multiple directories and all of them work except for the "Microsoft account" directory. I am able to log into Azure Devops no problem using the Microsoft account directory. I see my organization and I can go through my repositories, agents, pipelines, everything. However, I can't change anything. All I get is the error or screens that don't load fully. Its like its in read only mode. I went into user settings to check

TF400813: The user '' is not authorized to access this resource

青春壹個敷衍的年華 提交于 2021-02-11 14:10:56
问题 I have my own private organization and repositories. I also have multiple directories and all of them work except for the "Microsoft account" directory. I am able to log into Azure Devops no problem using the Microsoft account directory. I see my organization and I can go through my repositories, agents, pipelines, everything. However, I can't change anything. All I get is the error or screens that don't load fully. Its like its in read only mode. I went into user settings to check

Is there a way in Azure DevOps settings to create a Personal Access Tokens (PAT) equivalent that is not associated with a single user?

别来无恙 提交于 2021-02-11 13:58:16
问题 If I understand correctly, Personal Access Tokens (PAT) are associated with the user identity logged in (they are within User Settings afterall). Question : For functional responsibilities that should not be associated with and reliant upon one individual team member's account (ex. automated systems deployments), is there a way to generate non-user contextual PATs? 回答1: There is no way to create non-user contextual personal access tokens. Personal access tokens are alternate passwords that

Is there a way in Azure DevOps settings to create a Personal Access Tokens (PAT) equivalent that is not associated with a single user?

烈酒焚心 提交于 2021-02-11 13:57:39
问题 If I understand correctly, Personal Access Tokens (PAT) are associated with the user identity logged in (they are within User Settings afterall). Question : For functional responsibilities that should not be associated with and reliant upon one individual team member's account (ex. automated systems deployments), is there a way to generate non-user contextual PATs? 回答1: There is no way to create non-user contextual personal access tokens. Personal access tokens are alternate passwords that

Why did Microsoft not go with json instead of yml for Azure pipelines?

只谈情不闲聊 提交于 2021-02-11 13:53:07
问题 I am starting to learn Azure dev-ops. You can configure your Azure-pipelines with yml. I was just wondering why did Microsoft go with yml. This could have been done with json as well. Just curious as to why not use a format that is quite popular? 回答1: YAML is not as common as JSON, but it is also a popular and awesome data serialization language. The design goal of JSON is to be simpler and be universally usable. In contrast, the design goal of YAML is to provide a good human-readable format

Run Azure DevOps pipeline via REST API with queue time variables

独自空忆成欢 提交于 2021-02-11 13:32:47
问题 I have Azure DevOps pipeline with set of input variables which supposed to be modified during queue time. According to documentation and this post if values of pipeline variables will be changed during pipeline queue, they cannot be defined in the pipeline YAML definition, but using UI Variables panel and Variables tab in Trigger page. If I am going to trigger my pipeline with Azure DevOps REST API, what is the correct approach to define them or do I need to do this? Should I also use

Unable to perform TFVC to GIT import on VSTS

六月ゝ 毕业季﹏ 提交于 2021-02-11 13:27:53
问题 I am trying to import a specific TFS branch (without history) to GIT using "Import from TFVC" function available after creating an empty GIT repository in VSTS. The error I am getting is: There is no item in the given path which can be imported VSTS redirects me to https://go.microsoft.com/fwlink/?linkid=839462 but there is no description of this error, it's a general import guide. The branch I am referencing during the import has many projects and is about 500MB in size (this is the size on

New Azure DevOps pipeline using ASP.NET yaml template failing

会有一股神秘感。 提交于 2021-02-11 12:55:23
问题 I have a GitHub repository with a .NET Core 3.0 website solution in it. In Azure DevOps, I went through the wizard to create a new pipeline linked to that repository using the ASP.NET Core template on the Configure step of the wizard. This is what my YAML looks like: # ASP.NET Core # Build and test ASP.NET Core projects targeting .NET Core. # Add steps that run tests, create a NuGet package, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core trigger: -

Conditionally add a tag to merge-commit using Azure DevOps and git

雨燕双飞 提交于 2021-02-11 12:53:26
问题 I would like to basically achive the very same thing you could achive while using the built in "tag-functionality" for build in Azure DevOps, with one exception.. I need to add a tag conditionally.. The basic idea is to evanluate if the SourceBranch for my PR starts with refs/heads/hotfix, and that the target branch is refs/heads/master, then I would like to tag the final merged commit with the tag "hotfix". I started with something like this: name: PR-$(Rev:r) trigger: none pool: vmImage:

Django: Module not Found on Azure App Service - Azure DevOps CD

谁都会走 提交于 2021-02-11 12:51:53
问题 I am looking to set up a simple Django application on Azure App Service (Linux OS) by running an Azure Devops Build and Release pipeline. The application builds and creates a release without a problem. However when the application has been released it runs into runtime errors. 2019-10-15T09:48:16.161816610Z ModuleNotFoundError: No module named 'django' I run pip3 install -r requirements.txt as part of the bash post deployment script, and requirements.txt contains Django but it claims the