Forum Discussion
Set work location via API (Graph?)
Hi Graph Team!
We would like to set the work location ("Office", "Remote") via Graph API endpoint. We want to synchronize the work location in Teams / O365 with information from our internal tool.
This workaround here is not applicable to our use case:
There seems to be a high interest in this capability. Can you add this function to Microsoft Graph?
Thanks!
Jens
3 Replies
- BenjaminBurgyCopper Contributor
Found something on Medium, just FYI: https://medium.com/@mozzeph/automate-setting-work-location-in-teams-outlook-poc-deb7b05de08d
He is able to set the work location using PowerShell: https://github.com/mozziemozz/TeamsPhoneAutomation/blob/main/Scripts/SetTeamsWorkLocation/SetTeamsWorkLocation.ps1
As he said, the hard part is "How to get the access token from an headless process" but PowerShell provides something.
- BenjaminBurgyCopper Contributor
Really impatient to have it too! Another similar feedback ticket about this request: https://feedbackportal.microsoft.com/feedback/idea/bdf9ade1-c54c-ee11-a81c-0022484eccc5
- Florian_CoviflexCopper Contributor
Also need it, all we can do is to like the feature request I guess
https://feedbackportal.microsoft.com/feedback/idea/735c1234-0807-ee11-a81c-000d3ae5b6f4