@Sharon Zhao-MSFT Thank you for your reply.
In fact, we have not been able to reproduce the issue ourselves.
Just to answer your questions, yes the members are guest and we are using their personal emails.
However, we found out some specific issues, linked to the email with Flow.
Just fyi, we are assigning each member to a specific Team by using a Group rule :
We were loading some information in the extensionAttribute1 like |Club|U15| or [Club|U15|U18|
For each Group (corresponding to each Teams Group), we set a dynamic membership rule.
exemple : extensionAttribute1 contains Club
The setting up or the update of the extensionAttribute1 was done by Flow.
We were using the Azure AD update user. It was working well and now there is an error with the mail field. We were not able to understand why the mail is said to be badly formatted.
So instead we used the http in flow to patch the user.
When doing this the extensionAttribute1 was updated, but the email was deleted.
So still with http we also included the mail update, same issue.
We finally found a workaround by not using the extensionAttribute1 anymore but by using the department instead.
The department gets updated with the necessary information to assign or dynamic membership rules and the email is not being deleted anymore.
The issue could come from the JSON used with http but the update of the extensionAttribute1 was working correctly. And before that, the Azure AD update user had issues as well with the email.
As for the attribution of the licenses, in the O365 Basic license, we selected only the PowerApp license (in case there were some side-effect interaction with the exchange license for example)
For the moment, it is working. When we will have more time we will redo some testings on a dummy account.