Hi,
I created a simple azure powershell script step with a service principle account but it failed. I played with it several hour but i haven’t had any luck with it.
I run the following command in a powershell window without an error.
$creds = Get-Credential
Login-AzureRmAccount -Credential $creds -ServicePrincipal -Tenant "cxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx6"
Set-AzureWebsite -Name "$OctopusParameters['Azure.Api.Management.Hostname']" -HostNames @($OctopusParameters['Azure.Api.Management.Hostname'] + '.' + $OctopusParameters['Azure.Custom.DomainName'])
I attached the error log, step and account configuration screen; am i doing something wrong?
Thanks,
Kemal
Step-Log.txt (3 KB)