Integrate Microsoft Azure using PowerShell
Before you begin, verify the Azure Cloud Shell is configured and that you have permission to create app registrations.
Procedure
In Firefly, select Settings > Integrations > Add new > Azure.
In the Subscription ID field, enter the ID of the subscription you wish to integrate. To locate the ID, type Subscriptions in the search bar.
Select Next.
In your Azure Cloud Shell, run the script below:
$subscriptionId = 'my-subscription-id' $isEventDriven = $true $scriptPath ="https://infralight-templates-public.s3.amazonaws.com/azure_onboarding.ps1" $script = (New-Object System.Net.WebClient).DownloadString($scriptPath); $scriptBlock = [Scriptblock]::Create($script);Invoke-Command -ScriptBlock $scriptBlock;
If the session has expired, delete the application registration you created in the Azure portal, and run the script again.
After the script is complete, copy the values and paste them in the fields below:
Friendly Name
Tenant ID
Client ID
Client Secret
Directory Domain
Select Next > Done.
We currently support the resources below:
azurerm_api_management
azurerm_app_service
azurerm_application_gateway
azurerm_automation_account
azurerm_container_group
azurerm_container_registry
azurerm_cosmosdb_account
azurerm_cosmosdb
azurerm_databricks_workspace
azurerm_eventhub_namespace
azurerm_eventhub
azurerm_function_app
azurerm_key_vault
azurerm_kubernetes_cluster
azurerm_lb
azurerm_log_analytics_workspace
azurerm_monitor_diagnostic_setting
azurerm_monitor_metric_alert
azurerm_network_interface
azurerm_network_security_group
azurerm_policy_assignment
azurerm_policy_definition
azurerm_postgresql_server
azurerm_redis_cache
azurerm_route_table
azurerm_servicebus_namespace
azurerm_servicebus_queue
azurerm_sql_database
azurerm_sql_server
azurerm_storage_account
azurerm_traffic_manager_profile
azurerm_virtual_machine
azurerm_linux_virtual_machine
azurerm_windows_virtual_machine
azurerm_virtual_network_gateway
azurerm_virtual_network
Last updated