I have a valid Azure free trial subscription and I want to deploy a local spring boot app to azure.
I have configured the azure-webapp-maven-plugin in my pom.xml. I am using Intellij.
When i execute mvn azure-webapp:deploy, i get the following error:
Failed to execute goal com.microsoft.azure:azure-webapp-maven-plugin:1.9.1:deploy (default-cli) on project movie-catalog-service: Encoutering error when deploying to azure: 'No available subscription found in current account.
'
Edit 1: I installed azure CLI and from my command line it is able to find the subsciption. I followed this url: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-macos?view=azure-cli-latest
But still cannot find the same from Intellij.
I tried azure-webapp deploy with Azure CLI. Still same