Visual Studio使用AzureRM而不是Az [英] Visual Studio using AzureRM instead of Az

查看:199
本文介绍了Visual Studio使用AzureRM而不是Az的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我已将Visual Studio 2015配置为创建和部署Logic Apps,但当我尝试将其部署到Azure时,我收到错误,因为Visual Studio是试图执行:Get-AzureRMEnvironment

I have configured my Visual Studio 2015 to create and deploy Logic Apps, but when I try to deploy it to Azure I get an error because Visual Studio is trying to execute: Get-AzureRMEnvironment

我已安装(如微软所说)Az,而不是AzureRM

I have installed (as Microsoft says) Az, not AzureRM

我如何让VisualStudio使用Az所以我可以将我的LogicApo部署到Azure吗?

How can I get VisualStudio uses Az so I can deploy my LogicApo to Azure?

谢谢!

推荐答案

有一个"Uninstall-AzureRm "位于新Az模块中的cmdlet 。要使用此cmdlet,请确保已导入导入
AzureRM模块的所有PowerShell会话,然后运行" Uninstall-AzureRm "在提升的PowerShell会话中。



之后这确保您在create
逻辑应用程序 - 视觉工作室
文档,并按照步骤说明由Visual Studio部署LA。希望这会有所帮助。 
There is an "Uninstall-AzureRm" cmdlet located in the new Az module. To use this cmdlet, please ensure that all PowerShell sessions in which AzureRM modules are imported have been closed, then run "Uninstall-AzureRm" in an elevated PowerShell session.

After this make sure you have these prerequisite tools mentioned in the create logic app -Visual studio doc and followed the step by step instructions to deploy LA by Visual studio. Hope this will help . 


这篇关于Visual Studio使用AzureRM而不是Az的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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