<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Storage Account Archives - AzureOps</title>
	<atom:link href="https://azureops.org/articles/category/azure/storage-account/feed/" rel="self" type="application/rss+xml" />
	<link>https://azureops.org/articles/category/azure/storage-account/</link>
	<description>Notable things about Cloud, Data and DevOps.</description>
	<lastBuildDate>Mon, 20 May 2024 07:35:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/azureops.org/wp-content/uploads/2021/04/cropped-android-chrome-512x512-1.png?fit=32%2C32&#038;ssl=1</url>
	<title>Storage Account Archives - AzureOps</title>
	<link>https://azureops.org/articles/category/azure/storage-account/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">190208641</site>	<item>
		<title>Send Blob Files via Email using Logic Apps</title>
		<link>https://azureops.org/articles/send-blob-files-via-email/</link>
		
		<dc:creator><![CDATA[Kunal Rathi]]></dc:creator>
		<pubDate>Fri, 03 May 2024 10:30:05 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Logic App]]></category>
		<category><![CDATA[Storage Account]]></category>
		<category><![CDATA[azure blob storage files]]></category>
		<category><![CDATA[logic apps workflows]]></category>
		<category><![CDATA[send email using logic apps]]></category>
		<guid isPermaLink="false">https://azureops.org/?p=7686</guid>

					<description><![CDATA[<p>This blog post details how to automate the process of sending blob files from Azure Blob Storage via email using Azure Logic Apps. It covers granting managed identity access to the Logic App, setting up triggers, listing and iterating blob files, and attaching them to emails with Office 365 integration. The workflow, once established, operates on a scheduled recurrence to send updated attachments efficiently.</p>
<p>The post <a href="https://azureops.org/articles/send-blob-files-via-email/">Send Blob Files via Email using Logic Apps</a> appeared first on <a href="https://azureops.org">AzureOps</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="">In today&#8217;s fast-paced world, efficiently sharing files is crucial. <strong>If you&#8217;re looking for a way to automate sending blob files stored in Azure Blob Storage directly via email, then look no further than Logic Apps!</strong> In this blog post, learn how to send blob files via email using Logic Apps. We will see how to set up a Logic app workflow that retrieves all blob file content and seamlessly attaches it to an email notification.</p>



<p class="has-pale-cyan-blue-background-color has-background"><strong>Prerequisites:</strong><br>1. <a href="https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview" target="_blank" rel="noreferrer noopener">Azure Storage account</a> in Azure resource group with some blob files. <br>2. <a href="https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-overview" target="_blank" rel="noreferrer noopener">Azure logic App</a> services created in Azure resource group.<br>3. Office 365 email account for sending emails.</p>



<h2 class="wp-block-heading">Grant access to Azure Logic app on Azure Storage Account</h2>



<p class="">To access Azure storage blob files from Azure logic app, we can grant managed identity access to Azure logic app on Azure Storage Account.</p>



<p class="">1. Navigate to Azure storage account resource in Azure portal and &#8216;Access Control (IAM)&#8217;. Click the &#8216;Add&#8217; button and search for the Azure Logic Apps resource.</p>



<p class="">2. Click Save. </p>



<figure class="wp-block-image size-large is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?ssl=1"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="1200" height="501" data-attachment-id="7695" data-permalink="https://azureops.org/articles/send-blob-files-via-email/grant-acess-to-azure-logc-app-on-azure-storage-account/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?fit=1302%2C544&amp;ssl=1" data-orig-size="1302,544" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Grant-acess-to-Azure-logc-app-on-Azure-storage-account" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?fit=1200%2C501&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?resize=1200%2C501&#038;ssl=1" alt="" class="wp-image-7695" style="width:962px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?resize=1200%2C501&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?resize=300%2C125&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?resize=768%2C321&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?resize=450%2C188&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?resize=600%2C251&amp;ssl=1 600w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Grant-acess-to-Azure-logc-app-on-Azure-storage-account.png?w=1302&amp;ssl=1 1302w" sizes="(max-width: 1200px) 100vw, 1200px" /></a></figure>



<h2 class="wp-block-heading">Set up Logic app workflow to send blob files via email</h2>



<p class="">Open Logic app designer under &#8216;Development tools&#8217; of Logic app. Define a trigger for the flow. There are various trigger options available. For this post, I have chosen a recurrence schedule as a trigger that runs the flow at a specified frequency.</p>



<p class="">Click &#8216;Add an action&#8217; button under the trigger. Use the &#8216;Initialize variable&#8217; task and define a variable of type array (named <code>blobs</code>) that will hold all the attachments to be sent over email. For now, keep its Value blank.</p>



<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Initialise-a-variable-in-logic-app.png?ssl=1"><img data-recalc-dims="1" decoding="async" width="937" height="347" data-attachment-id="7690" data-permalink="https://azureops.org/articles/send-blob-files-via-email/initialise-a-variable-in-logic-app/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Initialise-a-variable-in-logic-app.png?fit=937%2C347&amp;ssl=1" data-orig-size="937,347" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Initialise-a-variable-in-logic-app" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Initialise-a-variable-in-logic-app.png?fit=937%2C347&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Initialise-a-variable-in-logic-app.png?resize=937%2C347&#038;ssl=1" alt="" class="wp-image-7690" style="width:686px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Initialise-a-variable-in-logic-app.png?w=937&amp;ssl=1 937w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Initialise-a-variable-in-logic-app.png?resize=300%2C111&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Initialise-a-variable-in-logic-app.png?resize=768%2C284&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Initialise-a-variable-in-logic-app.png?resize=450%2C167&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Initialise-a-variable-in-logic-app.png?resize=600%2C222&amp;ssl=1 600w" sizes="(max-width: 937px) 100vw, 937px" /></a></figure>



<h3 class="wp-block-heading">Get the list of blobs from the storage account</h3>



<p class="">1. Get the list of blob files from Azure storage account that we need to send over email. Use the &#8216;List blobs (V2)&#8217; task as shown in the below image.</p>



<p class="">2. At the bottom of the task, Click the &#8216;Connection&#8217; button and create a new one. Provide a name to the connection and choose &#8216;Logic Apps Managed Identity&#8217; as an Authentication Type. And Click Save. This will create an API endpoint for Azure Storage Account resource. This API connection can also be seen under &#8216;Development tools&#8217; in Logic app.</p>



<div class="wp-block-uagb-container uagb-block-69b3f9e7 alignfull uagb-is-root-container"><div class="uagb-container-inner-blocks-wrap">
<div class="wp-block-uagb-container uagb-block-555d5541">
<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/List-blobs-task-in-Azure-logic-apps.png?ssl=1"><img data-recalc-dims="1" decoding="async" width="977" height="550" data-attachment-id="7694" data-permalink="https://azureops.org/articles/send-blob-files-via-email/list-blobs-task-in-azure-logic-apps/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/List-blobs-task-in-Azure-logic-apps.png?fit=977%2C550&amp;ssl=1" data-orig-size="977,550" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="List-blobs-task-in-Azure-logic-apps" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/List-blobs-task-in-Azure-logic-apps.png?fit=977%2C550&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/List-blobs-task-in-Azure-logic-apps.png?resize=977%2C550&#038;ssl=1" alt="Send Blob Files via Email using Logic App" class="wp-image-7694" style="width:615px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/List-blobs-task-in-Azure-logic-apps.png?w=977&amp;ssl=1 977w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/List-blobs-task-in-Azure-logic-apps.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/List-blobs-task-in-Azure-logic-apps.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/List-blobs-task-in-Azure-logic-apps.png?resize=450%2C253&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/List-blobs-task-in-Azure-logic-apps.png?resize=600%2C338&amp;ssl=1 600w" sizes="(max-width: 977px) 100vw, 977px" /></a></figure>
</div>



<div class="wp-block-uagb-container uagb-block-79d806df">
<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Set-connection-option-in-List-blob-task-in-logic-app.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="632" height="404" data-attachment-id="7697" data-permalink="https://azureops.org/articles/send-blob-files-via-email/set-connection-option-in-list-blob-task-in-logic-app/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Set-connection-option-in-List-blob-task-in-logic-app.png?fit=632%2C404&amp;ssl=1" data-orig-size="632,404" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Set-connection-option-in-List-blob-task-in-logic-app" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Set-connection-option-in-List-blob-task-in-logic-app.png?fit=632%2C404&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Set-connection-option-in-List-blob-task-in-logic-app.png?resize=632%2C404&#038;ssl=1" alt="" class="wp-image-7697" style="width:486px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Set-connection-option-in-List-blob-task-in-logic-app.png?w=632&amp;ssl=1 632w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Set-connection-option-in-List-blob-task-in-logic-app.png?resize=300%2C192&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Set-connection-option-in-List-blob-task-in-logic-app.png?resize=450%2C288&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Set-connection-option-in-List-blob-task-in-logic-app.png?resize=600%2C384&amp;ssl=1 600w" sizes="(max-width: 632px) 100vw, 632px" /></a></figure>
</div>
</div></div>



<figure class="is-style-default wp-block-image size-large is-resized"><a href="https://marketplace.visualstudio.com/items?itemName=AzureOps.ssiscatalogerpro&amp;ssr=false#overview" target="_blank" rel="noopener"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1200" height="148" data-attachment-id="4839" data-permalink="https://azureops.org/articles/azure-data-studio-for-sql-developers/scmw-horizontal-ad/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?fit=1326%2C163&amp;ssl=1" data-orig-size="1326,163" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SCMW-horizontal-ad" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?fit=1200%2C148&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=1200%2C148&#038;ssl=1" alt="" class="wp-image-4839" style="object-fit:cover;width:811px;height:99px" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=1200%2C148&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=450%2C55&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=600%2C74&amp;ssl=1 600w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=300%2C37&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=768%2C94&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?w=1326&amp;ssl=1 1326w" sizes="(max-width: 1200px) 100vw, 1200px" /></a></figure>



<p class="">3. Once the connection is established, provide the name of the Storage Account in &#8216;Storage Account Name or Blob Endpoint&#8217; field.</p>



<p class="">4. Provide the Folder path. You can use expression if you have a dynamic folder structure e.g. dated folders.  </p>



<p class="">5. Choose other settings as per your needs or leave them as default.</p>



<h3 class="wp-block-heading">Iterate blob files from the storage account</h3>



<p class="">Iterate all the blob files that we need to send over email and append the content of the files to the array variable <code>blobs</code> that we defined earlier.</p>



<p class="">1. Use the &#8216;For each&#8217; task after the &#8216;List Blobs (V2)&#8217; task. Click the task header and use the <code>value</code> variable from the &#8216;List Blobs (V2)&#8217; task outcome. This variable holds metadata of all the blobs discovered from the &#8216;List blobs (V2)&#8217; task.</p>



<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Use-for-each-loop-interator-in-Azure-logc-app.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="969" height="430" data-attachment-id="7704" data-permalink="https://azureops.org/articles/send-blob-files-via-email/use-for-each-loop-interator-in-azure-logc-app/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Use-for-each-loop-interator-in-Azure-logc-app.png?fit=969%2C430&amp;ssl=1" data-orig-size="969,430" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Use-for-each-loop-interator-in-Azure-logc-app" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Use-for-each-loop-interator-in-Azure-logc-app.png?fit=969%2C430&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Use-for-each-loop-interator-in-Azure-logc-app.png?resize=969%2C430&#038;ssl=1" alt="Send Blob Files via Email - iterate all blob files in logic app" class="wp-image-7704" style="width:783px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Use-for-each-loop-interator-in-Azure-logc-app.png?w=969&amp;ssl=1 969w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Use-for-each-loop-interator-in-Azure-logc-app.png?resize=300%2C133&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Use-for-each-loop-interator-in-Azure-logc-app.png?resize=768%2C341&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Use-for-each-loop-interator-in-Azure-logc-app.png?resize=450%2C200&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Use-for-each-loop-interator-in-Azure-logc-app.png?resize=600%2C266&amp;ssl=1 600w" sizes="(max-width: 969px) 100vw, 969px" /></a></figure>



<p class="">2. Get each blob content from the storage account using the &#8216;Get blob content (V2)&#8217; task. On the connection setting, choose the same connection for the storage account we created for the &#8216;List blobs V(2)&#8217; task.</p>



<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Get-blob-content-using-logic-app.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="923" height="559" data-attachment-id="7707" data-permalink="https://azureops.org/articles/send-blob-files-via-email/get-blob-content-using-logic-app/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Get-blob-content-using-logic-app.png?fit=923%2C559&amp;ssl=1" data-orig-size="923,559" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Get-blob-content-using-logic-app" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Get-blob-content-using-logic-app.png?fit=923%2C559&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Get-blob-content-using-logic-app.png?resize=923%2C559&#038;ssl=1" alt="" class="wp-image-7707" style="width:676px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Get-blob-content-using-logic-app.png?w=923&amp;ssl=1 923w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Get-blob-content-using-logic-app.png?resize=300%2C182&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Get-blob-content-using-logic-app.png?resize=768%2C465&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Get-blob-content-using-logic-app.png?resize=450%2C273&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Get-blob-content-using-logic-app.png?resize=600%2C363&amp;ssl=1 600w" sizes="(max-width: 923px) 100vw, 923px" /></a></figure>



<p class="">3. Provide the name of the storage account under &#8216;Storage Account Name or Blob Endpoint&#8217;. For &#8216;Blob&#8217;, use the <code>Path</code> variable. <code>Path </code>variable is the outcome of &#8216;For each&#8217; task iterator and it holds the path of the current blob file.</p>



<p class="">4. Keep other settings as default and click save.</p>



<p class="">5. Use the &#8216;Append to array variable&#8217; task after the &#8216;Get blob content(V2)&#8217; task. Choose <code>blobs</code> variable from the Name drop-down. This is the same variable that we had initiated earlier.</p>



<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Append-blobs-to-array-variable-in-logic-app.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1016" height="361" data-attachment-id="7713" data-permalink="https://azureops.org/articles/send-blob-files-via-email/append-blobs-to-array-variable-in-logic-app/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Append-blobs-to-array-variable-in-logic-app.png?fit=1016%2C361&amp;ssl=1" data-orig-size="1016,361" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Append-blobs-to-array-variable-in-logic-app" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Append-blobs-to-array-variable-in-logic-app.png?fit=1016%2C361&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Append-blobs-to-array-variable-in-logic-app.png?resize=1016%2C361&#038;ssl=1" alt="" class="wp-image-7713" style="width:825px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Append-blobs-to-array-variable-in-logic-app.png?w=1016&amp;ssl=1 1016w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Append-blobs-to-array-variable-in-logic-app.png?resize=300%2C107&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Append-blobs-to-array-variable-in-logic-app.png?resize=768%2C273&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Append-blobs-to-array-variable-in-logic-app.png?resize=450%2C160&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Append-blobs-to-array-variable-in-logic-app.png?resize=600%2C213&amp;ssl=1 600w" sizes="(max-width: 1016px) 100vw, 1016px" /></a></figure>



<p class="">6. For the value section, use the below expression. </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: xml; auto-links: false; gutter: false; title: ; notranslate">
{
  &quot;ContentBytes&quot;: &quot;@{body(&#039;Get_blob_content_(V2)&#039;)?&#x5B;&#039;$content&#039;]}&quot;,
  &quot;Name&quot;: &quot;@{items(&#039;For_each&#039;)?&#x5B;&#039;Name&#039;]}&quot;
}
</pre></div>


<h3 class="wp-block-heading">Send email attachments using the Send an email(V2) task</h3>



<p class="">We are all set to send the attachments via email.</p>



<p class="">1. Use the &#8216;Send an email(V2)&#8217; task just after the &#8216;For each&#8217; task as shown in the below image.</p>



<p class="">2. To use this task, create an Office 365 connection. This will be the email address that will be used to send emails. Click the &#8216;Connection&#8217; button at the bottom of the task and sign in using your Office 365 account. This will create an Office 365 API connection resource in Azure resource group.</p>



<p class="">3. Once the connection is created, provide To, Subject, and Body variable values to the task. It is possible to initialize the HTML body using a custom variable.  </p>



<div class="wp-block-uagb-container uagb-block-a511d12c alignfull uagb-is-root-container"><div class="uagb-container-inner-blocks-wrap">
<div class="wp-block-uagb-container uagb-block-ac0fb162">
<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1034" height="747" data-attachment-id="7717" data-permalink="https://azureops.org/articles/send-blob-files-via-email/send-an-email-in-logic-app/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?fit=1034%2C747&amp;ssl=1" data-orig-size="1034,747" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Send-an-email-in-logic-app" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?fit=1034%2C747&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?resize=1034%2C747&#038;ssl=1" alt="Send Blob Files via Email using Logic App" class="wp-image-7717" style="width:548px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?w=1034&amp;ssl=1 1034w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?resize=300%2C217&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?resize=858%2C620&amp;ssl=1 858w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?resize=768%2C555&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?resize=450%2C325&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Send-an-email-in-logic-app.png?resize=600%2C433&amp;ssl=1 600w" sizes="(max-width: 1034px) 100vw, 1034px" /></a></figure>
</div>



<div class="wp-block-uagb-container uagb-block-eb1a2f68">
<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Create-O365-connection-for-send-email-task-in-Logci-app.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="577" height="290" data-attachment-id="7719" data-permalink="https://azureops.org/articles/send-blob-files-via-email/create-o365-connection-for-send-email-task-in-logci-app/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Create-O365-connection-for-send-email-task-in-Logci-app.png?fit=577%2C290&amp;ssl=1" data-orig-size="577,290" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Create-O365-connection-for-send-email-task-in-Logci-app" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Create-O365-connection-for-send-email-task-in-Logci-app.png?fit=577%2C290&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Create-O365-connection-for-send-email-task-in-Logci-app.png?resize=577%2C290&#038;ssl=1" alt="" class="wp-image-7719" style="width:450px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Create-O365-connection-for-send-email-task-in-Logci-app.png?w=577&amp;ssl=1 577w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Create-O365-connection-for-send-email-task-in-Logci-app.png?resize=300%2C151&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2024/05/Create-O365-connection-for-send-email-task-in-Logci-app.png?resize=450%2C226&amp;ssl=1 450w" sizes="(max-width: 577px) 100vw, 577px" /></a></figure>
</div>
</div></div>



<p class="">4. To enable Attachments, click &#8216;Advanced parameters&#8217; and choose &#8216;Attachments&#8217;. Click on the right corner of the attachments to&nbsp;&#8216;Switch to input the entire array&#8217; mode.</p>



<p class="">5. Use <code>blobs</code> variable as an expression for this section. This variable holds all the attachment content.</p>



<p class="">That&#8217;s it! The Logic app workflow is ready to send files from the storage account as an email attachment.</p>



<h2 class="wp-block-heading">Test the workflow</h2>



<p class="">To test the workflow, Click the &#8216;Run&#8217; button in the Logic app. This will run the workflow and if everything goes well, the receiver will receive an email with all blob files attached in an email.</p>



<p class="has-background" style="background-color:#bcefca"><strong>Pro tips:</strong><br>1. This post covers the basic workflow to send blob files via email using Logic Apps. You may need to add workflow logic in case there are no blob files available in the storage account. This will avoid failures in the Logic Apps.<br>2. Refer to <a href="https://azureops.org/articles/implement-azure-sql-database-deployment-ci-cd-pipeline/" target="_blank" rel="noreferrer noopener">this </a>post to learn how to automate Azure SQL database deployments using Azure DevOps.</p>



<h2 class="wp-block-heading">See more</h2>



<iframe width="700" height="394" src="https://www.youtube.com/embed/8YVrxCgdiIg?si=jQ6skABMZiloGfP-" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>



<p class=""></p>
<p>The post <a href="https://azureops.org/articles/send-blob-files-via-email/">Send Blob Files via Email using Logic Apps</a> appeared first on <a href="https://azureops.org">AzureOps</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7686</post-id>	</item>
		<item>
		<title>Automatically Delete Old Files from Azure Storage Account</title>
		<link>https://azureops.org/articles/automatically-delete-old-files-from-azure-storage-account/</link>
		
		<dc:creator><![CDATA[Kunal Rathi]]></dc:creator>
		<pubDate>Sun, 25 Jun 2023 10:25:09 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Data Lake]]></category>
		<category><![CDATA[Storage Account]]></category>
		<guid isPermaLink="false">https://azureops.org/?p=6057</guid>

					<description><![CDATA[<p>Follow these quick steps to periodically delete old files from Azure storage account.</p>
<p>The post <a href="https://azureops.org/articles/automatically-delete-old-files-from-azure-storage-account/">Automatically Delete Old Files from Azure Storage Account</a> appeared first on <a href="https://azureops.org">AzureOps</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class=""><a href="https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview" target="_blank" rel="noreferrer noopener">Azure storage accounts</a> are a type of cloud storage offered by Microsoft Azure that allows users to store and manage data in various formats, such as files, blobs, tables, and queues. These storage accounts can be accessed from anywhere in the world and can be integrated with other Azure services to build scalable, reliable, and cost-effective solutions. Additionally, they offer features such as data encryption, redundancy, and automatic tiering to ensure data is secure and easily accessible. This article describes how to Automatically Delete old files from Azure Storage Account.</p>



<h3 class="wp-block-heading">Follow the below steps to enable the Automatic Deletion of Blobs from Azure Storage Account.</h3>



<p class="">1. Connect to the Azure storage account on which you need to enable the automatic blob deletion process. </p>



<p class="">2. Click on Lifecycle management under the Data management section, as shown in the image below.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1200" height="586" data-attachment-id="6059" data-permalink="https://azureops.org/articles/automatically-delete-old-files-from-azure-storage-account/attachment/2/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/2.jpg?fit=1328%2C649&amp;ssl=1" data-orig-size="1328,649" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Create new lifecycle management rule in Azure storage account" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/2.jpg?fit=1200%2C586&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/2.jpg?resize=1200%2C586&#038;ssl=1" alt="Automatically Delete Blogs from Azure Storage Account" class="wp-image-6059" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/2.jpg?resize=1200%2C586&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/2.jpg?resize=450%2C220&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/2.jpg?resize=600%2C293&amp;ssl=1 600w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/2.jpg?resize=300%2C147&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/2.jpg?resize=768%2C375&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/2.jpg?w=1328&amp;ssl=1 1328w" sizes="(max-width: 1200px) 100vw, 1200px" /></figure>



<p class="">3. Click on Add a rule button to create a new deletion policy.<br>4. Provide a name to the rule and select the Rule scope. If you want to apply a filter to limit the rule to specific blobs, you can do it with the &#8216;Limit blobs with filters&#8217; option. </p>



<figure class="is-style-default wp-block-image size-large is-resized"><a href="https://marketplace.visualstudio.com/items?itemName=AzureOps.ssiscatalogerpro&amp;ssr=false#overview" target="_blank" rel="noopener"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1200" height="148" data-attachment-id="4839" data-permalink="https://azureops.org/articles/azure-data-studio-for-sql-developers/scmw-horizontal-ad/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?fit=1326%2C163&amp;ssl=1" data-orig-size="1326,163" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SCMW-horizontal-ad" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?fit=1200%2C148&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=1200%2C148&#038;ssl=1" alt="" class="wp-image-4839" style="object-fit:cover;width:811px;height:99px" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=1200%2C148&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=450%2C55&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=600%2C74&amp;ssl=1 600w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=300%2C37&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=768%2C94&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?w=1326&amp;ssl=1 1326w" sizes="(max-width: 1200px) 100vw, 1200px" /></a></figure>



<figure class="wp-block-image size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1032" height="754" data-attachment-id="6060" data-permalink="https://azureops.org/articles/automatically-delete-old-files-from-azure-storage-account/attachment/3/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/3.jpg?fit=1032%2C754&amp;ssl=1" data-orig-size="1032,754" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="3" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/3.jpg?fit=1032%2C754&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/3.jpg?resize=1032%2C754&#038;ssl=1" alt="How to automatically delete blobs from Azure data lake." class="wp-image-6060" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/3.jpg?w=1032&amp;ssl=1 1032w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/3.jpg?resize=450%2C329&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/3.jpg?resize=600%2C438&amp;ssl=1 600w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/3.jpg?resize=300%2C219&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/3.jpg?resize=849%2C620&amp;ssl=1 849w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/3.jpg?resize=768%2C561&amp;ssl=1 768w" sizes="(max-width: 1032px) 100vw, 1032px" /></figure>



<p class="">5. Specify the Blob type and Blob subtypes and click Next.</p>



<p class="">6. To automatically delete blobs, you can create a rule and click &#8220;Add&#8221;. For instance, if you wish to remove blobs that are over 14 days old, you can specify a rule as demonstrated in the image below. Additionally, you have the option to transfer old files to cool storage instead of deleting them.</p>



<figure class="wp-block-image size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1032" height="738" data-attachment-id="6115" data-permalink="https://azureops.org/articles/automatically-delete-old-files-from-azure-storage-account/4-2/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/4.jpg?fit=1032%2C738&amp;ssl=1" data-orig-size="1032,738" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="4" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/4.jpg?fit=1032%2C738&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/4.jpg?resize=1032%2C738&#038;ssl=1" alt="set a rule to Automatically Delete Blogs from Azure Storage Account." class="wp-image-6115" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/4.jpg?w=1032&amp;ssl=1 1032w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/4.jpg?resize=450%2C322&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/4.jpg?resize=600%2C429&amp;ssl=1 600w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/4.jpg?resize=300%2C215&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/4.jpg?resize=867%2C620&amp;ssl=1 867w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/06/4.jpg?resize=768%2C549&amp;ssl=1 768w" sizes="(max-width: 1032px) 100vw, 1032px" /></figure>



<p class="">That&#8217;s it, we have successfully set a rule to Automatically Delete old files from Azure Storage Account.</p>



<p class="has-background" style="background-color:#bcefca"><strong>Pro tips:</strong><br>1. Be careful with above settings to delete older files in case of delta lake files.<br>2. <a href="https://azureops.org/articles/mount-and-unmount-data-lake-in-databricks/" target="_blank" rel="noreferrer noopener">Learn</a> how to mount and unmount a data lake storage in Databricks.</p>



<h2 class="wp-block-heading">See more</h2>



<iframe width="700" height="394" src="https://www.youtube.com/embed/t2h6xNVFQkc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="is-style-fill wp-block-button"><a class="wp-block-button__link has-white-color has-blush-light-purple-gradient-background has-text-color has-background has-link-color wp-element-button" href="https://azureops.org/product/ssis-catalog-migration-wizard-pro/" target="_blank" rel="noreferrer noopener">Download Now</a></div>
</div>
<p>The post <a href="https://azureops.org/articles/automatically-delete-old-files-from-azure-storage-account/">Automatically Delete Old Files from Azure Storage Account</a> appeared first on <a href="https://azureops.org">AzureOps</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6057</post-id>	</item>
	</channel>
</rss>
