guide to use the MASL java SDK to authenticate user in azure function developed in java

ja 26 Reputation points
2022-12-21T17:33:07.14+00:00

HI team,
Please help me to find out the documentation on how to use java MASL SDK to get access_token for a service principal.
I am looking to find the documentation or GIT links which can guide me how to use the MASL library including the code samples.

Now, I have gone through this link but it does not help me much : https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-authentication-flows

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
967 questions
Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2022-12-22T09:44:31.847+00:00

    Hi @ja ,

    Thanks for reaching out.

    You can find the code sample to use MSAL library using Java as mentioned here.
    Git hub link for Java samples: https://github.com/Azure-Samples/ms-identity-msal-java-samples

    Hope this will help. If you have any further questions, please let us know.

    Thanks,
    Shweta

    -----------

    Please remember to "Accept Answer" if answer helped you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.