1

I have a resourcegroup in Microsoft Azure with some resources on it, nothing strange, some VMs, databases, storage accounts, and a virtual network. So far no web apps or app service plans.

I am trying to add a app service plan with a simple powershell command:

New-AzureRmAppServicePlan -Name "testsvcplan" -Location "North Europe"
-ResourceGroupName "mygroup" -Tier Free

which results in the following error:

Cannot find Web space mygroup-NorthEuropewebspace for subscription xxx-xxx-xxx.

Getting the same error when trying to add an app service plan through the portal and cannot find much info about this error or Azure Web space. Although it works fine when using other resourcegroups.

What is a Azure web space and what could cause this error with my resource group?

Andreas
  • 299
  • 1
  • 5
  • 15
  • can you check your client `C:\Users\{youraccountname}\.azure` and check if the spaces.{someGuid} file exist or not. – Jason Ye Jun 02 '17 at 07:44
  • I cannot find any .azure folder. What would cause the .azure folder to be created ? – Andreas Jun 02 '17 at 07:52
  • It is hidden files, you should show the hidden files, you can follow this to modify it.https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files – Jason Ye Jun 02 '17 at 07:56
  • Yes, I am always showing hidden files, did a powershell search for the .azure dir on the c:/users folder but no results. It doesn't exists. What would create it and what is it used for? – Andreas Jun 02 '17 at 08:07
  • Which version of your Azure powershell? – Jason Ye Jun 02 '17 at 08:11
  • please run this command `Get-Module -ListAvailable -Name Azure -Refresh` to get the version of your azure powerhshell, – Jason Ye Jun 02 '17 at 08:19
  • Running version 3.3.0. But the local powershell version doesn't explain why I get the same error though the portal :/ – Andreas Jun 02 '17 at 08:49
  • Let us [continue this discussion in chat](http://chat.stackexchange.com/rooms/59728/discussion-between-jason-ye-msft-and-andreas). – Jason Ye Jun 02 '17 at 08:52

1 Answers1

0

So, after almost two weeks of help from Microsoft Azure support, they cannot say why my resourcegroup is missing it's webspace. We ended up moving resources to another resource group using the following guide instead.

Now I know this isn't really an answer. But if anyone could be able to solve it, Microsoft Azure support should, but it seems like a dead end.

Andreas
  • 299
  • 1
  • 5
  • 15