I keep getting this error when I try to enable Diagnostics on a Azure cloud service webrole using Server Explorer in Visual Studio 2015:
Adding Diagnostics extension to Role failed: Validation failed on PublicConfig element for the extension with error: The element 'Metrics' in namespace 'http:schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration' has incomplete content. List of possible elements expected: 'MetricAggregation' in namespace 'http:schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration'. Microsoft.Cct.StatusWindow.DispatchedStatusItemContainer
This message pops up after I select a storage account en then click OK in the diagnostics configuration.
How can I successfully enable diagnostics?