Skip to content

Instantly share code, notes, and snippets.

param (
[string]$environment,
[string]$location,
[string]$subscription_id,
[string]$client_id,
[string]$client_secret,
[string]$tenant_id,
[string]$service_principal_id
)
2019-05-31T09:22:20.7049224Z ##[section]Starting: Azure PowerShell script: execute terraform
2019-05-31T09:22:20.7173006Z ==============================================================================
2019-05-31T09:22:20.7173160Z Task : Azure PowerShell
2019-05-31T09:22:20.7173313Z Description : Run a PowerShell script within an Azure environment
2019-05-31T09:22:20.7173420Z Version : 4.0.8
2019-05-31T09:22:20.7173583Z Author : Microsoft Corporation
2019-05-31T09:22:20.7173747Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613749)
2019-05-31T09:22:20.7173876Z ==============================================================================
2019-05-31T09:22:23.8221181Z ##[command]Import-Module -Name C:\Modules\az_1.6.0\Az.Accounts\1.5.0\Az.Accounts.psd1 -Global
2019-05-31T09:22:25.9985293Z ##[warning]Both Az and AzureRM modules were detected on this machine. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook. If you a