Running UiPath Orchestrator in Azure App Service

Installer(.exe or .msi):(Powershell) ( ( (Publish-Orchestrator.ps1)

License type(Free, Trial/License code):

Studio/Robot version: Latest

Current behavior: After following the instructions here (Azure App Service Installation) I have been successful in setting up the App Service correctly. However, when running the App a fatal error occurs in the call to UiPath.Web.UiPathWebModule.Initialize() in the file UiPathWebModule.cs at line 135. This has something to do with CORS, but I am not sure how to fix it.