Because some Graph API needs user's timezone, I want to get it.
Ex. Find meeting times api needs timezone settings.
Would you tell me how to get user's timezone settings from Office 365?
I found answer and share it to developers who have same questions.
To get user's Office 365 Timezone, you can get with Get user mailbox settings API.
Please set "Read and write to your mailbox settings" permission in Azure AD.
The Microsoft Graph now supports requesting the TimeZone directly using either GET /me/mailboxSettings/timeZone
or GET /users/{id|userPrincipalName}/mailboxSettings/timeZone
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With