Authenticate users only with their credentials to azure resource manager using java sdk without creating service principal for the application

Sashin Sahasra 21 Reputation points
2021-07-08T10:33:51.823+00:00

I want to create an application using java sdk that can create storage accounts on azure cloud. So the user needs to authenticate to azure resource manager via user credentials and after successful authentication, user is able to create a storage account via the application. My current approach is to do this by creating a service principal. Is there any approach to do this only using user credentials, without creating a service principal to my application?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,465 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Chris 176 Reputation points
    2021-07-13T07:41:23.587+00:00

    Hi @Sashin Sahasra

    I think your best bet here is to implement Azure AD Spring Boot library for Java.

    Hope this answers your question, if so please "Accept as Answer" and "Vote Up."

    0 comments No comments