@Ubaidullah Shuaib Thanks for your patience on this.
I am summarizing our discussion and posting it as an answer for the benefit of other community members.
Issues: Customer is not able to deploy the static webapp through visual studio code and it is failing with above error message.
Resolution:
- Upon troubleshooting offline, we see that customer doesn't have any resource group in his subscription and when they are trying to create static webapp directly is failing with the error message there were no resource groups under the subscription.
- Post creating the resource group and by using the
Create Static Web App ...(Advanced)
option they are able to create the static webapp in his subscription successfully. - Using
Create Static Web App ...
action they are not able to create the static webapp and this seems to be a visual studio code extension issue I have suggested the customer to raise an issue in GitHub repo related to Azure tools extension here.
I hope this helps. Please let me know if you have any further queries.
Please accept as Yes if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.