So, here is a #PowerShell #ResourceGraph query to list all storage accounts and their #allowSharedKeyAccess settings:
Search-AzGraph -Query "resources | where type =~ 'Microsoft.Storage/storageAccounts' | extend allowSharedKeyAccess = parse_json(properties).allowSharedKeyAccess | project subscriptionId, resourceGroup, name, allowSharedKeyAccess"
#Azure #StorageAccount #SharedKeyAccess
Ref: https://learn.microsoft.com/en-gb/azure/storage/common/shared-key-authorization-prevent
#powershell #resourcegraph #allowsharedkeyaccess #azure #storageaccount #sharedkeyaccess