Azure-Samples / Azure-Samples/managed-disks-powershell-getting-started
The last line of the script gives a "Resource Group could not be found" Error Message
- Dominant language
- PowerShell
- Stars
- 29
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
The last line of the script gives a "Resource Group could not be found" Error Message
New-AzDisk : Resource group 'rgtools' could not be found.
ErrorCode: ResourceGroupNotFound
ErrorMessage: Resource group 'rgtools' could not be found.
ErrorTarget:
StatusCode: 404
ReasonPhrase: Not Found
OperationID : 6a1536f4-e85b-4b91-8da0-65bf5241f695
At line:30 char:1
+ New-AzDisk -Disk $diskConfig -DiskName $managedDiskName -ResourceGrou ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzDisk], ComputeCloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.NewAzureRmDisk
Contributor guide
No contributing guide indexed for this repository
Research direction
The report points to line 30 and the New-AzDisk command. Start by running the script and checking how the `rgtools` resource group is selected or created; done means the intended resource group is available and the final disk creation succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100