holger · @holgerjs
30 followers · 74 posts · Server hachyderm.io

So, here is a query to list all storage accounts and their settings:

Search-AzGraph -Query "resources | where type =~ 'Microsoft.Storage/storageAccounts' | extend allowSharedKeyAccess = parse_json(properties).allowSharedKeyAccess | project subscriptionId, resourceGroup, name, allowSharedKeyAccess"

Ref: learn.microsoft.com/en-gb/azur

#powershell #resourcegraph #allowsharedkeyaccess #azure #storageaccount #sharedkeyaccess

Last updated 1 year ago

holger · @holger
15 followers · 8 posts · Server social.linux.pizza

I‘ve been writing a short post about how to use the Azure SDK for Python for querying Azure Resource Graph for available resource names. Feel free to check it out in case you‘re interested: dev.to/holger/azure-sdk-for-py

#azurecloud #resourcegraph #python #azure

Last updated 2 years ago