Currently, need to get a user's office location and then convert that into a time zone, or is there a way to obtain the user's time zone Graph?
Mailbox settings has a timezone property.
https://graph.microsoft.com/v1.0/me/mailboxsettings
According to your descriptions, I assume you want to get the user's time zone by Graph.
In this document, we can get the user's mailbox Settings. We can use the API like this:
GET /me/mailboxSettings/timeZone
or
GET /users/{id|userPrincipalName}/mailboxSettings/timeZone
It will return the user's mailbox time zone settings. The response like this:
{
"@odata.context": "https://graph.microsoft.com/v1.0/XXX/mailboxSettings/timeZone",
"value": "China Standard Time"
}
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