問題タブ [azure-connect]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
254 参照

.net - C# で PowerShell の「Connect-AzAccount」コマンドを使用する

Powershell コマンドを使用してログインするのと同じ方法で Azure に接続したいと考えています。.NET でこれを行うための API が見つからなかったので、PS スクリプトを .NET で実行することをお勧めします。

ラップトップに azure 用の Powershell を既にインストールしています

また、PC の Windows Powershell だけで「Connect-AzAccount」コマンドを使用しようとしましたが、正常に動作しました。

そこで、Visual Studio で次のことを試しました。

問題は、次のエラーが発生することです。