ESC
Type to search...

User.ReadWrite

Export JSON
Export CSV
Copy URL
Print
Delegated Read/Write User Scope

Allows the app to read your profile. It also allows the app to update your profile information on your behalf.

Delegated Access App-Only Access

Permission Details

Delegated Permission User consent allowed

Read and write access to user profile

Allows the app to read your profile. It also allows the app to update your profile information on your behalf.

Properties

Property Type Description
id string The unique identifier for an entity. Read-only.
lastModifiedDateTime date-timeNullable
riskScore stringNullable
vendorInformation object
azureTenantId string
tags array
userPrincipalName stringNullable
azureSubscriptionId stringNullable
createdDateTime date-timeNullable
accounts microsoft.graph.userAccount collection
displayName stringNullable

Relationships

Relationship Type Description
manager directoryObject The user's manager. Read-only.
directReports directoryObject collection The users and contacts that report to the user. Read-only. Nullable.
memberOf directoryObject collection The groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable.
ownedDevices directoryObject collection Devices owned by the user. Read-only. Nullable.
registeredDevices directoryObject collection Devices registered for the user. Read-only. Nullable.
drive drive The user's OneDrive. Read-only.
drives drive collection A collection of drives available for this user. Read-only.
calendar calendar The user's primary calendar. Read-only.
calendars calendar collection The user's calendars. Read-only. Nullable.
calendarGroups calendarGroup collection The user's calendar groups. Read-only. Nullable.
calendarView event collection The calendar view for the calendar. Read-only. Nullable.
events event collection The user's events. Default is to show events under the default calendar. Read-only. Nullable.
mailFolders mailFolder collection The user's mail folders. Read-only. Nullable.
messages message collection The messages in a mailbox or folder. Read-only. Nullable.
contacts contact collection The user's contacts. Read-only. Nullable.
contactFolders contactFolder collection The user's contacts folders. Read-only. Nullable.
photos profilePhoto collection The collection of the user's profile photos in different sizes. Read-only.
photo profilePhoto The user's profile photo. Read-only.
onenote onenote The user's OneNote notebooks. Read-only.
planner plannerUser Selective Planner services available to the user. Read-only. Nullable.

Graph Methods

Delegated access App-only access
Methods
GET /admin/people/itemInsights
GET /groups/{id}/photo/$value
GET /me
GET /me/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
GET /me/contacts/{id}/photo/$value
GET /me/createdObjects
GET /me/photo/$value
GET /me/settings/itemInsights
GET /teams/{id}/photo/$value
GET /users/{id | userPrincipalName}
GET /users/{id | userPrincipalName}/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
GET /users/{id | userPrincipalName}/contacts/{id}/photo/$value
GET /users/{id | userPrincipalName}/createdObjects
GET /users/{id | userPrincipalName}/photo/$value
GET /users/{userId}/settings/itemInsights
POST /groups/{id}/events
POST /groups/{id}/threads/{id}/posts/{id}/reply
POST /me/translateExchangeIds
POST /users/{id}/retryServiceProvisioning
POST /users/{id|userPrincipalName}/contacts
POST /users/{id|userPrincipalName}/events
POST /users/{id|userPrincipalName}/messages
POST /users/{id|userPrincipalName}/todo/lists
POST /users/{id|userPrincipalName}/todo/lists/{id}/tasks
POST /users/{id|userPrincipalName}/translateExchangeIds
PATCH /devices/{Id}/extensions/{extensionId}
PATCH /groups/{id}/events/{id}/extensions/{extensionId}
PATCH /groups/{id}/extensions/{extensionId}
PATCH /groups/{id}/threads/{id}/posts/{id}/extensions/{extensionId}
PATCH /me/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
PATCH /me/contacts/{id}/photo/$value
PATCH /me/settings
PATCH /me/settings/itemInsights
PATCH /organization/{Id}/extensions/{extensionId}
PATCH /users/{id | userPrincipalName}
PATCH /users/{id | userPrincipalName}/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
PATCH /users/{id | userPrincipalName}/contacts/{id}/photo/$value
PATCH /users/{id|userPrincipalName}/contacts/{id}/extensions/{extensionId}
PATCH /users/{id|userPrincipalName}/events/{id}/extensions/{extensionId}
PATCH /users/{id|userPrincipalName}/extensions/{extensionId}
PATCH /users/{id|userPrincipalName}/messages/{id}/extensions/{extensionId}
PATCH /users/{userId}/settings/itemInsights
PATCH /users/me/todo/lists/{todoTaskListId}/extensions/{extensionId}
PATCH /users/me/todo/lists/{todoTaskListId}/tasks/{taskId}/extensions/{extensionId}
PUT /me/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
PUT /me/contacts/{id}/photo/$value
PUT /users/{id | userPrincipalName}/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
PUT /users/{id | userPrincipalName}/contacts/{id}/photo/$value
DELETE /devices/{Id}/extensions/{extensionId}
DELETE /groups/{id}/events/{id}/extensions/{extensionId}
DELETE /groups/{id}/extensions/{extensionId}
DELETE /groups/{id}/threads/{id}/posts/{id}/extensions/{extensionId}
DELETE /me/extensions/{extensionId}
DELETE /me/photo/$value
DELETE /me/todo/lists/{todoTaskListId}/extensions/{extensionId}
DELETE /me/todo/lists/{todoTaskListId}/tasks/{taskId}/extensions/{extensionId}
DELETE /organization/{Id}/extensions/{extensionId}
DELETE /users/{id | userPrincipalName}/photo/$value
DELETE /users/{id|userPrincipalName}/contacts/{id}/extensions/{extensionId}
DELETE /users/{id|userPrincipalName}/events/{id}/extensions/{extensionId}
DELETE /users/{id|userPrincipalName}/extensions/{extensionId}
DELETE /users/{id|userPrincipalName}/messages/{id}/extensions/{extensionId}
DELETE /users/{userId}/todo/lists/{todoTaskListId}/extensions/{extensionId}
DELETE /users/{userId}/todo/lists/{todoTaskListId}/tasks/{taskId}/extensions/{extensionId}
Methods
GET /admin/people/itemInsights
GET /groups/{id}/photo/$value
GET /me
GET /me/cloudLicensing/usageRights
GET /me/cloudLicensing/usageRights/{usageRightId}
GET /me/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
GET /me/contacts/{id}/photo/$value
GET /me/createdObjects
GET /me/photo/$value
GET /me/profile
GET /me/profile/account
GET /me/profile/account/{id}
GET /me/profile/addresses
GET /me/profile/addresses/{id}
GET /me/profile/anniversaries
GET /me/profile/anniversaries/{id}
GET /me/profile/awards
GET /me/profile/awards/{id}
GET /me/profile/certifications
GET /me/profile/certifications/{id}
GET /me/profile/educationalActivities
GET /me/profile/educationalActivities/{id}
GET /me/profile/emails
GET /me/profile/emails/{id}
GET /me/profile/interests
GET /me/profile/interests/{id}
GET /me/profile/languages
GET /me/profile/languages/{id}
GET /me/profile/names
GET /me/profile/names/{id}
GET /me/profile/notes
GET /me/profile/notes/{id}
GET /me/profile/patents
GET /me/profile/patents/{id}
GET /me/profile/phones
GET /me/profile/phones/{id}
GET /me/profile/positions
GET /me/profile/positions/{id}
GET /me/profile/projects
GET /me/profile/projects/{id}
GET /me/profile/publications
GET /me/profile/publications/{id}
GET /me/profile/skills
GET /me/profile/skills/{id}
GET /me/profile/webAccounts
GET /me/profile/webAccounts/{id}
GET /me/profile/websites
GET /me/profile/websites/{id}
GET /me/responsibilities
GET /me/responsibilities/{id}
GET /me/settings/contactMergeSuggestions
GET /me/settings/itemInsights
GET /teams/{id}/photo/$value
GET /users/{id | userPrincipalName}/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
GET /users/{id | userPrincipalName}/contacts/{id}/photo/$value
GET /users/{id | userPrincipalName}/createdObjects
GET /users/{id | userPrincipalName}/photo/$value
GET /users/{id | userPrincipalName}/profile
GET /users/{id | userPrincipalName}/profile/account
GET /users/{id | userPrincipalName}/profile/account/{id}
GET /users/{id | userPrincipalName}/profile/addresses
GET /users/{id | userPrincipalName}/profile/addresses/{id}
GET /users/{id | userPrincipalName}/profile/anniversaries
GET /users/{id | userPrincipalName}/profile/anniversaries/{id}
GET /users/{id | userPrincipalName}/profile/awards
GET /users/{id | userPrincipalName}/profile/awards/{id}
GET /users/{id | userPrincipalName}/profile/certifications
GET /users/{id | userPrincipalName}/profile/certifications/{id}
GET /users/{id | userPrincipalName}/profile/educationalActivities
GET /users/{id | userPrincipalName}/profile/emails
GET /users/{id | userPrincipalName}/profile/emails/{id}
GET /users/{id | userPrincipalName}/profile/interests
GET /users/{id | userPrincipalName}/profile/interests/{id}
GET /users/{id | userPrincipalName}/profile/languages
GET /users/{id | userPrincipalName}/profile/languages/{id}
GET /users/{id | userPrincipalName}/profile/names
GET /users/{id | userPrincipalName}/profile/names/{id}
GET /users/{id | userPrincipalName}/profile/notes
GET /users/{id | userPrincipalName}/profile/notes/{id}
GET /users/{id | userPrincipalName}/profile/patents
GET /users/{id | userPrincipalName}/profile/patents/{id}
GET /users/{id | userPrincipalName}/profile/phones
GET /users/{id | userPrincipalName}/profile/positions
GET /users/{id | userPrincipalName}/profile/positions/{id}
GET /users/{id | userPrincipalName}/profile/projects
GET /users/{id | userPrincipalName}/profile/projects/{id}
GET /users/{id | userPrincipalName}/profile/publications
GET /users/{id | userPrincipalName}/profile/publications/{id}
GET /users/{id | userPrincipalName}/profile/skills
GET /users/{id | userPrincipalName}/profile/skills/{id}
GET /users/{id | userPrincipalName}/profile/webAccounts
GET /users/{id | userPrincipalName}/profile/webAccounts/{id}
GET /users/{id | userPrincipalName}/profile/websites
GET /users/{id | userPrincipalName}/profile/websites/{id}
GET /users/{id | userPrincipalName}/responsibilities
GET /users/{id | userPrincipalName}/responsibilities/{id}
GET /users/{userId}/cloudLicensing/usageRights/{usageRightId}
GET /users/{userId}/profile/phones/{id}
GET /users/{userId}/settings/itemInsights
GET /users/{userId}/usageRights
POST /drive/items/{itemId}/children
POST /groups/{userId}/events
POST /groups/{userId}/threads/{threadId}/posts/{postId}/reply
POST /me/invalidateAllRefreshTokens
POST /me/profile/account
POST /me/profile/addresses
POST /me/profile/anniversaries
POST /me/profile/awards
POST /me/profile/certifications
POST /me/profile/educationalActivities
POST /me/profile/emails
POST /me/profile/interests
POST /me/profile/languages
POST /me/profile/names
POST /me/profile/notes
POST /me/profile/patents
POST /me/profile/phones
POST /me/profile/positions
POST /me/profile/projects
POST /me/profile/publications
POST /me/profile/skills
POST /me/profile/webAccounts
POST /me/profile/websites
POST /me/responsibilities
POST /me/translateExchangeIds
POST /users/{id | userPrincipalName}/invalidateAllRefreshTokens
POST /users/{id | userPrincipalName}/profile/account
POST /users/{id | userPrincipalName}/profile/addresses
POST /users/{id | userPrincipalName}/profile/anniversaries
POST /users/{id | userPrincipalName}/profile/awards
POST /users/{id | userPrincipalName}/profile/certifications
POST /users/{id | userPrincipalName}/profile/educationalActivities
POST /users/{id | userPrincipalName}/profile/emails
POST /users/{id | userPrincipalName}/profile/interests
POST /users/{id | userPrincipalName}/profile/languages
POST /users/{id | userPrincipalName}/profile/names
POST /users/{id | userPrincipalName}/profile/notes
POST /users/{id | userPrincipalName}/profile/patents
POST /users/{id | userPrincipalName}/profile/positions
POST /users/{id | userPrincipalName}/profile/projects
POST /users/{id | userPrincipalName}/profile/publications
POST /users/{id | userPrincipalName}/profile/skills
POST /users/{id | userPrincipalName}/profile/webAccounts
POST /users/{id | userPrincipalName}/profile/websites
POST /users/{id | userPrincipalName}/responsibilities
POST /users/{id}/retryServiceProvisioning
POST /users/{id|userPrincipalName}/translateExchangeIds
POST /users/{userId}/profile/phones
POST /users/{userId|userPrincipalName}/contacts
POST /users/{userId|userPrincipalName}/events
POST /users/{userId|userPrincipalName}/messages
POST /users/{userId|userPrincipalName}/tasks/lists
POST /users/{userId|userPrincipalName}/tasks/lists/{listId}/tasks
POST /users/{userId|userPrincipalName}/todo/lists
POST /users/{userId|userPrincipalName}/todo/lists/{listId}/tasks
POST /users/validatePassword
PATCH /administrativeUnits/{administrativeUnitId}/extensions/{extensionId}
PATCH /devices/{deviceId}/extensions/{extensionId}
PATCH /drive/items/{itemId}/extensions/{extensionId}
PATCH /groups/{groupId}/events/{eventId}/extensions/{extensionId}
PATCH /groups/{groupId}/extensions/{extensionId}
PATCH /groups/{groupId}/threads/{threadId}/posts/{postId}/extensions/{extensionId}
PATCH /me/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
PATCH /me/contacts/{id}/photo/$value
PATCH /me/profile/account/{id}
PATCH /me/profile/addresses/{id}
PATCH /me/profile/anniversaries/{id}
PATCH /me/profile/awards/{id}
PATCH /me/profile/certifications/{id}
PATCH /me/profile/educationalActivities/{id}
PATCH /me/profile/emails/{id}
PATCH /me/profile/interests/{id}
PATCH /me/profile/languages/{id}
PATCH /me/profile/names/{id}
PATCH /me/profile/notes/{id}
PATCH /me/profile/patents/{id}
PATCH /me/profile/phones/{id}
PATCH /me/profile/positions/{id}
PATCH /me/profile/projects/{id}
PATCH /me/profile/publications/{id}
PATCH /me/profile/skills/{id}
PATCH /me/profile/webAccounts/{id}
PATCH /me/profile/websites/{id}
PATCH /me/responsibilities/{id}
PATCH /me/settings
PATCH /me/settings/contactMergeSuggestions
PATCH /me/settings/itemInsights
PATCH /organization/{organizationId}/extensions/{extensionId}
PATCH /sites/{siteId}/extensions/{extensionId}
PATCH /users/{id | userPrincipalName}
PATCH /users/{id | userPrincipalName}/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
PATCH /users/{id | userPrincipalName}/contacts/{id}/photo/$value
PATCH /users/{id | userPrincipalName}/profile/account/{id}
PATCH /users/{id | userPrincipalName}/profile/addresses/{id}
PATCH /users/{id | userPrincipalName}/profile/anniversaries/{id}
PATCH /users/{id | userPrincipalName}/profile/awards/{id}
PATCH /users/{id | userPrincipalName}/profile/certifications/{id}
PATCH /users/{id | userPrincipalName}/profile/emails/{id}
PATCH /users/{id | userPrincipalName}/profile/interests/{id}
PATCH /users/{id | userPrincipalName}/profile/languages/{id}
PATCH /users/{id | userPrincipalName}/profile/names/{id}
PATCH /users/{id | userPrincipalName}/profile/notes/{id}
PATCH /users/{id | userPrincipalName}/profile/patents/{id}
PATCH /users/{id | userPrincipalName}/profile/positions/{id}
PATCH /users/{id | userPrincipalName}/profile/projects/{id}
PATCH /users/{id | userPrincipalName}/profile/publications/{id}
PATCH /users/{id | userPrincipalName}/profile/skills/{id}
PATCH /users/{id | userPrincipalName}/profile/webAccounts/{id}
PATCH /users/{id | userPrincipalName}/profile/websites/{id}
PATCH /users/{id | userPrincipalName}/responsibilities/{id}
PATCH /users/{userId}/profile/phones/{id}
PATCH /users/{userId}/settings/itemInsights
PATCH /users/{userId|userPrincipalName}/contacts/{contactId}/extensions/{extensionId}
PATCH /users/{userId|userPrincipalName}/events/{eventId}/extensions/{extensionId}
PATCH /users/{userId|userPrincipalName}/extensions/{extensionId}
PATCH /users/{userId|userPrincipalName}/messages/{messageId}/extensions/{extensionId}
PATCH /users/me/tasks/lists/{listId}/extensions/{extensionId}
PATCH /users/me/tasks/lists/{listId}/tasks/{taskId}/extensions/{extensionId}
PATCH /users/me/todo/lists/{listId}/extensions/{extensionId}
PATCH /users/me/todo/lists/{listId}/tasks/{taskId}/extensions/{extensionId}
PUT /me/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
PUT /me/contacts/{id}/photo/$value
PUT /me/settings/regionalAndLanguageSettings
PUT /users/{id | userPrincipalName}/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
PUT /users/{id | userPrincipalName}/contacts/{id}/photo/$value
PUT /users/{user-id | userPrincipalName}/settings/regionalAndLanguageSettings
DELETE /administrativeUnits/{administrativeUnitId}/extensions/{extensionId}
DELETE /devices/{deviceId}/extensions/{extensionId}
DELETE /drive/items/{itemId}/extensions/{extensionId}
DELETE /groups/{groupId}/events/{eventId}/extensions/{extensionId}
DELETE /groups/{groupId}/extensions/{extensionId}
DELETE /groups/{groupId}/threads/{threadIid}/posts/{postId}/extensions/{extensionId}
DELETE /me/photo/$value
DELETE /me/profile
DELETE /me/profile/account/{id}
DELETE /me/profile/addresses/{id}
DELETE /me/profile/anniversaries/{id}
DELETE /me/profile/awards/{id}
DELETE /me/profile/certifications/{id}
DELETE /me/profile/educationalActivities/{id}
DELETE /me/profile/emails/{id}
DELETE /me/profile/interests/{id}
DELETE /me/profile/languages/{id}
DELETE /me/profile/names/{id}
DELETE /me/profile/notes/{id}
DELETE /me/profile/patents/{id}
DELETE /me/profile/phones/{itemPhoneId}
DELETE /me/profile/positions/{id}
DELETE /me/profile/projects/{id}
DELETE /me/profile/publications/{id}
DELETE /me/profile/skills/{id}
DELETE /me/profile/webAccounts/{id}
DELETE /me/profile/websites/{id}
DELETE /me/responsibilities/{id}
DELETE /organization/{organizationId}/extensions/{extensionId}
DELETE /sites/{site-id}/extensions/{extensionId}
DELETE /users/{id | userPrincipalName}/photo/$value
DELETE /users/{id | userPrincipalName}/profile
DELETE /users/{id | userPrincipalName}/profile/account/{id}
DELETE /users/{id | userPrincipalName}/profile/addresses/{id}
DELETE /users/{id | userPrincipalName}/profile/anniversaries/{id}
DELETE /users/{id | userPrincipalName}/profile/awards/{id}
DELETE /users/{id | userPrincipalName}/profile/certifications/{id}
DELETE /users/{id | userPrincipalName}/profile/emails/{id}
DELETE /users/{id | userPrincipalName}/profile/interests/{id}
DELETE /users/{id | userPrincipalName}/profile/languages/{id}
DELETE /users/{id | userPrincipalName}/profile/names/{id}
DELETE /users/{id | userPrincipalName}/profile/notes/{id}
DELETE /users/{id | userPrincipalName}/profile/patents/{id}
DELETE /users/{id | userPrincipalName}/profile/positions/{id}
DELETE /users/{id | userPrincipalName}/profile/projects/{id}
DELETE /users/{id | userPrincipalName}/profile/publications/{id}
DELETE /users/{id | userPrincipalName}/profile/skills/{id}
DELETE /users/{id | userPrincipalName}/profile/webAccounts/{id}
DELETE /users/{id | userPrincipalName}/profile/websites/{id}
DELETE /users/{id | userPrincipalName}/responsibilities/{id}
DELETE /users/{userId}/profile/phones/{itemPhoneId}
DELETE /users/{userId|userPrincipalName}/contacts/{contactId}/extensions/{extensionId}
DELETE /users/{userId|userPrincipalName}/events/{eventId}/extensions/{extensionId}
DELETE /users/{userId|userPrincipalName}/extensions/{extensionId}
DELETE /users/{userIid|userPrincipalName}/messages/{messageId}/extensions/{extensionId}
DELETE /users/me/tasks/lists/{listId}/extensions/{extensionId}
DELETE /users/me/tasks/lists/{listId}/tasks/{taskId}/extensions/{extensionId}
DELETE /users/me/todo/lists/{listId}/extensions/{extensionId}
DELETE /users/me/todo/lists/{listId}/tasks/{taskId}/extensions/{extensionId}
Commands
Get-MgBetaAdminPeopleItemInsight
Get-MgBetaGroupPhotoContent
Get-MgBetaTeamPhotoContent
Get-MgBetaUser
Get-MgBetaUserContactFolderContactPhotoContent
Get-MgBetaUserContactPhotoContent
Get-MgBetaUserCreatedObject
Get-MgBetaUserPhotoContent
Get-MgBetaUserProfile
Get-MgBetaUserProfileAccount
Get-MgBetaUserProfileAddress
Get-MgBetaUserProfileAnniversary
Get-MgBetaUserProfileAward
Get-MgBetaUserProfileCertification
Get-MgBetaUserProfileEducationalActivity
Get-MgBetaUserProfileEmail
Get-MgBetaUserProfileInterest
Get-MgBetaUserProfileLanguage
Get-MgBetaUserProfileName
Get-MgBetaUserProfileNote
Get-MgBetaUserProfilePatent
Get-MgBetaUserProfilePhone
Get-MgBetaUserProfilePosition
Get-MgBetaUserProfileProject
Get-MgBetaUserProfilePublication
Get-MgBetaUserProfileSkill
Get-MgBetaUserProfileWebAccount
Get-MgBetaUserProfileWebsite
Get-MgBetaUserSettingContactMergeSuggestion
Get-MgBetaUserSettingItemInsight
Invoke-MgBetaInvalidateAllUserRefreshToken
Invoke-MgBetaRetryUserServiceProvisioning
Invoke-MgBetaTranslateUserExchangeId
New-MgBetaDriveItemChild
New-MgBetaUserProfileAccount
New-MgBetaUserProfileAddress
New-MgBetaUserProfileAnniversary
New-MgBetaUserProfileAward
New-MgBetaUserProfileCertification
New-MgBetaUserProfileEducationalActivity
New-MgBetaUserProfileEmail
New-MgBetaUserProfileInterest
New-MgBetaUserProfileLanguage
New-MgBetaUserProfileName
New-MgBetaUserProfileNote
New-MgBetaUserProfilePatent
New-MgBetaUserProfilePhone
New-MgBetaUserProfilePosition
New-MgBetaUserProfileProject
New-MgBetaUserProfilePublication
New-MgBetaUserProfileSkill
New-MgBetaUserProfileWebAccount
New-MgBetaUserProfileWebsite
Remove-MgBetaDriveItemExtension
Remove-MgBetaUserPhotoContent
Remove-MgBetaUserProfile
Remove-MgBetaUserProfileAccount
Remove-MgBetaUserProfileAddress
Remove-MgBetaUserProfileAnniversary
Remove-MgBetaUserProfileAward
Remove-MgBetaUserProfileCertification
Remove-MgBetaUserProfileEducationalActivity
Remove-MgBetaUserProfileEmail
Remove-MgBetaUserProfileInterest
Remove-MgBetaUserProfileLanguage
Remove-MgBetaUserProfileName
Remove-MgBetaUserProfileNote
Remove-MgBetaUserProfilePatent
Remove-MgBetaUserProfilePhone
Remove-MgBetaUserProfilePosition
Remove-MgBetaUserProfileProject
Remove-MgBetaUserProfilePublication
Remove-MgBetaUserProfileSkill
Remove-MgBetaUserProfileWebAccount
Remove-MgBetaUserProfileWebsite
Set-MgBetaTeamPhotoContent
Test-MgBetaUserPassword
Update-MgBetaDriveItemExtension
Update-MgBetaUser
Update-MgBetaUserProfileAccount
Update-MgBetaUserProfileAddress
Update-MgBetaUserProfileAnniversary
Update-MgBetaUserProfileAward
Update-MgBetaUserProfileCertification
Update-MgBetaUserProfileEducationalActivity
Update-MgBetaUserProfileEmail
Update-MgBetaUserProfileInterest
Update-MgBetaUserProfileLanguage
Update-MgBetaUserProfileName
Update-MgBetaUserProfileNote
Update-MgBetaUserProfilePatent
Update-MgBetaUserProfilePhone
Update-MgBetaUserProfilePosition
Update-MgBetaUserProfileProject
Update-MgBetaUserProfilePublication
Update-MgBetaUserProfileSkill
Update-MgBetaUserProfileWebAccount
Update-MgBetaUserProfileWebsite
Update-MgBetaUserSetting
Update-MgBetaUserSettingContactMergeSuggestion
Update-MgBetaUserSettingItemInsight
Update-MgBetaUserSettingRegionalAndLanguageSetting

Code Examples

C# / .NET SDK
// Install: dotnet add package Microsoft.Graph
// Install: dotnet add package Azure.Identity
using Microsoft.Graph;
using Azure.Identity;

// Delegated permissions - interactive user sign-in
var scopes = new[] { "User.ReadWrite" };
var options = new InteractiveBrowserCredentialOptions
{
    ClientId = "YOUR_CLIENT_ID",
    TenantId = "YOUR_TENANT_ID",
    RedirectUri = new Uri("http://localhost")
};
var credential = new InteractiveBrowserCredential(options);
var graphClient = new GraphServiceClient(credential, scopes);

// Example: GET /me
var result = await graphClient.Me.GetAsync();
Console.WriteLine($"User: {result?.DisplayName}");
JavaScript / TypeScript
// npm install @azure/msal-browser @microsoft/microsoft-graph-client
import { PublicClientApplication } from "@azure/msal-browser";
import { Client } from "@microsoft/microsoft-graph-client";
import { AuthCodeMSALBrowserAuthenticationProvider } from 
    "@microsoft/microsoft-graph-client/authProviders/authCodeMsalBrowser";

const msalConfig = {
    auth: {
        clientId: "YOUR_CLIENT_ID",
        authority: "https://login.microsoftonline.com/YOUR_TENANT_ID"
    }
};

const pca = new PublicClientApplication(msalConfig);
await pca.initialize();

// Delegated: Login with required scope
const loginResponse = await pca.loginPopup({
    scopes: ["User.ReadWrite"]
});

const authProvider = new AuthCodeMSALBrowserAuthenticationProvider(pca, {
    account: loginResponse.account,
    scopes: ["User.ReadWrite"],
    interactionType: "popup"
});

const graphClient = Client.initWithMiddleware({ authProvider });

// Example: GET /me
const result = await graphClient.api("/me").get();
console.log(result);
PowerShell
# Install Microsoft Graph PowerShell module
Install-Module Microsoft.Graph -Scope CurrentUser

# Delegated access - interactive sign-in
Connect-MgGraph -Scopes "User.ReadWrite"

# Verify connection
Get-MgContext | Select-Object Account, TenantId, Scopes

# Example: GET /me
$result = Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/me"
$result | ConvertTo-Json -Depth 5


# Always disconnect when done
Disconnect-MgGraph
Python
# pip install msgraph-sdk azure-identity
from azure.identity import InteractiveBrowserCredential, ClientSecretCredential
from msgraph import GraphServiceClient
import asyncio

# Delegated permissions - interactive browser sign-in
credential = InteractiveBrowserCredential(
    client_id="YOUR_CLIENT_ID",
    tenant_id="YOUR_TENANT_ID"
)
scopes = ["User.ReadWrite"]
client = GraphServiceClient(credential, scopes)

async def get_data():
    # Example: GET /me
    result = await client.me.get()
    print(f"User: {result.display_name}")
    return result

asyncio.run(get_data())

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Delegated permissions and search for User.ReadWrite

4

Grant Admin Consent

Users can consent to this permission themselves during sign-in.