用于Azure认证的认证测试工具1.2"访问被拒绝"

时间:2017-05-18 08:36:56

标签: windows azure powershell-remoting winrm

由于WannaCry漏洞,Microsoft突然删除了我的Azure市场虚拟机映像。

我试图在从新修补映像创建的新VM上运行Azure认证的认证测试工具1.2。

我以本地管理员身份登录并按照the documentation在VM上运行该工具:"认证工具在正在运行的VM上运行,由您的用户VM映像配置,以确保VM映像与Microsoft Azure兼容。"

我已尝试在默认的Classic(非Azure资源管理器)Windows Server 2012 R2 Datacenter和Windows Server 2016 Datacenter VM上运行该工具。

我尝试关闭Windows防火墙和UAC。

我没有尝试changing the firewall rules on Azure用于VM,因为:"在Azure经典门户中创建Windows虚拟机时,通常会为您创建常用端点,例如远程桌面和Windows PowerShell远程处理端点自动"

以下是在全新Azure Classic VM上运行该工具而创建的日志(已应用WannaCry修补程序):

5/18/2017 6:23:22 AM

Log generated by Certification Test Tool for Azure Certified

Test name: ****** Test Date :5/18/2017 6:23:22 AM Tested on: ******.cloudapp.net Test for: Microsoft Azure Test in: Windows Server
5/18/2017 6:23:24 AM

Test case/Verification: TestConnection
Description: Instantiates connection to the specified VM.

Connection Attempt: 1 Connecting to the Azure VM.... ******.cloudapp.net Error in connecting to the VM. Reason for not connecting to the VM : System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server ******.cloudapp.net failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. at System.Management.Automation.Runspaces.AsyncResult.EndInvoke() at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult) at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal.Open() at System.Management.Automation.RemoteRunspace.Open() at WindowsAddin.PSConnection.OpenSession() ----------------------------------------------------------------->

编辑:添加几个链接。

1 个答案:

答案 0 :(得分:0)

我确实设法连接并运行该工具,诀窍不是在机器上运行它。您必须从远程计算机运行它。该工具拒绝访问自己。