An Office service that supports add-ins to interact with objects in Office client applications.
Yes. A service principal cannot call GET /users/{id | userPrincipalName}/settings/workHoursAndLocations.
The API supports only delegated permissions for work or school accounts. For this endpoint:
- Application permissions: Not supported
-
/merequires a signed-in user and delegated permission -
/users/{id | userPrincipalName}is allowed only when the ID is the caller’s own user ID
That means granting MailboxSettings.Read to an application or service principal does not enable app-only access to this endpoint. MailboxSettings.Read is listed only under delegated permissions for this API.
The same limitation also applies to related work plan APIs such as:
-
occurrencesView -
recurrences
Those also do not support application permissions.
References: