---
title: "Discussion on \"Deploying your code with ARM templates in Azure Managed Apps\" | Hashnode"
description: "Discussion on \"Deploying your code with ARM templates in Azure Managed Apps\". I'm currently trying to publish an  Azure Managed Application  in the  Azure Marketplace , and one of the issues I've encountered is deploying the code for my Azure Functions and Web Apps.\nFirst, let me show you a simplified structure of the zip file..."
url: "https://hashnode.com/posts/deploying-your-code-with-arm-templates-in-azure-managed-apps/60f9d1da74648858f4bb653b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Deploying your code with ARM templates in Azure Managed Apps](https://bogdanbujdea.dev/deploying-your-code-with-arm-templates-in-azure-managed-apps?utm_source=hashnode&utm_medium=feed)

I'm currently trying to publish an Azure Managed Application in the Azure Marketplace , and one of the issues I've encountered is deploying the code for my Azure Functions and Web Apps. First, let me show you a simplified structure of the zip file...

Jul 22, 2021 · 4 min read · bogdanbujdea.dev  
Read the article

-   [#azure](https://hashnode.com/tag/azure)
-   [#devops](https://hashnode.com/tag/devops)
-   [#continuous-deployment](https://hashnode.com/tag/continuous-deployment)
-   [#net](https://hashnode.com/tag/net)

## Written by

[Bogdan Bujdea](https://hashnode.com/@bogdan)

@bogdan · Iasi, Romania

  
[View profile](https://hashnode.com/@bogdan)

.NET Developer

Expert generalist • Independent Contractor • Microsoft MVP • Home Assistant enthusiast Hi there! I'm Bogdan Bujdea, a software developer from Romania. I'm currently a .NET independent contractor, and in my free time I get involved in the local .NET community or I'm co-organizing the @dotnetdays conference. I consider myself an expert generalist, mostly because I enjoy trying out new stuff whenever I get the chance and I get bored pretty easily, so on this blog you'll see me posting content from programming tutorials to playing with my smart gadgets.

## Responses 2

Markdown supported · ⌘↵ to post

[Nikhat Sultana](https://hashnode.com/@sultana999)

[Apr 14, 2025](https://hashnode.com/posts/deploying-your-code-with-arm-templates-in-azure-managed-apps/60f9d1da74648858f4bb653b/comment/67fd6bb48d15f2f227be9391)

Hi Bogdan, thankyou for sharing this with example template. Well explanation. I tried the same using LinkedIn templates concept but I am getting error like my package size is more than the allowed package size. What do you suggest is the better option in this scenario?

[Bogdan Bujdea](https://hashnode.com/@bogdan)

[Apr 14, 2025](https://hashnode.com/posts/deploying-your-code-with-arm-templates-in-azure-managed-apps/60f9d1da74648858f4bb653b/comment/67fd6bb48d15f2f227be9391#reply-67fd7de953eb8a9aa83acb4f)

Hi Nikhat! Do you know what's the package size that you have? If I remember correctly, the maximum package size is around 1Gb, so you shouldn't try to upload a file larger than this. You can find more info here: [learn.microsoft.com/en-us/azure/azure-functions/r…](https://learn.microsoft.com/en-us/azure/azure-functions/run-functions-from-deployment-package)

[Nikhat Sultana](https://hashnode.com/@sultana999)

[Apr 15, 2025](https://hashnode.com/posts/deploying-your-code-with-arm-templates-in-azure-managed-apps/60f9d1da74648858f4bb653b/comment/67fd6bb48d15f2f227be9391#reply-67fe969fd97fb93b90cc81a7)

Hi [Bogdan Bujdea](https://hashnode.com/@bogdan)

Before we publish offer to azure market place, we are publishing the offer locally to service definition catalog. While publishing the azure managed app to the service definition catalog using Linked templates concept i.e., packaging the artifact along with the template files, is giving error that my linked templates package size is more than the allowed size 120MB. Our artifact size itself is around 250MB. What do you suggest would be the solution for this?

[Nirmal Sharma](https://hashnode.com/@nickskirl)

[Sep 23, 2021](https://hashnode.com/posts/deploying-your-code-with-arm-templates-in-azure-managed-apps/60f9d1da74648858f4bb653b/comment/614ca0eac790e72dddca854d)

Hi Bogdan,

Thanks for writing this article. Very nice and I like it.

However, I am confused when you say about zipUrl:

"zipUrl": "\[uri(parameters('\_artifactsLocation'), concat('artifacts/webapi.zip', parameters('\_artifactsLocationSasToken')))\]"

Where exactly this line should go and in which template; mainTemplate or other templates.

Thanks, Nirmal

[Bogdan Bujdea](https://hashnode.com/@bogdan)

[Sep 23, 2021](https://hashnode.com/posts/deploying-your-code-with-arm-templates-in-azure-managed-apps/60f9d1da74648858f4bb653b/comment/614ca0eac790e72dddca854d#reply-614cce0d544e242e0c93f7ca)

Hi Nirmal,

The zipUrl is a variable that you create in mainTemplate.json I am using nested templates so I send the zipUrl as a parameter in each nested template. I will create a Github repo where I will share the code and post the url here, so it will be easier to understand.

[Nirmal Sharma](https://hashnode.com/@nickskirl)

[Sep 25, 2021](https://hashnode.com/posts/deploying-your-code-with-arm-templates-in-azure-managed-apps/60f9d1da74648858f4bb653b/comment/614ca0eac790e72dddca854d#reply-614f2dfe94bb297e1aad6d33)

[Bogdan Bujdea](https://hashnode.com/@bogdan) Thank you very much.

Look forward to see a link on GitHub.

/Nirmal
