Azure / Azure/Azure-Functions

Blob Output Binding for Immutable Blob Container

Open
#2,340 3 comments 0 reactions 1 assignee Claimed by @bhagyshricompany View on GitHub
area: documentation Needs: Attention :wave:
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

Hello,

I need to store blobs to Immutable Blob Container. For this purpose I create Function App (.net 6 isolated) with Blob Output Binding.
Everything works perfectly until I configured Immutable policy (Time-based retention) on the target container. Function App shows 409 Conflict response from blob storage.

From logs I see that SDK failed to find the blob.
![image](https://user-images.githubusercontent.com/27290203/220185959-aa85336f-fcf1-46f0-a142-60755bf02137.png)

After that it creates the empty blob.
![image](https://user-images.githubusercontent.com/27290203/220186223-784d1a3d-bead-403f-9fd5-7c7c6c67a576.png)

And then tries to update the contents. But gets the error because the container is immutable.
![image](https://user-images.githubusercontent.com/27290203/220186454-7682ce7b-5fb9-4645-b663-8950b565619f.png)

**My question.**
How to configure Blob Output Binding to store blobs in an Immutable Blob Container?

Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.