小编Mik*_*ike的帖子

Azure Devops 中出现“资源文件已设置”警告,且变量不可用

今天,我们的 Azure Devops 管道中的部署作业都显示警告:

##[warning]Resource file has already set to: D:\a\_tasks\AzureKeyVault_1e244d.........\1.212.0\node_modules\azure-pipelines-tasks-azure-arm-rest-v2\module.json

此外,传递到作业中的变量作为空字符串传递,从而导致失败。- 这个问题似乎已于 11 月 3 日解决。

不用说,我们已多次重新运行管道,但无济于事,并且已查看了 Azure Devops 状态页面 - 没有显示任何问题。

昨天(11月1日)管道全部正常运行。

对于引用链接到密钥保管库的变量组的任何部署作业,似乎都会出现警告,例如

  - deployment: MyDeployment
    pool:
      vmImage: ubuntu-20.04
    variables:
    - group: MyKeyVaultLinkedVariableGroup

Run Code Online (Sandbox Code Playgroud)

azure-devops

5
推荐指数
1
解决办法
3373
查看次数

PowerShell 7.2.12 是否破坏了 Connect-MgGraph 与 AccessToken 的连接?

自从将我们的构建代理从 PowerShell 7.2.11 升级到 7.2.12 以来,他们一直报告以下错误:

Cannot bind parameter 'AccessToken'. Cannot convert the *** value of type "System.String" to type "System.Security.SecureString".
Run Code Online (Sandbox Code Playgroud)

我们的脚本如下:

Cannot bind parameter 'AccessToken'. Cannot convert the *** value of type "System.String" to type "System.Security.SecureString".
Run Code Online (Sandbox Code Playgroud)

这之前是有效的,回滚到我们之前的构建代理映像已经解决了这个问题。

powershell azure-powershell microsoft-graph-api

3
推荐指数
1
解决办法
4393
查看次数