Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created January 4, 2018 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/d1346882cd9ae862631fae5d20593881 to your computer and use it in GitHub Desktop.
Save justinyoo/d1346882cd9ae862631fae5d20593881 to your computer and use it in GitHub Desktop.
List of Access Keys from Output Values after ARM Template Deployment
$apiVersion = `
((Get-AzureRmResourceProvider `
-ProviderNamespace "Microsoft.Logic").ResourceTypes `
| Where-Object { $_.ResourceTypeName -eq "workflows" }).ApiVersions[0]
Invoke-AzureRmResourceAction `
-ApiVersion $apiVersion `
-ResourceGroupName "RESOURCE_GROUP_NAME" `
-ResourceType "Microsoft.Logic/workflows/triggers" `
-ResourceName "RESOURCE_NAME/manual" `
-Action listCallbackUrl `
-Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment