Monitor performance and availability of Azure File Share services


  • Hi,

    We currently use an Azure File Share to host some content in IIS. We have random performance issues (IIS doesn't seem to be able to access the share for a period of time).

    We wanted to configure monitoring but it doesn't seem to be available for Files either in the old portal the new portal or trough PowerShell. Despite documentation saying it is available.

    Storage Analytics metrics is available for the Blob, Queue, Table, and File services

    Here is what we tried in PowerShell

    Set-AzureStorageServiceMetricsProperty -Context $ctx -ServiceType File -MetricsType Minute -retentiondays 7 

    Get-AzureStorageServiceMetricsProperty : It doesn't support metrics in Microsoft Azure File service.

    Any idea how I can activate storage monitoring or any other way to monitor the availability and performance of Azure File Shares?



    Wednesday, November 4, 2015 3:32 PM


All replies

  • Hi Olivier,

    Here the error is for "Get-AzureStorageServiceMetricsProperty" So what happens when you use the following cmdlet to enable the Storage Metrics?

    Set-AzureStorageServiceMetricsProperty -MetricsType Minute 
    -ServiceType Blob -MetricsLevel ServiceAndApi  -RetentionDays 5

    Have you confirmed that the Storage Metrics has been successfully enabled?
    To retrieve metrics you could us:

    Get-AzureStorageServiceMetricsProperty -MetricsType Hour 
    -ServiceType Blob

    You could refer the following link for details:


    Thursday, November 5, 2015 11:36 AM
  • Hi,

    The error for Set-AzureStorageServiceMetricsProperty is the same.

    Set-AzureStorageServiceMetricsProperty : It doesn't support metrics in Microsoft Azure File service.

    It works for the ServiceType blob, but not with files.

    The documentation in your link says

    ServiceType possible value are BlobQueueTable, and File.

    However this page says

    Specifies the storage service type. This cmdlet modifies the metrics properties for the service type that this parameter specifies. Valid values are: 

    -- Blob 
    -- Table
    -- Queue
    -- File

    The value of File is not currently supported.

    My version of the PowerShell azure module is 0.9.12

    And several other sources says that metrics are supported for files

    Azure Storage Analytics now supports metrics for File storage. With metrics data, you can trace requests and diagnose issues.

    Thursday, November 5, 2015 2:42 PM
  • Hi ogaumond,

    I recommend that you update your PowerShell cmdlets. The newest version is It can be found here:

    I'm betting you aren't using a new enough version of PowerShell.


    Saturday, November 7, 2015 12:04 AM