Join the Team Forms community

Updated 4 months ago

Option to display only Active Users in User Component

At a glance

The community member who posted the original post would like the ability to filter out inactive users from the "Entire Organisation" and "Team Members" Users Sources based on the users' Active Directory (AD) status or the AD Group they have been assigned. This may require enhancing the attributes returned by the component and then filtering these attributes to remove the inactive users.

In the comments, another community member responds that this is something they want to implement, but there is currently a limitation within the Microsoft ecosystem that prevents this from being implemented. They mention that the limitation is explained in a user voice post on the Microsoft Community website.

The User Component currently returns all users, even inactive users, in the "Entire Organisation" and "Team Members" Users Sources. We would like the ability to filter out inactive users based on the users AD status or the AD Group that they have been assigned. This may require enhancing the attributes that are returned via the component, and then being able to filter these attributes to remove the inactive users.

A
1 comment

Hi Shane,

This is something we do want to implement however right now there is a limitation within the Microsoft ecosystem which currently prevents this from being implemented. If your interested it is explained in the user voice here:

Get active users without admin consent · Community (microsoft.com)