hostingEnvironment parameter

PatricS 61 Reputation points
2020-04-29T17:21:12.457+00:00

Hi!

Trying to deploy Wordpress from marketplace through a ARM-Template,

In the template there is a parameter hostingEnvironment :

  },
        "hostingEnvironment": {
            "value": ""
        },

its required and im not able to leave it blank as some people suggest.
What is expected here?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,695 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. PatricS 61 Reputation points
    2020-04-29T18:35:34.4+00:00

    "Windows" i guess?

    1 person found this answer helpful.
    0 comments No comments

  2. Ryan Hill 25,216 Reputation points Microsoft Employee
    2020-04-29T18:53:23.057+00:00

    Assuming you used https://ms.portal.azure.com/#create/WordPress.WordPress as a template, it's using https://learn.microsoft.com/en-us/azure/templates/microsoft.web/2018-02-01/sites template, I do realize that hostingEnvironment isn't documented. But I'm fairly certain hostingEnvironment references an App Service Environemt which is basically an isolated App Service. You shouldn't need that as long as serverFarmId (your app service plan) is set.

    1 person found this answer helpful.
    0 comments No comments