Microsoft Graph API

Chethanraj M 21 Reputation points
2022-09-19T11:54:47.73+00:00

Hi i have a powershell command to set the language and Indian time zone in office 365 instead of that i need it to achieve through graph API.

Command:

Set-MailboxRegionalConfiguration -Identity 'Email-id' -Language
en-IN -TimeZone 'India Standard Time' -Confirm:$false

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,774 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vicky Kumar (Mindtree Consulting PVT LTD) 1,171 Reputation points Microsoft Employee
    2022-09-19T13:18:09.983+00:00

    You can achieve this in beta version by calling below API - beta/me/settings/regionalandlanguagesettings

    242564-image.png
    reference doc - https://learn.microsoft.com/en-us/graph/api/regionalandlanguagesettings-update?view=graph-rest-beta&tabs=http

    Hope this help
    Thanks

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. RajeshKumarMSFT 1,971 Reputation points Microsoft Vendor
    2022-09-19T15:01:14.197+00:00

    Hi @Chethanraj M

    Hope you are doing well ,

    We can set set the language and time zone to MailBox using graph API please check the below graph API endpoint and Scereenshot

    Patch :- https://graph.microsoft.com/v1.0/me/mailboxsettings

    Request Body-
    242537-image.png

    Refer : -https://learn.microsoft.com/en-us/graph/api/user-update-mailboxsettings?view=graph-rest-1.0&tabs=http

    Hope this helps.
    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.