Steps to perform Microsoft Azure Storage Append Block operation
Tags: microsoft, azure, cloud, tutorial
Published: 2021-08-26 09:03:35

---
title: Steps to perform Microsoft Azure Storage Append Block operation
published: true
date: 2021-03-23 08:17:59 UTC
tags: #microsoft, #azure, #cloud, #tutorial
canonical_url: https://tech.forums.softwareag.com/t/steps-to-perform-microsoft-azure-storage-append-block-operation/239921/1
---

##Summary:

This article describes step-by-step process of performing Append Block operation in **Microsoft Azure Storage.**

To perform Append Block operation, Put Blob operation needs to be executed first. Put Blob call creates append blob and only initializes the blob, to add content to an append blob Append Block operation should be performed.

##Prerequisites:

• The user needs to have a working **Microsoft Azure Storage** Account  
• Working [webMethods.io](http://webMethods.io) tenant

##Contents:

How to create flow service to perform Append Block operation in **Microsoft Azure Storage**

##Steps:

1. Select **Microsoft Azure Storage v2019-12-12** connector and Select predefined operation blobPutBlob  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/e/e5bf82290f61c50d1ee7d7fae9be905e6abb5fec.png)  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/a/acea23f3e7d74362601731833774954af97d51c7.png)

2. Provide input fields: type as AppendBlob, containerName and blobName to create Append Blob  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/5/51c5ae1aec12c903017b893f9c6ecd15a520ba75.png)  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/d/d6fa7f0eb72586a8afde87c1c9fe3dc54cd89587.png)

3. Use **Amazon S3** connector to pass file as stream to appendBlock operation  
(Upload file to **Amazon S3** by following article [FlowService for uploading files to Amazon Simple Storage Service (S3) bucket in webMethods.io - Knowledge base - Software AG Tech Community & Forums](https://tech.forums.softwareag.com/t/flowservice-for-uploading-files-to-amazon-simple-storage-service-s3-bucket-in-webmethods-io/237513) )
After uploading file to **Amazon S3** , Select **Amazon S3** connector in flow service, select operation getObject and provide input bucketName and objectName
![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/7/7e0b6bb3ede3a62b11a8d4b3c6beda2d6c016a41.png)  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/b/b27f50b90662e228d5709417dc47f8c5ada22d12.png)
4. Select **Microsoft Azure Storage** predefined operation blobAppendBlock to add content to an append blob created using Put Blob operation  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/a/ae7fb2f05a31e726090f2effd048cc8f586723ac.png)
5. Map input fields and name the flow service and click on Save  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/e/e957036b6ce3331e8fac325b240f9763729b9834.png)  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/6/6e47d95ef355f6c9b5a6ece744d95977961f49fb.png)
6. Run the created flow service  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/2/2ac343ecd2dc5f9511527fe336ef288a60e3bbb0.png)  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/f/fbbfbc9fb930799255b04c355a42dd22fcc99a68.png)
7. After successful execution of the operation, we can verify the created append blob and content from the Azure portal.  
 ![image](https://aws1.discourse-cdn.com/techcommunity/original/2X/d/df0d761a8022b984eb816469d48c097eab214f01.png)

**Sample Flow:**  
[Azure\_Storage\_blobAppendBlock\_recipe.zip](/uploads/short-url/maMxbqOfYREnXGPo6aykzhsL7aF.zip) (7.4 KB)

[Read full topic](https://tech.forums.softwareag.com/t/steps-to-perform-microsoft-azure-storage-append-block-operation/239921/1)