Logic App Standard: extension bundle doesn’t support connecting to the storage account using Managed Service Identity

I have a Logic App Standard with two workflows, one uses a manual trigger and the other a timer trigger. Both run successfully locally in VSCode. Once deployed to Azure, the function app fails with the following error:
Microsoft.WindowsAzure.Storage: Value cannot be null. (Parameter ‘connectionString’).

It seems that the extension bundle in use doesn’t support Managed Service Identity (MSI) when connecting to the storage account, here is my host.json:

{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": true,
        "excludedTypes": "Request"
      }
    }
  },
  "extensionBundle": {
    "id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
    "version": "[1.*, 2.0.0)"
  }
}

I have added the following application setting already but it doesn’t seem to be supported:

AzureWebJobsStorage__accountName=storageaccountname

Any guidance or advice in where to look in order to find out where the problem is?

Note that there is a policy in place preventing the use of access keys for storage accounts hence the need to connect using MSI.

6

Standard logic app by default connects to storage account using connection string but if you would like to use identity based connection then you need to go for user assigned managed identity as of now user assigned managed identity is only supported.

You can also refer to this MS Doc which says the same.

By default, your Standard logic app authenticates access to your Azure Storage account by using a connection string. However, you can set up a user-assigned managed identity to authenticate access instead.

In order to authenticate using user-assigned managed identity and disable the use of storage connection string, you need to create the logic app in App Service Environment v3 hosting option.

Add the below RBAC roles to user assigned managed identity instance in storage account.

  • Storage Account Contributor
  • Storage Blob Data Owner
  • Storage Queue Data Contributor
  • Storage Table Data Contributor

Add the user-assigned managed identity to your standard logic app instance.

Delete AzureWebJobsStorage from App settings and use the below given values.

  • AzureWebJobsStorage__managedIdentityResourceId :- Resource Id of User-assigned managed Identity

  • AzureWebJobsStorage__blobServiceUri :- Storage Blob Service Uri

  • AzureWebJobsStorage__queueServiceUri :- Storage Queue Service Uri

  • AzureWebJobsStorage__tableServiceUri :- Storage Table Service Uri

  • AzureWebJobsStorage__credential :- managedIdentity

Save the changes. You might get a message “AzureWebjobsStorage” app setting is not present. in Overview blade of your logic app but it will not affect the logic app and will work as expected.

Recognized by Microsoft Azure Collective

1

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật