MS Graph
The MS Graph examples below use the User, Calendar, Mail, Insights, and To-do tasks resource types to create a powerful apps with everything you need in one app. The REST data provider requires you to configure OAuth for MS Graph and the accessToken is used in the function.
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.
The following examples and code snippets are provided:
| |
---|---|
Provides sample code to get a user's profile information from Microsoft Graph. It includes a code sample for updating a user's profile picture in Microsoft Graph. | |
Provides sample code to get a list of the user's calendars and renders a calendar in a schedule view on a . It includes a code sample on adding calendar entries to a user's Microsoft 365 calendar in Exchange. | |
Graph Mail | Provides sample code to get a list of emails for a user and displays the emails in a list . Press on an email to view the content of the email. |
Provides sample code to get a list of To-do tasks for a user and displays the tasks in a list . | |
provides sample code to get insights that include a list of documents trending around the user and displays the list in a list . |