Skip to content

Authentication issue in Azure US Gov cloud #2492

@bappadityams

Description

@bappadityams

We have tried multiple Authentication methods for azure-mavens-plugins based on the
Authentication · microsoft/azure-maven-plugins Wiki (github.com)
e.g. Service Principal, Azure CLI but no luck. We still getting auth issues while deploying app in App service (JBOSS EAP 7) in Azure US Government.

Image

Image

Image


[INFO] Copying webapp resources [/home/adm_jlee/app-service-java-quickstart/petstore-ee7/src/main/webapp]
[INFO] Webapp assembled in [130 msecs]
[INFO] Building war: /home/adm_jlee/app-service-java-quickstart/petstore-ee7/target/applicationPetstore.war
[INFO]
[INFO] --- azure-webapp-maven-plugin:2.12.0:deploy (default-cli) @ petstoreee7 ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.361 s
[INFO] Finished at: 2024-09-24T16:23:09Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.microsoft.azure:azure-webapp-maven-plugin:2.12.0:deploy (default-cli) on project petstoreee7: login with (AUTO): device code consumer is not configured. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
adm_jlee [ ~/app-service-java-quickstart/petstore-ee7 ]$


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions