0👍
Yes you can achieve it to MS Graph with the help of users endpoint
https://graph.microsoft.com/v1.0/users?$select=displayname,givenName,mail,userPrincipalName
Code Sample:
const client = Client.init(options);
let res = await client.api('/users')
.select('displayName,givenName,mail,userPrincipalName')
.get();
Note: In Ms Graph users endpoint
givenName
is the first name field
of the user.
Source:stackexchange.com