In this post I will show you a script allowing you to automatically add a device into an Entra ID group at the end of a MECM Task Sequence.