Hallo an die Community,
bei dem Versuch den Befehl
Get-AzVmss -ResourceGroupName 'RG-Name' -VMScaleSetName 'ScaleSet-Name'
auszuführen, bekomme ich als Subscription-Owner und Ersteller der RG, sowie des ScaleSets die Fehlermeldung, dass ich nicht zum Ausführen des Befehls berechtigt bin. Macht für mich als Azure-Neuling überhaupt keinen Sinn.
Kennt hier vielleicht jemand diese Problemstellung?
Genauer Output des Fehlers:
get-azvmss : The client 'xxxxxxxxx@xxxxxx.com' with object id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx' does not have authorization to perform action 'Microsoft.Compute/virtualMachineScaleSets/read'over scope '/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx/resourceGroups/RG-Name/providers/Microsoft.Compute'.
ErrorCode: AuthorizationFailed
ErrorMessage: The client 'xxxxxxxxx@xxxxxx.com' with object id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx' does not have authorization to perform action 'Microsoft.Compute/virtualMachineScaleSets/read'Microsoft.Compute'.
ErrorTarget:
StatusCode: 403
ReasonPhrase: Forbidden
OperationID : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx
At line:1 char:1
+ get-azvmss -resourcegroupname 'RG-Name'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Get-AzVmss], ComputeCloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.GetAzureRmVmss
Ich bin dankbar für jegliche Hilfe und Info!
VG,
KK