> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/core/learn-more/platform-specifics/deployment/azure-linux.md).

# Azure Linux Consumption Plan

Convert HTML to PDF on Azure App Service Linux Consumption Plan. Learn how to install dependencies and grant execution permissions for the Apryse SDK HTML2PDF module. The Apryse Server SDK streamlines

## HTML2PDF Azure App Service Linux Consumption Plan

The Apryse SDK HTML2PDF module will run in an Azure App Service with a consumption plan hosted on a Linux operating system, but depending on the Linux distribution used you may need to install some dependencies and give the HTM2PDF module permission to run.

**Dependencies and fontconfig** At the time of writing this article the hosting operating system is Debian GNU/Linux 11 (Bullseye) which has the required dependencies installed. This has changed in the past and possibly will again so it’s important to verify the required dependencies are installed by checking the shared object dependencies with ldd. If any are listed as “not found” they must be installed. Here is an example of running “ldd” on Azure's Debian GNU/Linux 11.

![](https://3779731113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fziw3GiL98Xfj63F3He8h%2Fuploads%2Fgit-blob-92967bafa1dc2f88c87ad727e3b758a4749f87a3%2F16e6c41e35de5723893c546412305b55661a98bb-650x250.png?alt=media)

Installing dependencies only needs to happen the first time your function runs in a new hosting environment, but it is recommended to create a routine to check them each time the function runs. Instructions on installing Linux dependencies can be found here. [Linux Dependencies](/core/learn-more/platform-specifics/deployment/linux-dependencies.md)

**Execution Permissions** When copied to the host, usually /home/site/wwwroot/bin/html2pdf\_chromium.so, the HTMl2PDF module will likely not have permission to run and you will need to grant it execution permissions. In a .NET application you can use the Mono.Posiz.NETStandard package to set file/folder permissions.

![](https://3779731113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fziw3GiL98Xfj63F3He8h%2Fuploads%2Fgit-blob-3f0e1055239be6a3ca8bbfa887cd840bb3fdfd2f%2Fb133b0d413205ce0eb72bccbeb4ee185a697e8f7-945x96.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/core/learn-more/platform-specifics/deployment/azure-linux.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
