@Chris S you need to use https://graph.microsoft.com/v1.0/me
, which returns below information about authenticated user:
If the required claims are not listed here, you can use https://graph.microsoft.com/beta/me
, which will return a lot more user attributes. However, if you would like to get specific set of claims, you can append the above urls with ?$select=attribute_name. For example, https://graph.microsoft.com/v1.0/me?$select=givenName,surname
will only return firstname and surname of the user.
In order to test it go to https://developer.microsoft.com/en-us/graph/graph-explorer# and sign in by clicking on Sign in with Microsoft button on the left side and make the above calls.
-----------------------------------------------------------------------------------------------------------
Please "Accept as answer" wherever the information provided helps you to help others in the community.