Hi @LeifDavisson,
you could write a script that utilizes MS Graph API by periodically getting a list of the group members (polling), and if there is a change, it sends an email to the additional memebers. Here is a high level flow of how this might work:
- Use the the following endpoint in Microsoft Graph API:
GET /groups/{id}/members
- Store the list of users in a database or a file.
- Periodically (e.g., every hour or every day, depending on your needs), get the current list of users in the group.
- Compare the current list of users with the list stored in the database/file. If there is a new user, trigger an email to the developers.
- Update the list in the database/file with the current list of users.
This method will give you the greatest level of flexibility depending on your needs. Another way to achieve the same result would be to use Power Automate to monitor the group and send an email when a new member is added. This does not require any code and can be setup directly in the Power Automate UI. Read more on how to create a flow in Power Automate from this page.