Azure / Azure/azure-powershell
AzureRM.Storage.ps1 Scenario test module doesn't return StorageAccount context
Open
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
Assessment
This issue has not been assessed yet.