Graph Explorer does not support calling the /users/{user id}
endpoint, you can only use it to call the /me
endpoint: me/mailboxsettings/workinghours
.
The /users/{user id}
endpoint is usually adapted to the application context, so you should grant your application the MailboxSettings.Read
application permission in Azure AD, then use the client credentials flow to get the token and call the /users/{id|userPrincipalName}/mailboxsettings/workinghours
api endpoint in postman.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.