capabilities.work

Count a user's work plan occurrences

One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.

Look something up

Count a user's work plan occurrences

Use Microsoft Entra ID (formerly Azure AD): its Users.user Settings API lets you count a user's work plan occurrences in a single step (GET /users/{user-id}/settings/workHoursAndLocations/occurrences/$count). capabilities.work can help you get signed up and connected.

  • How many work plan occurrences does a user have scheduled?
  • What's the number of someone's occurrences that match a filter?
Say it to your AI assistant
  • Count the work plan occurrences for user {user_id}.
  • Count {user_id}'s work plan occurrences where {filter}.
For your developer

GET /users/{user-id}/settings/workHoursAndLocations/occurrences/$count in Users.user Settings API. Full spec on APIs.io.