Skip to content
No results
  • About Me
  • APIs
    • PnP JavaScript Library for SharePoint (PnP-JS-Core)
  • Blog
  • Chat Window
  • Contact Me
  • Downloads
  • My Channel Videos from Youtube
  • Repos

Shantha Kumar T

KTSKUMAR.COM

Learnings & Technical Adventure from ShanthaKumar

  • Home
  • Videos
  • Downloads
  • APIs
    • PnP-JS-Core
  • Contact Me
KTSKUMAR.COM

Learnings & Technical Adventure from ShanthaKumar

Update User Birthday using Graph API

How to update the birthday information of the user using Microsoft Graph API
  • Shantha KumarShantha Kumar
  • June 13, 2021
  • MSGraph
  • 24,849 Comments

Microsoft Graph API provides the option to update the birthday information for the user in Profile. So, we no need to use SharePoint User Profile to update it.

Follow the below steps to update the birthday information for the given user,

  • Let’s move to Microsoft Graph Explorer (Short URL: aka.ms/ge)
  • Sign in to the Graph Explorer
  • Run the below Patch Endpoint with the user’s id

    EndPoint: https://graph.microsoft.com/v1.0/users/<user id>
    Method: PATCH
    Body: { "birthday": "YYYY-MM-DDT00:00:00Z" }
  • To run the request, you must consent to any one of the below permissions,
    • User.ManageIdentities.All
    • User.ReadWrite ( To used only on update the current user )
    • User.ReadWrite.All
    • Directory.AccessAsUser.All
    • Directory.ReadWrite.All
  • After the run the request, the Graph Explorer looks like below.

Update Birthday information for the user

 

Tags
# Birthday# Microsoft Graph API# User Profile
Shantha Kumar
Shantha Kumar
Articles: 305
Previous Post Export Users with no birthday set in profile using Microsoft 365 CLI
Next Post How to use MS Graph Toolkit Get component in SharePoint Framework
No results
Shantha Kumar
Shantha Kumar Thambidurai
C# Corner MVP
CTO, SharePoint Designs
Author, Trainer
Microsoft Community Contributor Award 2011
profile for Shantha Kumar C# Corner - A Social Community of Developers and Programmers

Find me on…

  • MSDN Forum
  • SharePoint StackExchange
  • Codeplex
  • C-Sharp Corner
  • Github
  • Github Gists
  • Old Blog

Related Posts

Unlock Efficiency: How to connect Microsoft Graph API with Microsoft Power Automate

  • February 16, 2024
  • 24,849 Comments

Exploring Microsoft Graph API – Create Sharing link for a specific user’s

  • December 27, 2021
  • 24,849 Comments

Exploring Microsoft Graph API – Get Guest Users

  • December 23, 2021
  • 24,849 Comments

ClustrMap

Locations of visitors to this page

View My Stats

Recent Posts

  • 5 Useful formulas to use within Copilot Studio
  • Enhance SharePoint responses in Copilot Studio
  • How to remove “Surfaced with Azure OpenAI” in Copilot Studio Agent Response
  • How to solve Flow run resubmissions error for instant flows
  • Connect multiple SharePoint site collections with PnP PowerShell

Tags

Administration Automation Configuration Development Error export Field Flow FontPackage jQuery JSOM List Lists Microsoft365 Microsoft Flow Microsoft Graph Microsoft Graph Toolkit Modern UI MOSS MSGraph Office 365 Permissions PnP PnP JavaScript Library PnP JS Core PnP Powershell Power Automate Search SharePoint SharePoint 2010 SharePoint 2013 SharePoint 2016 SharePoint Framework SharePoint Online SharePoint Tips SiteCollection sp-pnp-js SP2010 New Features SPFX Sql Query Tips UI Updates WebService Workflow
Copyright © 2025 - WordPress Theme by CreativeThemes