List of Individual Users Presence

Rebekah Grier 6 Reputation points
2022-02-18T17:12:45.537+00:00

Hi everyone!
My company would like to see a dynamic list of everyone's user presence or "Status" (active, busy, away) in one place. This list would need to be visible by everyone in the company. I tried creating a SharePoint list and using Power Automate to pull the data in. However, the Teams connector doesn't seem to offer the user presence data nor does any other connector I've looked at.

It was recommended to try this board as it may be something we can do with a combination of apps such as Power Apps & Microsoft Graph? I'm still new to Power Apps and haven't used Microsoft Graph before. I am not part of IT so I can't access the Admin center but if I had clear instructions, we could work together on this.

Appreciate any help I can get!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,114 questions
{count} vote

2 answers

Sort by: Most helpful
  1. CarlZhao-MSFT 42,046 Reputation points
    2022-02-21T03:06:24.47+00:00

    Hi @Rebekah Grier

    Of course, you can get a list of users presence (only supports listing presence info of up to 650 users at the same time ) by calling the /communications/getPresencesByUserId endpoint.

    Before that, you need to know all the user ids in your tenant.

    176244-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Rebekah Grier 6 Reputation points
    2022-03-21T15:33:43.43+00:00

    Thank you so much for your response! My IT has to approve my access to get into the Graph app. So, does our whole company need access even if I set the permission to Read.All as you have posted?
    I'm looking into a recurring flow using Power Automate that might help me with the "auto-update" portion we need for the list. Then, we can display it on a SharePoint list or some other web part. I'm curious, would the company see the live info if they don't have access to Graph? Any direction with that would be great as well.

    In your previous post, you mentioned we need to have all the user ID's in our tenant. I'm hoping there is a way to call all of the users status at once and not one at a time? We have over 200.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.