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 Security | Microsoft Graph
0 comments No comments
{count} votes

Answer accepted by question author
  1. Vicky Kumar (Mindtree Consulting PVT LTD) 1,161 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,981 Reputation points Microsoft External Staff
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.