Hi Gautam Kaushal,
Based on the error message , I suggest to verify below list of actions:
- Make sure that you have created an app service in the same region as your service plan
- Check permissions: Ensure you have necessary permissions in Azure portal.
- Check App Service Plan: Ensure it’s correctly configured and has necessary resources.
- Check deployment settings: Ensure settings in Visual Studio are correct.
- Check IP restrictions: Ensure necessary IPs are whitelisted.
- Create a new resource group with the appropriate permissions and proceed with the deployment there
References:
- https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal-subscription-admin
- https://learn.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-aspnet-web-app?view=vs-2022&tabs=azure
If the information helped address your question, please Accept the answer.
Luis