The user resource in Microsoft Graph represents a Microsoft Entra work or school user account or a personal Microsoft account. The object includes relationships and resources that are relevant to the user, such as messages, events, and files.
The following list describes some of the tasks you can perform with users in your organization through Microsoft Graph:
Core user management tasks
Add or delete users
Reset a user's password
Upload or retrieve a photo for a user
Determine their reporting structure or assign managers
Manage the user's authentication methods
Grant users administrative roles in your organization
Assign or remove licenses to users
Track changes to users in your organization
Mail management
List mails and send new mail
Create and list user contacts and organize contacts in folders
Retrieve and update mailbox folders and settings
Calendar management
Manage or list events on a user's calendar
Manage a user's calendar and calendar groups
View tasks assigned to a user
Find free meeting times for a set of users
Get a list of reminders set on a user's calendar
File management
Access a user's files and folders in OneDrive
Group management tasks
Add users to groups dynamically by matching specific attributes, for example, their department, or statically on demand; list a user's group memberships and determine whether a user is a member of a group
Application management tasks
Assign or remove applications and their associated roles for users
Enrich your app with user insights - maximize relevance in your application by promoting recently used or trending documents and contacts associated with a user.
Return documents recently viewed and modified by a user.
Return documents and sites trending around a user's activity.
List documents shared with a user through email or OneDrive for Business.
Microsoft Graph provides access to data stored across Microsoft 365 services. Custom applications can use the Microsoft Graph API to connect to data and use it in custom applications to enhance organizational productivity.