Data Providers
...
MS Graph
Graph User Profile

Get User Profile & Photo

6min

Scenario

Gets a user's profile and photo in Microsoft Graph using functions, and displays the profile and photo on a using the image and entity component.

Resource links:

Required OAuth scope (least to most privilege):

User.Read User.ReadWrite User.ReadBasic.All User.Read.All User.ReadWrite.All Directory.Read.All Directory.ReadWrite.All

User Profile
User Profile


Examples and code snippets

When using the code and samples in this topic, remember that they are designed to function as part of a comprehensive solution. To fully benefit from the intended functionality and ensure compatibility, it is recommended that you use the entire solution rather than selecting individual components in isolation. Alternatively, you can use these samples as a guide to understand the underlying concepts and MS Graph API, which can help you integrate similar solutions into your projects more effectively. The entire MS Graph solution is available on GitHub.



General

index.jigx


Functions

MS Graph User functions in GitHub.

get-user-profile.jigx
get-profile-picture.jigx


Jigs

MS Graph User in GitHub.

view-user-jigx.jigx


See Also