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?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,681 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."