Az登录命令不能用于Kudu电源shell [英] Az Login command not working on Kudu power shell

查看:93
本文介绍了Az登录命令不能用于Kudu电源shell的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure App服务上部署了一个ASP.Net Web应用程序。此应用程序尝试使用power shell命令'az login'登录Azure。但是,我收到一个错误,指出"术语az不被识别为cmdlet的名称"。在此之后,
我去了门户网站上的App服务>高级工具>调试控制台> PowerShell>然后我执行了相同的az登录命令,但仍然遇到了同样的错误。请建议在这种情况下需要做些什么。

I have an ASP.Net web application deployed on Azure App service. This application tries to login to Azure using the power shell command 'az login'. But, I am getting an error saying that 'the term az is not recognized as the name of a cmdlet'. After this, I went to the App service on the portal > Advanced Tools > Debug Console > PowerShell > Then I executed the same az login command, but still got the same error. Please suggest what needs to be done in this case.

推荐答案

我正在尝试在Kudu Powershell上执行Az Login命令,但是我收到一条错误消息,指出''az'这个术语不被识别为cmdlet'。似乎没有配置az命令。如何在Kudu Power shell上配置az命令。请
建议。

I am trying to execute Az Login command on Kudu Powershell, but I am getting an error message saying that 'the term 'az' is not recognized as a cmdlet'. It seems that az commands are not configured. How can I configure az commands on Kudu Power shell. Please suggest.


这篇关于Az登录命令不能用于Kudu电源shell的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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