Microsoft Azure Get Storage Account Information using Resource Graph

发布时间:2025-08-13 11:22

通过C#的Microsoft Certified: Azure Developer Associate认证 #生活技巧# #工作学习技巧# #工作技能认证#

Last Updated : 23 Jul, 2025

Improve

Suggest changes

Like Article

Like

Report

Prerequisite: Introduction to Microsoft Azure 

In this article, you will get to know how you can get information about azure storage accounts using the azure resource graph queries in a faster and simple way. The user should have read access to the management group subscriptions to fetch the data.

Here, we run all the below following KQL queries in Azure Resource Graph Explorer from Azure Portal to get the results. You can also export the data by clicking on Download as CSV from the Results section. 

Azure Resource Graph query to get the information about the azure storage accounts from the select subscription or management group scope.

Query:

resources | where type =="microsoft.storage/storageaccounts"

Output:

resources 

Use the below Azure Resource Graph query to get the information about the azure storage accounts from the select subscription or management group scope by Location in ascending order.

Query:

resources | where type =="microsoft.storage /storageaccounts" | order by ['location'] asc

Output:

output 

Use the below Azure Resource Graph query to find the Storage Blob's last Enabled Time.

Query:

resources | where type =="microsoft.storage/storageaccounts" | project StorageAccountName=name, BloblastEnabledTime=properties. encryption.services.blob.lastEnabledTime

Output:

bloabtime 

Use the below Azure Resource Graph query to find the Storage File last Enabled Time.

Query:

resources | where type =="microsoft.storage/storageaccounts" | project StorageAccountName=name, FilelastEnabledTime=properties. encryption.services.file.lastEnabledTime

Output:

enable time 

网址:Microsoft Azure Get Storage Account Information using Resource Graph https://klqsh.com/news/view/147853

相关内容

Microsoft account recovery code
10 Ways to Get Help in Windows 11
Manage devices used with your Microsoft account
Sign in to Microsoft 365
How to sign in to a Microsoft account
Switching to Microsoft 365 Personal and Family Classic Plans
How To Get Help In Windows 11 (All Methods)
Microsoft Account Protection Email
About Get Help
The resource cannot be found.

随便看看