Comments (3)
Thanks for reporting. This sample does need an update as the authentication libraries have been significantly re-worked since this was last touched. However it should still work.
Can you check something for me? Can you go to Graph Explorer, login with the same account you're using to reproduce this, and run a GET https://graph.microsoft.com/v1.0/me/mailboxsettings
? If that works, do you see a value for timeZone
? You may see it inside workingHours
or automaticRepliesSetting
, but specifically I'm looking to see if it's set at the top level (like the third line below).
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('xxx')/mailboxSettings(timeZone)",
"archiveFolder": "AAMkAGVl...AAA=",
"timeZone": "Eastern Standard Time",
"delegateMeetingMessageDeliveryOptions": "sendToDelegateAndPrincipal",
"dateFormat": "",
"timeFormat": "",
"automaticRepliesSetting": {
"status": "disabled",
"externalAudience": "none",
"internalReplyMessage": "",
"externalReplyMessage": "",
"scheduledStartDateTime": {
"dateTime": "2021-02-25T20:00:00.0000000",
"timeZone": "UTC"
},
"scheduledEndDateTime": {
"dateTime": "2021-02-26T20:00:00.0000000",
"timeZone": "UTC"
}
},
"language": {
"locale": "en-US",
"displayName": "English (United States)"
},
"workingHours": {
"daysOfWeek": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday"
],
"startTime": "09:00:00.0000000",
"endTime": "17:00:00.0000000",
"timeZone": {
"name": "Eastern Standard Time"
}
}
}
from aspnet-snippets-sample.
Ahh this is slightly embarrassing. I'm using a Office 365 Developer account and I hadn't yet accessed the mailbox.
I didn't have an value for timeZone on the top level like in the example. As soon as I went to the mailbox and tried again, the value was populated :)
Thanks for the help
from aspnet-snippets-sample.
Thanks for confirming! I suspected this was the case as someone else had a similar issue with the tutorial that this is based off of. The fix hasn't come over to this repo yet :D.
from aspnet-snippets-sample.
Related Issues (20)
- Question: How to get the group picture along with group properties HOT 1
- How to set up open extension in application manifest under optionalclaims? HOT 1
- Microsoft Graph is only for Azure AD? HOT 1
- Image src attribute in email body using microsoft graph HOT 1
- Where is the Resources resource? HOT 1
- Authorization_RequestDenied . Insufficient privileges to complete the operation HOT 1
- Unable to update Group description
- An exception is thrown when a user's manager is requested, and is null. HOT 4
- MSAL.NET 3 - breaks these samples? HOT 2
- How to create SharePoint documentSet using onedrive api? HOT 1
- Microsoft.Identity.Web.MicrosoftGraphExtensions AddMicrosoftGraph extension HOT 5
- Creating class team
- Microsoft.Identity.Web v1.6.0 (IServiceCollection doesn't have AddSignIn) HOT 1
- App crashes on File menu with personal account HOT 2
- Calendar not working HOT 3
- This repo is missing important files
- Missing Areas? HOT 1
- Access to Sharepoint sites
- Missing files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnet-snippets-sample.