Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Fixing errors because of changes in the AzureRM API #583

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/PowerShell/deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if ($Subscriptions.Length -gt 1) {
$intInput = -1

if ([int]::TryParse($input, [ref]$intInput) -and ($intInput -ge 1 -and $intInput -le $Subscriptions.Length)) {
Select-AzureRmSubscription -SubscriptionId $($Subscriptions.Get($intInput-1).SubscriptionId)
Select-AzureRmSubscription -SubscriptionId $($Subscriptions.Get($intInput-1).Id)
$subscription = $Subscriptions.Get($intInput-1)
break;
}
Expand Down Expand Up @@ -206,7 +206,7 @@ Write-Output "******************************************************************
$context = Get-AzureRmContext
$thumbprint = Read-Host "Please provide the thumbprint of your Azure management certificate. Press [Enter] directly to sign in using AAD."

.\scripts\CopyMLExperiment.ps1 $subscription.SubscriptionId 'MyDriving' $ResourceGroupLocation $context.Account.Id $deployment1.Outputs.mlStorageAccountName.Value $deployment1.Outputs.mlStorageAccountKey.Value 'https://storage.azureml.net/directories/2e55da807f4a4273bfa99852d3d6e304/items' 'MyDriving' 'https://storage.azureml.net/directories/a9fb6aeb3a164eedaaa28da34f02c3b0/items' 'MyDriving [Predictive Exp.]' $thumbprint
.\scripts\CopyMLExperiment.ps1 $subscription.Id 'MyDriving' $ResourceGroupLocation $context.Account.Id $deployment1.Outputs.mlStorageAccountName.Value $deployment1.Outputs.mlStorageAccountKey.Value 'https://storage.azureml.net/directories/2e55da807f4a4273bfa99852d3d6e304/items' 'MyDriving' 'https://storage.azureml.net/directories/a9fb6aeb3a164eedaaa28da34f02c3b0/items' 'MyDriving [Predictive Exp.]' $thumbprint

# Deploy VSTS build definitions
$confirmation = Read-Host "Do you want to deploy VSTS CI? [y/n]"
Expand Down