Skip to content
Advertisement

Tag: microsoft-graph-sdks

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