Uploading more than 30mb of package\file to UiPath Orchestrator (hosted as Azure Webapp)

How to upload package\file more than 30MB to UiPath Orchestrator hosted as Azure Webapp?

Attempting to upload a file larger than 28.6MB to Azure Web Apps can result in error as seen below



In order to resolve the issue, below steps need to be followed. 

  1. Open Azure Portal. 
  2. Select the webapp on which UiPath Orchestrator is hosted. Click on "App Service Editor" and then click "Go"
  1. A new window will open, look for file "web.config" and click on that to edit\ make changes. 
  2. Edit Web.config file to Add the request limit maxallowedcontent length - based on the maximum size of the file that you want to upload
<configuration>
   <system.webServer>
      <security>
         <requestFiltering>
            <requestLimits maxAllowedContentLength="<valueInBytes>"/>
         </requestFiltering>
      </security>
   </system.webServer>
</configuration>