Jerry
Jerry

Reputation: 1007

Password for Azure AD User

I am using Graph API to read user information from Azure AD. I am getting all the user information in the response except the password. Is there anyway I can get that? I am calling this API. (Reference)

https://graph.windows.net/myorganization/users/{user_id}?api-version

Upvotes: 1

Views: 124

Answers (1)

Shawn Tabrizi
Shawn Tabrizi

Reputation: 12434

As noted in the Graph API References:

The passwordProfile property always returns null. This is to prevent the user’s password from being displayed. You can reset the user’s password by updating the passwordProfile property.

If you are looking to have someone authenticate to your service using their AAD Account, you should either use Federation to have your authentication provider trust the AAD authentication provider, or you can even register your application in our system, and use AAD as your authentication provider.

I hope this helps!

Upvotes: 1

Related Questions