2017-09-20 8 views

답변

1

당신은 서비스 주체를 사용하여 비 대화식으로 푸른에 로그인을 시도 할 수 있습니다. 다음 명령은 나를 위해 작동합니다, 그것을 참조하십시오.

$tenantId = "xxxxxxxxxx"; 
$appId = "xxxxxxxxxx"; 
$azurePassword = ConvertTo-SecureString "xxxxxx" -AsPlainText -Force 
$psCred = New-Object System.Management.Automation.PSCredential($appId , $azurePassword) 
Add-AzureRmAccount -Credential $psCred -TenantId $tenantId  -ServicePrincipal 

enter image description here

자세한 내용은 this article: "Log in to Azure Resource Manager (ARM) through Kudu to use ARM PowerShell"을 확인하시기 바랍니다.