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
50 stars 2 forks source link

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

Open L0kiz0 opened 2 years ago

L0kiz0 commented 2 years 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 2 years ago

nobody who can help me?

Worrelpa commented 2 years 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 2 years ago

Hey @Worrelpa

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

Here in the code or where? grafik

Thx

digitisingsafety commented 3 months ago

Same issue here, despite accountEnabled=true.

L0kiz0 commented 3 months ago

Our easiest way is go to the sharepoint site from the team and delete the people there

digitisingsafety commented 3 months ago

Thanks @L0kiz0 - I've just done this and it works. Funny how it only sporadically works when deleting from the Channel itself.