oauth2-azure icon indicating copy to clipboard operation
oauth2-azure copied to clipboard

Get only basic profile

Open Stoufiler opened this issue 6 years ago • 2 comments

Hello, i wanted to know how can i get the full profile of the user, because i only get username, first and lastname

I want to retrieve the manager, the job title, the Department

How can i do to retrieve these datas

Cordialy

Stoufiler avatar Nov 26 '19 11:11 Stoufiler

Hi, you can get this from Microsoft Graph API - https://developer.microsoft.com/en-us/graph - https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0

hajekj avatar Nov 29 '19 08:11 hajekj

(See https://github.com/TheNetworg/oauth2-azure/issues/98#issuecomment-595552194 for example)

PatchworkBoy avatar Mar 06 '20 01:03 PatchworkBoy