Azure / Azure/azure-powershell

AzureRM.Storage.ps1 Scenario test module doesn't return StorageAccount context

Open
#9,543 1 comment 0 reactions 0 assignees View on GitHub
Azure PS Team potential-pruning
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

## Description
We removed the dependency of Storage.Management (commit ) and started using AzureRM.Storage.ps1 which doesn’t populate context in Get-AzureRmStorageAccount and started failing our tests in record mode. Please help implement New-AzStorageContext in AzureRM.Storage.ps1.

https://github.com/Azure/azure-powershell/blob/master/tools/ScenarioTest.ResourceManager/AzureRM.Storage.ps1

azure-powershell\src\Storage\Storage\Common\Cmdlet\NewAzureStorageContext.cs : GetStorageAccountByNameAndKey

## Cost

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.