azure - 如何在 Azure 上为 Angular 项目创建发布管道

标签 azure azure-devops azure-web-app-service

我想学习 Angular 项目的端到端部署。我有免费试用订阅。我已经创建了一个应用程序服务并且它也在运行。看: enter image description here

但是在 DevOps 上,当我尝试创建发布管道时,下拉列表为空。它显示未找到订阅或服务连接。看: enter image description here

订阅也处于事件状态:

enter image description here

这是项目设置 -> 服务连接 -> 新服务连接 -> Azure 资源管理器 -> 服务主体(自动) -> 下一步(按钮)的屏幕截图:

enter image description here

我刷新了多次。删除应用程序服务并一次又一次创建新服务,然后再次刷新。我正在关注这个 YouTube 教程: Deploy Angular app using Azure DevOps build and release pipelines

我已发表评论寻求帮助,但该人尚未回复。我以重复模式观看了此视频,看看我是否错过了重要的一步。请帮我。我尝试了 Microsoft Azure 帮助/故障排除页面中的提示。

最佳答案

You don’t appear to have an active Azure subscription.

我们需要登录Azure portal检查您的订阅状态是否有效。如果订阅状态为事件状态,我们应该搜索“租户属性”并禁用安全默认值。这解决了问题。我们可以检查这个blog了解更多详情。

enter image description here

关于azure - 如何在 Azure 上为 Angular 项目创建发布管道,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65016425/

相关文章:

azure - 如何对 Jenkins 进行身份验证以运行 Azure xplat cli 命令?

logging - 如何将自定义日志添加到 Visual Studio Team Services 构建的日志输出?

azure - .net core 5.0 生产环境是否已准备好用于 azure 应用服务

azure - 部署槽设置如何在 Azure 应用服务上发挥作用?

azure-devops - 尝试从 VSTS 推送 nuget 包时出错

powershell - Get-AzureRmADServicePrincipal 和 Get-AzureADServicePrincipal 之间有什么区别?

ios - APNS - 无效注册消息

azure - CSPack 1.4 因 OutOfMemoryException 崩溃

windows - 如何创建托管在不同数据中心的 Windows Azure 应用程序

azure-devops - VSTS 按分支查看构建状态