Hi Naveen,
New-AzStorageContainer does not have ResourceGroupName parameter, which is why you are seeing the error. You need to specify the context. Please see below.
First make sure the user account you are using has permission to create blobs via Azure RBAC. To do this, navigate to your storage account in the Azure portal, Access control (IAM) blade, click Add role assignment, select Storage Blob Data Contributor, Next, click Select members, select your user account, Next, Review + assign. After assigning your account the above Role, wait a few minutes for it to take effect.
Code similar to below sample can be used in Cloud Shell to create the container:
$ctx = New-AzStorageContext -StorageAccountName "azurestorage199" -UseConnectedAccount
New-AzStorageContainer -Name "naveencontainer395" -Permission Off -Context $ctx
Please click Accept Answer and upvote if the above was useful. If something is unclear add a comment below.
Thanks.
-TP