Forum Discussion
Set work location via API (Graph?)
Hey folks - we'd love to use this feature to replace a script setup we have in place in teams, which is a Microsoft List a coworker set up that has staff names printed in it, and each staff person manually goes in (about 6-8 clicks) to the pinned "working from" tab in our General channel, finds their name (or anyone else's name; there's no security on this) and then has the option to click Not Working Today, Remote, or Office. Then every morning at 4AM then List gets reset back to default.
Using the location system defined here is much, much easier for a user to set with just 2 clicks. But on the other hand, what's NOT simple to do, is see your entire set of coworkers' statuses on a page like our current List does. What we need is this API to have the ability to read other people's statuses, not just our own (from the post down in February 2026). Then we could make an output file that reads /v1/me/workLocation (probably wouldn't be "me" in this case) .... user1, user2, user3, etc and then outputs all this into a single pane of information.
We can't be the only org looking for a way to get a single viewscreen that has a list of users and their Teams Presence statuses in it. Our "List" works fine, it's just a lot of clicks to reach the page and set our statuses.