Azure / Azure/azure-libraries-for-java

The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one.

Abierto
#536 30 comentarios 1 reacción 2 asignados Reclamado por @weidongxu-microsoft Ver en GitHub
App Services Bug customer-reported Mgmt Service Attention
Lenguaje dominante
Java
Estrellas
97
Forks
102
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When I am trying to deploy a new function app with a new resource group, I got this error:
```
The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one.
```
But The resource group I'm using is a new one which has no resource there.

Here is a sample code snippet:

```java
final FunctionApp.DefinitionStages.Blank functionApp = getAzureClient().appServices()
.functionApps().define("twhublinux");
final NewAppServicePlanWithGroup newAppServicePlanWithGroup = functionApp.withRegion(Region.US_WEST);
final WithCreate withCreate = newAppServicePlanWithGroup.withNewResourceGroup("twhublinuxgroup")
.withNewConsumptionPlan();
withCreate.create();
```

Is that because something wrong when parsing the name "twhublinux" / "twhublinuxgroup"?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.