azure-webjobs-sdk: AzureWebJobsDashboard not working with ZRS storage

Repro steps

  1. Create a ZRS, Resource Manager, General Purpose storage

  2. Use the connection string as input parameter of the JobHostConfiguration

  3. Receive a message (Service Bus in my case but I don’t think it matters)

Expected behavior

Webjob logging entries to the dashboard

Actual behavior

Getting an exception: Unhandled Exception: System.InvalidOperationException: Storage account 'accountname' is of unsupported type 'BlobOnly'. Supported types are 'GeneralPurpose' Web job when published to an Azure app service, keeps restarting.

Known workarounds

Creating and using a GRS instead.

Related information

WebJob SDK 2.0.0.0, .NET “classic” 4.5.2

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 16 (11 by maintainers)

Most upvoted comments

Yep, the error could be improved to indicate that it could be a blob-only or ZRS account. We unfortunately have no way to discover exactly what type of account you have from the connection string.

I can update the docs to indicate that ZRS accounts are not supported as well