skip to Main Content

running powershell command via ARM template throws "The term 'Connect-AzureAD' is not recognized as a name of a cmdlet" error

I am trying to execute the following powershell script via Azure ARM template (snippet below), Install-Module -Name AzureAD -force Import-Module -Name AzureAD -UseWindowsPowerShell -RequiredVersion 2.0.2.89 -force $SecurePassword = ConvertTo-SecureString $password -AsPlainText -Force $credentials = New-Object System.Management.Automation.PSCredential($username, $SecurePassword) Connect-AzureAD -Credential $credentials…

VIEW QUESTION

Building an Azure Application Gateway with SSL termination using PowerShell – Can anyone get this to work? Listener SSL resource reference error

Trying to build an Azure Application Gateway using the following instructions and cannot get it to build without an exception stating that the certificate referenced by the listener cannot be found https://learn.microsoft.com/en-us/azure/application-gateway/tutorial-ssl-powershell Can anyone get this to work? I have…

VIEW QUESTION
Back To Top
Search