AzureAutomationAuthoringToolkit:警告 [英] AzureAutomationAuthoringToolkit: Warning

查看:185
本文介绍了AzureAutomationAuthoringToolkit:警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试获取自动化变量或凭据时,我的Powershell Runbook脚本全部失败了

Hi my powershell runbook scripts are all failing when I try to get an automationvariable or credential

AzureAutomationAuthoringToolkit: Warning - Local value for Variable asset 'Dev server' not found.


d439589a-3ec5-4444-b706-e7cf18be1551:[localhost]:AzureAutomationAuthoringToolkit: Warning - Local value for 
PSCredential asset 'myuser' not found.

变量没有改变,我什至直接从画布上获取了它们.

The variables have not changed, I even took them from the canvas directly.

示例脚本:

$credz = Get-AutomationPSCredential -Name 'myuser' $server = Get-AutomationVariable -Name 'Dev server'

写入输出 $ credz

推荐答案

因此,解决方案是完全删除AzureAutomationAuthoringToolkit模块.

So solution was to delete the AzureAutomationAuthoringToolkit module completely.

在Azure上运行会使用一些不需要安装的内部模块.我很确定几年前我创建帐户时就已经开始使用此模块.

哦,现在可以了.


这篇关于AzureAutomationAuthoringToolkit:警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆