Skip to content
Advertisement

Tag: azure-web-app-service

Unknown lifecycle phase “.mainClass=com.blobs.quickstart.App”

I ran through this demo (using PowerShell). Everything was fine until I ran the line: mvn exec:java -Dexec.mainClass=”com.blobs.quickstart.App” -Dexec.cleanupDaemonThreads=false then I got the below exception: This is the link from where I followed the steps https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-java?tabs=powershell#get-the-connection-string Answer As ManojReddy-MSFT suggested: In most cases, this error occurs because of the missing plugin http://www.mojohaus.org/exec-maven-plugin/index.html Can you verify if you have this plugin?

List Azure AD using UsernamePasswordCredential provider

I am using UsernamePasswordCredential provider to connect to AAD and get de users using msgraph-sdk-java (https://github.com/microsoftgraph/msgraph-sdk-java), the code is the following: and I am receiving the following error: java.io.IOException: java.util.concurrent.ExecutionException: com.azure.core.exception.ClientAuthenticationException: Failed to acquire token with username and password any idea if I need configure somethings in azure active directory? Answer Your problem has been resolved through comments. Post it

Advertisement