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

Update User Info - dealing with users present in the application but not in AAD #36

Open digitalanalogue9 opened 1 year ago

digitalanalogue9 commented 1 year ago

I came across an issue where a TeamLink record existed but the person had left and no longer had a record in AAD. This is just to document what I did to fix it.

  1. Rename Get User Profile (V2) to GetUserProfile (only did this because it made the next step easier!)

  2. Add a switch (with configure run after as Success or Failed) with expression outputs('GetUserProfile').statusCode Update User Info Flow Fix

  3. Case 200 - move the Update a row action here. Default : put a compose in here but essentially do nothing

tdashworth commented 1 year ago

This appears to be a duplicate of #28. But thanks for including a solution!