Azure / Azure/azure-powershell
Failure to register RP Microsoft.Storage & Microsoft.Compute in Dogfood subscription
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description
I would like to create a VM and Storage Account in this subscription for testing - 84b0e648-8eed-4349-a6d2-f1298e5cb07a.
In order to create the StorageAccount, I ran -
**__New-AzStorageAccount -ResourceGroupName rg-investigations-test -Name investigateStorageAccount -Location "westus3" -SkuName Standard_LRS__**
And it failed because the RP was not registered for this subscription. Then I ran -
**_Register-AzResourceProvider -ProviderNamespace "Microsoft.Storage"_**
And it is still registering for the last 6 hours. Same for Compute.
[errorOutput.txt](https://github.com/Azure/azure-powershell/files/14090673/errorOutput.txt)
[debugOutput.txt](https://github.com/Azure/azure-powershell/files/14090675/debugOutput.txt)
### Issue script & Debug output
```PowerShell
See attached file.
```
### Environment data
```PowerShell
Name Value
---- -----
PSVersion 7.4.1
PSEdition Core
GitCommitId 7.4.1
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```
### Module versions
```PowerShell
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 2.15.0 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzConte…
Script 6.0.0 Az.Aks {Disable-AzAksAddOn, Enable-AzAksAddOn, Get-AzAks…
Script 0.2.0 Az.ProviderHub {Get-AzProviderHubCustomRollout, Get-AzProviderHu…
Script 6.13.0 Az.Resources {Export-AzResourceGroup, Export-AzTemplateSpec, G…
Script 6.0.1 Az.Storage {Add-AzRmStorageContainerLegalHold, Add-AzStorage…
Script 5.1.2 Azure {Add-AzureAccount, Add-AzureApplicationGatewaySsl…
```
### Error output
```PowerShell
See attached file.
```
Contributor guide
Assessment
This issue has not been assessed yet.