Swapnil Narvekar Thanks for posting your question in Microsoft Q&A. From the description above, it seems like you are using version **azure-functions-maven-plugin-1.8.0 **in your function app and got error: "Failed to authenticate with Azure. Please check your configuration".
Here are few things you can validate:
- Update to latest version azure-functions-maven-plugin-1.14.0 to avoid compatibility with Azure CLI version and try again.
- Validate files such as
azureProfile.json`andaccessTokens.jsonexists. If not, make sure you have Azure CLI installed (latest version) and login viaaz logincommand (similar issue). Otherwise, you will get the above error message.
Also, you need to have the identity has access (Contributor role) to the subscription. After following the above steps, and if it doesn't help, then open start a new issue with https://github.com/microsoft/azure-maven-plugins/issues and experts from repo can assist you with the issue (similar discussion).
I hope this helps and let me know if any questions.