You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked for previous/existing GitHub issues
Issue Type?
Bug
Description
Line 47 in the Get-StorAcctInfo.ps1 runbook has an invalid parameter (-SubscriptionId $Subscription.Id) for the Get-AzRmStorageShare cmdlet.
When the runbook is executed, the following error is logged:
Get-AzRmStorageShare : A parameter cannot be found that matches parameter name 'SubscriptionId'. At line:47 char:142 + ... orageAcctName -Name $shareName -GetShareUsage -SubscriptionId $Subscr ... + ~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Get-AzRmStorageShare], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Azure.Commands.Management.Storage.GetAzureStorageShareCommand
The text was updated successfully, but these errors were encountered:
Check for previous/existing GitHub issues
Issue Type?
Bug
Description
Line 47 in the Get-StorAcctInfo.ps1 runbook has an invalid parameter (-SubscriptionId $Subscription.Id) for the Get-AzRmStorageShare cmdlet.
When the runbook is executed, the following error is logged:
Get-AzRmStorageShare : A parameter cannot be found that matches parameter name 'SubscriptionId'. At line:47 char:142 + ... orageAcctName -Name $shareName -GetShareUsage -SubscriptionId $Subscr ... + ~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Get-AzRmStorageShare], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Azure.Commands.Management.Storage.GetAzureStorageShareCommand
The text was updated successfully, but these errors were encountered: