Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix StorageAccountIssue in AzureFileCopyV6 #19863

Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV6/AzureUtilityAz1.0.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-AzResource -ErrorAction Stop) | Where-Object { ($_.ResourceType -eq $ARMStorageAccountResourceType) -and ($_.Name -eq $storageAccountName)}
$azureStorageAccountResourceDetails = Az.Storage\Get-AzStorageAccount -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"

Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureFileCopyV6/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 6,
"Minor": 239,
"Patch": 10
"Minor": 240,
"Patch": 0
},
"demands": [
"azureps"
Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureFileCopyV6/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 6,
"Minor": 239,
"Patch": 10
"Minor": 240,
"Patch": 0
},
"demands": [
"azureps"
Expand Down
4 changes: 2 additions & 2 deletions _generated/AzureFileCopyV6.versionmap.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default|6.239.10
Node20_229_2|6.239.11
Default|6.240.0
Node20_229_2|6.240.1
2 changes: 1 addition & 1 deletion _generated/AzureFileCopyV6/AzureUtilityAz1.0.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-AzResource -ErrorAction Stop) | Where-Object { ($_.ResourceType -eq $ARMStorageAccountResourceType) -and ($_.Name -eq $storageAccountName)}
$azureStorageAccountResourceDetails = Az.Storage\Get-AzStorageAccount -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"

Expand Down
8 changes: 4 additions & 4 deletions _generated/AzureFileCopyV6/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 6,
"Minor": 239,
"Patch": 10
"Minor": 240,
"Patch": 0
},
"demands": [
"azureps"
Expand Down Expand Up @@ -288,7 +288,7 @@
"AzModuleNotFound": "Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
},
"_buildConfigMapping": {
"Default": "6.239.10",
"Node20_229_2": "6.239.11"
"Default": "6.240.0",
"Node20_229_2": "6.240.1"
}
}
8 changes: 4 additions & 4 deletions _generated/AzureFileCopyV6/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 6,
"Minor": 239,
"Patch": 10
"Minor": 240,
"Patch": 0
},
"demands": [
"azureps"
Expand Down Expand Up @@ -288,7 +288,7 @@
"AzModuleNotFound": "ms-resource:loc.messages.AzModuleNotFound"
},
"_buildConfigMapping": {
"Default": "6.239.10",
"Node20_229_2": "6.239.11"
"Default": "6.240.0",
"Node20_229_2": "6.240.1"
}
}
2 changes: 1 addition & 1 deletion _generated/AzureFileCopyV6_Node20/AzureUtilityAz1.0.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-AzResource -ErrorAction Stop) | Where-Object { ($_.ResourceType -eq $ARMStorageAccountResourceType) -and ($_.Name -eq $storageAccountName)}
$azureStorageAccountResourceDetails = Az.Storage\Get-AzStorageAccount -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"

Expand Down
8 changes: 4 additions & 4 deletions _generated/AzureFileCopyV6_Node20/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 6,
"Minor": 239,
"Patch": 11
"Minor": 240,
"Patch": 1
},
"demands": [
"azureps"
Expand Down Expand Up @@ -292,7 +292,7 @@
"AzModuleNotFound": "Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
},
"_buildConfigMapping": {
"Default": "6.239.10",
"Node20_229_2": "6.239.11"
"Default": "6.240.0",
"Node20_229_2": "6.240.1"
}
}
8 changes: 4 additions & 4 deletions _generated/AzureFileCopyV6_Node20/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 6,
"Minor": 239,
"Patch": 11
"Minor": 240,
"Patch": 1
},
"demands": [
"azureps"
Expand Down Expand Up @@ -292,7 +292,7 @@
"AzModuleNotFound": "ms-resource:loc.messages.AzModuleNotFound"
},
"_buildConfigMapping": {
"Default": "6.239.10",
"Node20_229_2": "6.239.11"
"Default": "6.240.0",
"Node20_229_2": "6.240.1"
}
}
Loading