Skip to content

Instantly share code, notes, and snippets.

@lfalck
Last active August 8, 2018 07:08
Show Gist options
  • Save lfalck/1179f5e2faa9654e2b83ea42e6923c5a to your computer and use it in GitHub Desktop.
Save lfalck/1179f5e2faa9654e2b83ea42e6923c5a to your computer and use it in GitHub Desktop.
$context = New-AzureRmApiManagementContext -resourcegroup 'ContosoResourceGroup' -servicename 'ContosoAPIMService'
Connect-AzureRmAccount
New-AzureRmApiManagementBackend -Context $context -Url 'https://backendurl' -Protocol http -SkipCertificateChainValidation $true
Get-AzureRmApiManagementBackend -Context $context
Remove-AzureRmApiManagementBackend -Context $context -BackendId 9e8e5a6ba56a4607af8e9dc4cc63fd92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment