Skip to content

Commit

Permalink
Revert "{AzurePipelineTasks} fixes Azure/azure-powershell#19209" (#16977
Browse files Browse the repository at this point in the history
)

* Revert "{AzurePipelineTasks} fixes Azure/azure-powershell#19209 (#16785)"

This reverts commit 54890ae.

* Update task.json

Reverted the 209, bumped to 210.1

* Update task.loc.json

Reverted 209

* Update task.json

Reverted to prev version 209

* Update task.loc.json

Reverted to prev version 209
  • Loading branch information
mpodriezov authored Sep 29, 2022
1 parent 0f61d9d commit 64b985d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV4/AzureUtilityARM.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Get-AzureStorageAccountResourceGroupName
if (-not [string]::IsNullOrEmpty($storageAccountName))
{
Write-Verbose "[Azure Call]Getting resource details for azure storage account resource: $storageAccountName with resource type: $ARMStorageAccountResourceType"
$azureStorageAccountResourceDetails = Get-AzStorageAccount -ErrorAction Stop | Where-Object { $_.StorageAccountName -eq $storageAccountName }
$azureStorageAccountResourceDetails = Get-AzureRmStorageAccount -ErrorAction Stop | Where-Object { $_.StorageAccountName -eq $storageAccountName }
Write-Verbose "[Azure Call]Retrieved resource details successfully for azure storage account resource: $storageAccountName with resource type: $ARMStorageAccountResourceType"

$azureResourceGroupName = $azureStorageAccountResourceDetails.ResourceGroupName
Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureFileCopyV4/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 4,
"Minor": 210,
"Patch": 0
"Patch": 1
},
"demands": [
"azureps"
Expand Down Expand Up @@ -291,4 +291,4 @@
"UnsupportedAuthScheme": "Unsupported authentication scheme '{0}' for endpoint.",
"ServicePrincipalError": "There was an error with the service principal used for the deployment."
}
}
}
4 changes: 2 additions & 2 deletions Tasks/AzureFileCopyV4/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 4,
"Minor": 210,
"Patch": 0
"Patch": 1
},
"demands": [
"azureps"
Expand Down Expand Up @@ -291,4 +291,4 @@
"UnsupportedAuthScheme": "ms-resource:loc.messages.UnsupportedAuthScheme",
"ServicePrincipalError": "ms-resource:loc.messages.ServicePrincipalError"
}
}
}
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV5/AzureUtilityARM.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Get-AzureStorageAccountResourceGroupName
if (-not [string]::IsNullOrEmpty($storageAccountName))
{
Write-Verbose "[Azure Call]Getting resource details for azure storage account resource: $storageAccountName with resource type: $ARMStorageAccountResourceType"
$azureStorageAccountResourceDetails = Get-AzStorageAccount -ErrorAction Stop | Where-Object { $_.StorageAccountName -eq $storageAccountName }
$azureStorageAccountResourceDetails = Get-AzureRmStorageAccount -ErrorAction Stop | Where-Object { $_.StorageAccountName -eq $storageAccountName }
Write-Verbose "[Azure Call]Retrieved resource details successfully for azure storage account resource: $storageAccountName with resource type: $ARMStorageAccountResourceType"

$azureResourceGroupName = $azureStorageAccountResourceDetails.ResourceGroupName
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV5/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 5,
"Minor": 210,
"Patch": 0
"Patch": 1
},
"demands": [
"azureps"
Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureFileCopyV5/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 5,
"Minor": 210,
"Patch": 0
"Patch": 1
},
"demands": [
"azureps"
Expand Down Expand Up @@ -291,4 +291,4 @@
"ServicePrincipalError": "ms-resource:loc.messages.ServicePrincipalError",
"AzModuleNotFound": "ms-resource:loc.messages.AzModuleNotFound"
}
}
}

0 comments on commit 64b985d

Please sign in to comment.