stuartridout / teamlink

TeamLink is a free Microsoft Teams Power App using Dataverse for Teams. It is a space where your team can share there whereabouts for the week ahead directly in Microsoft Teams. Users can select who they want to 'follow' and see the upcoming presences of or can view by site to see who is planning to be on site on that day. TeamLink allows you then to message to see if the person wants to meet up for a coffee ... all from the click of a button!
MIT License
51 stars 2 forks source link

Team members visible in the app and no longer in the Teams team #37

Open L0kiz0 opened 1 year ago

L0kiz0 commented 1 year ago

Hi,

I installed your app and think it's really great (1.0.0.30)!

After the installation we noticed that 3 members are visible in this team (This Team tab) who are actually no longer in this team and have been removed. In our AD these members are also deactivated.

How can this be, or how can I remove these members?

L0kiz0 commented 1 year ago

nobody who can help me?

Worrelpa commented 1 year ago

You need to edit the powerapp and check on the main screen on visible and each of the filter buttons on select formulas. Make sure the Collection filters all have a condition of accountEnabled = true

e.g.

ClearCollect( thisTeamList, SortByColumns(Filter( thisTmpTeamList, accountEnabled=true), "mail", Ascending ));

dominikmeier99 commented 1 year ago

Hey @Worrelpa

I have the same problem, do you mean with these objects: grafik

Here in the code or where? grafik

Thx