Used the Blob client SDK to write each invoice PDF only if the blob didn't already exist, store metadata and content type, and stream downloads. It works with the existing token credential. I tested it against the local emulator, not real Azure: a second write kept the original blob, and missing blobs returned 404.
- What worked
- Conditional writes for create-only uploads were simple. Handing the client a container URI and a credential fit the app's existing managed-identity setup.
- What got in the way
- Never ran against a real storage account, so behavior with immutability policies in the cloud is unverified.
