<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nisal Wickramage on Medium]]></title>
        <description><![CDATA[Stories by Nisal Wickramage on Medium]]></description>
        <link>https://medium.com/@nisalwickramage?source=rss-cd4d9e355686------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KOZ5_7zeW6mCR7T9dVGpFw.jpeg</url>
            <title>Stories by Nisal Wickramage on Medium</title>
            <link>https://medium.com/@nisalwickramage?source=rss-cd4d9e355686------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:48:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nisalwickramage/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Monitoring Azure Functions with Azure Monitor & Application Insights]]></title>
            <link>https://nisalwickramage.medium.com/monitoring-azure-functions-with-azure-monitor-application-insights-879b8f5c2c65?source=rss-cd4d9e355686------2</link>
            <guid isPermaLink="false">https://medium.com/p/879b8f5c2c65</guid>
            <category><![CDATA[azure-functions]]></category>
            <category><![CDATA[azure-monitoring]]></category>
            <category><![CDATA[application-insights]]></category>
            <dc:creator><![CDATA[Nisal Wickramage]]></dc:creator>
            <pubDate>Sat, 15 Jan 2022 14:40:46 GMT</pubDate>
            <atom:updated>2022-01-24T15:52:55.929Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYfnro3SlC44%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYfnro3SlC44&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FYfnro3SlC44%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/af228aa36457888399cd6cfa2f4e61a0/href">https://medium.com/media/af228aa36457888399cd6cfa2f4e61a0/href</a></iframe><h4>Why Monitor Azure Functions (really any computing resource)</h4><p>No software application is perfect. Azure Function applications are no exception. Your azure functions can fail due many reasons such as;</p><ul><li>Application Bugs</li><li>Infrastructure and network issues</li><li>Resource limitations</li></ul><p>Do your best to identify and fix any issues in your application before your code is deployed into production. But never overlook planning on how you can monitor your Azure Functions application. This article focuses on how to setup basic monitoring for function application. I will be using function app I have provisioned already.</p><p><em>If you are new to Azure Functions and interested in learning how to create a web api using azure functions you can head over to youtube video series on </em><a href="https://youtu.be/ATPRm4yZgBc"><em>Building Web API’s using Azure Functions</em></a><em> on Serverless Hub.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLqM-DR4rEaANtRmTPKArFkcjBc57pBZCL&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLqM-DR4rEaANtRmTPKArFkcjBc57pBZCL&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FATPRm4yZgBc%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLCipj3FA7IsD3S2Gp8dp-nVRNAWCQ%26days_since_epoch%3D19001&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e3674f4182221da0da70a808d581c3ed/href">https://medium.com/media/e3674f4182221da0da70a808d581c3ed/href</a></iframe><p>For the source code please visit my repo: <a href="https://github.com/nisal-wickramage/serverlesshub-azure-functions-backend/tree/d742a4e8fa92eea88128ba2dbf6acbaf952563a8">https://github.com/nisal-wickramage/serverlesshub-azure-functions-backend/tree/d742a4e8fa92eea88128ba2dbf6acbaf952563a8</a></p><h4>What to Monitor</h4><p>Health of your application is two fold.</p><ul><li>Application Health</li><li>Infrastructure and Network Health</li><li>Resource limitations</li></ul><p>We need to monitor application logs and built-in response status metrics to check application health and infrastructure and network health. Memory, data, bandwidth utilisation metrics can be used to identify resource limitations.</p><h4>How to Monitor Azure Functions</h4><p>We can use Azure Monitor Metrics to monitor resource utilisation for function apps, and Logs/ Log stream for application logs. For Logs/ Log stream you may need to enable application insights for certain function app hosting plans</p><p><strong>Exploring Logs and Logs Streams</strong></p><p>First step to is to enable application insights in your function app.</p><p>Go into you function app in azure portal. Look for Application Insights under Settings section in the side menu and click on it. Toggle to Enable create and attached application insight instance for the function app. By default the instance name will be the same name as your function app. If you want to change the name scroll down and type in the name of your choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ORjRsoFBWjxLXlIYoOrx8w.png" /></figure><p>Once the Application Insights is enabled go to Log Stream under monitoring from the side menu. Once the black coloured terminal alike screen says “connected!” try invoking a function. You will see bunch of log statement related to the function popup on the screen. You can use the Log Level drop down to filter logs by level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZbVkq73DUEV0aIB3cLXURw.png" /></figure><p>Log stream only helps you to see logs for function executing in precent. This is more useful when the rate of invocation is low, an environment like dev or testing. If you want to drill down to a set of log statements say by for a given time span we need to use Logs under monitoring. Once you go into logs it will prompt you with abundance of pre written queries that can be used for frequently required operational details. Once you close the prompt screen will look like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0dj0BYTkR7nPRv_0gKwS-A.png" /></figure><p>All the logs from the application and infrastructure are categorised and stored in tables. Available tables are highlighted in above screen. For this article we will only focus on tables <strong>exceptions</strong>, <strong>requests</strong> and <strong>traces</strong>. <strong>exception</strong> table records all the errors and exceptions. <strong>request</strong> table records the high level details about requests that the application handles like request start time, end time and request status. <strong>traces</strong> table records all of the application logs. The open area highlighted above can be used to write queries to read logs from the tables. These queries are written in Kusta query language, KQL for short. In this article we cover couple of queries. If you are interested in more information about KQL, please refer the documentation <a href="https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/">here</a>.</p><p>Get all failed requests for a given function for the last one hour.</p><pre>requests</pre><pre>| where success == false and name == &#39;CreateTodoItem&#39; and timestamp &gt; ago(1h)</pre><p>Get all logs for a given function for the last hour</p><pre>traces</pre><pre>| where operation_Name == ‘GetTodoItems’ and timestamp &gt; ago(1h)</pre><p><strong>Exploring Metrics and Alerts</strong></p><p><strong>Metrics</strong></p><p>Metrics are measurements that gives an idea on how application or infrastructure is performing. These values are collected by the monitoring tools over the time with set interval between two measurements. These measurements can be how much CPU/ memory/ bandwidth the application is using or number of function invocations/ number of successful executions/ number of failed executions etc. Azure functions has 2 build-in metrics which gives the execution count and the combined measurement of how much CPU x memory utilised. Following screen shows how we can navigate to built-in metrics page and select a metric to view the distribution. Scope is the azure resource that we are monitoring. Metrics are grouped in to namespaces to organise and store them optimally. Once the scope and namespace filters are selected metric can be selected together with the aggregation we need over the interval.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ox6u6JOddUMjoAjP3s4xdA.png" /></figure><p>Following screen shows the graphed results. Graph type can be changed to better visualise the metric distribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SILnfUBAWdmRI3XfKLtpQg.png" /></figure><p>For more metrics we can go into application insights. Once application insights page is opened goto metrics and there will be more metrics to choose from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wgJitMqsBg-Cjbkv6dXzzg.png" /></figure><p><strong>Alerts</strong></p><p>Monitoring logs and metrics helps us get an idea of the the current status of the application. But we cannot keep looking at them 24x7. That is why we need alerts. Alerts are a way to set thresholds for certain metrics, and get alerts when metric values goes beyond the thresholds. To create alerts, we can go to alerts section in the either application insights or function app page. Application insights page we have more metric options to monitor the application. Once in the page click on “+ create” and “Alert rule”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WYV-_njdTPcg4vZKUO5NPQ.png" /></figure><p>Then click on “Add condition” and select the metric.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WsqpSEnD8US1EtatOLS2qA.png" /></figure><p>Afterwards set the threshold value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ibONBZq1hM8hlWGyWoPug.png" /></figure><p>Finally name the alert and select the desired severity. Note that this will not inform anyone when alert is triggered. To do so we need to setup an action group in the actions section. Click “Create alert rule”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iSsxbEzWsNPr1GA1YnqL5g.png" /></figure><p>Once the alert is created and metric violates the threshold it will show up in the alerts page and we can go into the triggered alert and view more information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hjesrrQujI_A5ChLXwFXZA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*me8V4wRxsssjd-LlxmAZMg.png" /></figure><h4>Few Extras</h4><p><strong>Live Metrics</strong></p><p>This page gives a live view of the vital metrics such as rate of requests, request duration and request failure rate etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QJeRI3PAIK1B-slzxVyuFw.png" /></figure><p><strong>Failures</strong></p><p>This page summarises the failed requests and displays failed request count against time, failures grouped by function, and grouped my exception messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mkAfJPzK9zbsl7E3dbPJ5A.png" /></figure><p><strong>Performance</strong></p><p>This page gives an overview of time taken for request completion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2SxJunZnboMCGyxlwXPKIQ.png" /></figure><p><strong>Application Map</strong></p><p>Application maps gives a quick overview of the integrations in function app and a breakdown of the time taken at each azure service on average. For example following map show requests has taken 227 ms in function app and 69 ms to connect to cosmos db on average.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hmGHLJ7-IWY6b2PkWIx6nw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=879b8f5c2c65" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Azure Content Delivery Network (CDN)]]></title>
            <link>https://nisalwickramage.medium.com/azure-content-delivery-network-cdn-f9e4e0a6fb06?source=rss-cd4d9e355686------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9e4e0a6fb06</guid>
            <category><![CDATA[azure-serverless]]></category>
            <category><![CDATA[azure-cdn]]></category>
            <category><![CDATA[azure-storage-account]]></category>
            <category><![CDATA[azure-functions]]></category>
            <dc:creator><![CDATA[Nisal Wickramage]]></dc:creator>
            <pubDate>Sat, 25 Dec 2021 12:03:07 GMT</pubDate>
            <atom:updated>2021-12-25T12:03:07.711Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Azure CDN</h3><p>As the name suggests content delivery network is a network of distributed servers in point of presence (POP) locations that can efficiently deliver web content to users. CDN’s reduces latency by caching <strong>static</strong> content on edge and by route optimisation, TCP optimisation etc for <strong>dynamic</strong> content.</p><h3>How CDN work</h3><p>When most Azure Services instances created will reside in a certain region. Regions house multiple availability zones which helps to eliminate single point of failures. If the consumer base is geographically distributed Azure Service instances can deployed in multiple regions to reduce network latency. But depending on the number of users and geographic distribution this can multi region hosting can be expensive. Content delivery networks allow engineers to cater for geographically distributed user base with fraction of the cost of multi region hosting. Azure service will be hosted in the primary region and content delivery network will refer to the service instance as the origin and help deliver web content with minimum latency using point of presence locations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*O6Kz8JN22e1cev57P7QUHA.png" /></figure><p>list of azure regions - <a href="https://azure.microsoft.com/en-us/global-infrastructure/services/?regions=all&amp;products=all">https://azure.microsoft.com/en-us/global-infrastructure/services/?regions=all&amp;products=all</a></p><p>list of pop locations - <a href="https://docs.microsoft.com/en-us/azure/cdn/cdn-pop-locations">https://docs.microsoft.com/en-us/azure/cdn/cdn-pop-locations</a></p><h3>Implementing CDN for Function App Api and Storage Account hosted single page application</h3><h4>Prerequisites</h4><ul><li>Azure Functions App Api</li><li>Frontend web app hosted with Storage Account Static Websites</li></ul><blockquote>If you are new to Azure Functions and interested in learning how to create a web api using azure functions you can head over to youtube video series on <a href="https://youtu.be/ATPRm4yZgBc">Building Web API’s using Azure Functions</a> on Serverless Hub.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FATPRm4yZgBc%3Flist%3DPLqM-DR4rEaANtRmTPKArFkcjBc57pBZCL&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DATPRm4yZgBc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FATPRm4yZgBc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/498031157e5a79c9e373197a91dc47f6/href">https://medium.com/media/498031157e5a79c9e373197a91dc47f6/href</a></iframe><h4>Creating a CDN on Azure</h4><p>Login to your azure account. Click on “<strong>+ Create a resource</strong>”. Fill in the details required for the CDN. Select either an existing resource group or create new one to place the CDN. Type in the name of your choice for the CDN name. For the pricing tier select at least the “<strong>Standard Verizon</strong>” because it is the least expensive CDN tier which allows you to do to <strong><em>dynamic site acceleratio</em></strong>n. Least expensive “<strong>Standard Microsoft</strong>” tier only offers <strong><em>General web delivery</em></strong>, which is basically caching at POP locations. This helps for static content like single page applications, but for dynamic content like Web API’s caching can cause unexpected behaviour including security threats. Dynamic site acceleration helps dynamic content by optimising the route from end user to the server. Once everything is filled click on “<strong>Review + create</strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TdEmoC-hXm3AqEMe6GYaEw.png" /></figure><h4>Configure CDN endpoint for Single Page Application hosted with Storage Account Static Website</h4><p>Open the CDN created in the previous step. Click on “<strong>+ Endpoint</strong>” on the overview page. On form which pops up to the right fill in the required details. Type in the name for the SPA. Unless you setup a custom domain this name will be the prefix of the URL which is application will be exposed to the end user. Choose “<strong>Storage static website</strong>” as the Origin type. Origin type “<strong>Storage</strong>” allow us to distribute static content. Nevertheless for single page applications this cannot be used due to routing problems. Choose the hostname of the static website of the correct storage account. Leave the Origin path empty. Leave the Origin host header with the generated value. Disable http access to the CDN endpoint. For optimisation choose General web delivery as this will make POP location servers cache the static content. Once everything is filled click “<strong>Add</strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xuXfwvqOtw3OHCe226TAmA.png" /></figure><blockquote>Once the endpoint is created, depending on the pricing tier it will take 10–30 minutes to be available on the URL of the endpoint. You can read the URL from the overview page of the CDN endpoint.</blockquote><blockquote>You may have to add the CDN URL to the allowed origin list on the API CORS configuration.</blockquote><h4>Configure CDN Endpoint for Azure Function App Web API</h4><p>Open the CDN created in the previous step. Click on “<strong>+ Endpoint</strong>” on the overview page. On the form fill in the required details as earlier. Type in the name for the API. . Choose “<strong>Web App</strong>” as the Origin type. Origin type “<strong>Storage</strong>” allow us to distribute static content. Choose the hostname of the function app. Leave the Origin path empty. Leave the Origin host header with the generated value. Disable http access to the CDN endpoint. For optimisation choose <strong>Dynamic site acceleration</strong> as this will make POP location servers optimise the route from end user to origin server. For optimisation you need to provide a probe url, which will be used for CDN to ping the origin function app to establish optimum route. Once everything is filled click “<strong>Add</strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5mNuCYBERNS5l_eIb-76TA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8_Khm3adm-YYGIe3RxywTA.png" /></figure><blockquote>Again it will take around 10–30 minutes to new endpoint to be up and running. Once it is available you need to update the frontend application to point to the CDN endpoint.</blockquote><p>That’s all folks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9e4e0a6fb06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Azure Functions Continuous Deployment with Azure Pipelines]]></title>
            <link>https://nisalwickramage.medium.com/azure-functions-continuous-deployment-with-azure-pipelines-e0147ea567e8?source=rss-cd4d9e355686------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0147ea567e8</guid>
            <category><![CDATA[azure-functions]]></category>
            <category><![CDATA[azure-devops-pipeline]]></category>
            <dc:creator><![CDATA[Nisal Wickramage]]></dc:creator>
            <pubDate>Sat, 20 Nov 2021 04:43:45 GMT</pubDate>
            <atom:updated>2021-12-25T12:13:51.704Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*J6M70LtuzGajvt4V9ATQ3w.png" /></figure><h3>Prerequisites</h3><ul><li>Azure Function App created in Azure</li><li>Azure Function App Source Code on Github (or on Azure Repos)</li></ul><blockquote>If you are new to Azure Functions and interested in learning how to create a web api using azure functions you can head over to youtube video series on <a href="https://youtu.be/ATPRm4yZgBc">Building Web API’s using Azure Functions</a> on Serverless Hub.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FATPRm4yZgBc%3Flist%3DPLqM-DR4rEaANtRmTPKArFkcjBc57pBZCL&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DATPRm4yZgBc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FATPRm4yZgBc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/498031157e5a79c9e373197a91dc47f6/href">https://medium.com/media/498031157e5a79c9e373197a91dc47f6/href</a></iframe><h3>Create an Azure Dev Ops Organization</h3><p>Azure has moved pipelines in to Azure DevOps. If you have neither created a Dev Ops Organization nor Your company has not provided one you can create one by going to <a href="https://go.microsoft.com/fwlink/?LinkId=307137">https://go.microsoft.com/fwlink/?LinkId=307137</a></p><ol><li>Sign in to you Microsoft account or create a new one</li><li>You will be prompted to continue with creating the Dev Ops Organization. Click Continue after reading the Terms, Privacy Statement. You can choose not to receive any promotional emails.</li><li>When prompted for organization name, type in the name you prefer. Select the region where Dev Ops projects will be hosted. Click on “Continue”.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RAXzS0RGaCcuMOmFXLByaw.png" /></figure><h3>Create a Project and Pipeline</h3><ul><li>Once Dev Ops Organization is created you will be prompted to create a Project. If you got access to an existing Organization click on “+New Project” to create a new Project. Type in the project name. Choose project type. Setting visibility to private is recommended. After filling the form click on “+Create Project”</li><li>Once Project is created select Pipelines tab. Then click on the “Create Pipeline” button in the middle of the page.</li><li>You will be prompted to select the type of repository your code lives in. Let’s choose Github. Browser will redirect to Github and you will be prompted to login and authorise Azure Pipeline to access your repository. Login to Github</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7IvHZ694WVivdLnFgoqA1A.png" /></figure><ul><li>Once authorised with Github Azure Pipeline wizard will prompt you to select the repository your code lives in. Select the repository.</li><li>Wizard will then prompt you to select a pipeline template. In our case we can use the template “Node.js function app to Linux on Azure”. When existing templates doesn’t support you source code or deployment target you will have to either modify existing templates or create a new pipeline code from scratch. Choose “Node.js function app to Linux on Azure”.</li><li>You will be prompted to choose the subscription that Azure Functions lives in. Once the subscription is selected browser will prompt to authorise the pipeline with your Azure subscription (make sure you have allowed popup windows for Azure Dev Ops on your browser).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90rb5bPyWZKwU81vyMXsNw.png" /></figure><ul><li>Once you are authorised with Azure you can select the target Azure Function App. When you select the target function app pipeline configuration is generated</li><li>Click on “Save and run”</li><li>You will be prompted to commit the pipeline to your repository. Click on “Save and run” on this prompt as well</li><li>Now the pipeline will begin to run. The pipeline will have 2 steps</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jAPGJ-BRX88bsZ8YVi6dYw.png" /></figure><ul><li>Once pipeline is through the first step, it will pause pending your consent to access Azure Function App. Click on “View”</li><li>Click on “Permit” from the prompt.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l8MxYTIKt-E0jNyMnONKyg.png" /></figure><ul><li>Pipeline should continue and complete successfully</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*URwCiO8SWhx9WM5AJavonA.png" /></figure><h3>Did the Pipeline Really Deploy the Code</h3><p>You can confirm the new deployment by going to your function app and referring to activity logs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jl5qT4dE-IQ-d0yWZG01TQ.png" /></figure><h3>Potential Problem</h3><p>When I created the Dev Ops organization and a dev ops project recently, my pipeline execution failed with following error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-WClr5zb5uzkDzYldw3OCA.png" /></figure><p>This is because Azure Dev Ops doesn’t allow free tier builds unless you get explicit permission from Azure Team. You can do this by going to following url and filling the form. Azure will grant you free tier access within few day (5–7 days).</p><p><a href="https://aka.ms/azpipelines-parallelism-request">https://aka.ms/azpipelines-parallelism-request</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wt62Yw2RKhusy4uFTFUN4Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0147ea567e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>