Forum Discussion

Sifiak's avatar
Sifiak
Copper Contributor
Apr 03, 2020

Adding users to a TEAM (o365 Group)

Hi All,

in our company we have the need to have some TEAMS where users are added as soon as they join the company, or even before (after the onboarding process runs, is approved, user ID is created...).

Now in our process we add the user to a security group which is then synced to a O365 Group. This way the user is immediately in, and a sync is preventing him from leaving the team. The problem i have is that after he is added, system puts a message in to the general channel:

Rambo, John joined the team, or John Mcclane has added Rambo John to the team.

The first veresion would be fine... user joins as system adds him, but the second version where Rambo is added by Mcclane is simply wrong as Mccalen never did anything... but for some reasons this is what it tells... 

Anyone any idea why its sometimes working right and other times not?

4 Replies

  • Sifiak's avatar
    Sifiak
    Copper Contributor
    Well the system, in case it post that message of the second possibility, it will use some owner name... But its not really changed by that particular owner....its almost as if the system cant resist to post with an owner name, sometimes...
    • alitaqvi's avatar
      alitaqvi
      Iron Contributor
      John might be the owner of O365 group which then replicate this message down to Teams.
    • Sifiak's avatar
      Sifiak
      Copper Contributor

      jcgonzalezmartin adding one more important part, the account that will add the user to the security group and then syncing to the O365 group is not even a member of that team...  so the only thing i would expect is the message that  ....joined the team...