Hi @Benjamin Garrard ,
You can create 2 Administrative Units (AUs), one for internal users and another for external users. You will have to manually assign users to Administrative Units every time a new member or guest is added to the tenant.
You can use dynamic groups for this purpose as well, for example you can use a query if userType == Guest
and userType == member
for adding external and internal users to groups respectively. However, the query will be executed everytime you fetch the membership of the dynamic group to populate the list of all group members and can take time to populate the list of users if there are huge number of users.
Administrative units can contain Users and Groups. So you can combine the usage of AUs and Dynamic groups as well.
-----------------------------------------------------------------------------------------------------------
Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.