25,081 questions
Hello Avinash
are you looking api call implementation using Java ?
if that is the case You might consider using Microsoft Authentication Library (MSAL) for Java
https://github.com/AzureAD/microsoft-authentication-library-for-java
https://github.com/Azure-Samples/ms-identity-msal-java-samples