I created a team via my MS Teams client, which automatically created an Office365 group in my Azure AD. It also added me as the owner of the group.
Now I want to add more members to the group. I can do this in several ways:
- Add members directly to the team via MS teams client.
- Add users to office 365 group via Azure AD
- Add users to office 365 group via Microsoft 365 admin center
- Add users to office 365 group via Graph API
- Add users via Exchange Online PowerShell
When I use the first method, the members list in Teams is updated immediately.
But Teams doesn't reflect the changes immediately if I use any of these methods. The Microsoft documentation says that it may take up to 2 hours.
If you DO add or remove team members outside of the Teams client (by using the Microsoft 365 admin center, Azure AD, or Exchange Online PowerShell), it can take up to two hours for changes to be reflected in Teams.
But the sync process is much slower than this. In my case, it was more than 24 hrs.
Is there a solution to reduce this delay? Something like:
- A script to sync the Teams and office 365 group.
- Any other method that doesn't have this delay