I'm trying to call Graph SDK to access the user's timezone. In order to do that i created a native app that has two scopes (Read and readWrite user's mailboxsettings). However as you can see in the image the timezone prop is null, despite the fact that i successfully grabbed the user's timezone.
This is the code that i did :
public static async Task TryGetUserMailboxSettingsAsync()
{
var graphClient = AuthenticationHelper.GetAuthenticatedClient();
User user = await graphClient.Me.Request().Select("MailboxSettings").GetAsync();
MailboxSettings mailboxSettings = user.MailboxSettings;
}
Can anyone tell me why ?