Forum Discussion
Email users of devices in Dynamic group with MS 365 group email address
So we have got a Dynamic group that contains devices (based on brand and OS -> all Apple iOS devices) . We have got another Microsoft 365 group with group email address like email address removed for privacy reasons. Now I would like to email all users of the iOS devices using this email address.
As before the situation was that we had groups with assigned members (users) and in the Dynamic Rule of the MS 365 Dynamic group with the email address I just created a rule like: user.memberof -any (group.objectId -in ['b35f7ce7-f0ba-45b8-a066-e273e6816774']) (I can add as much other groups as well.
But now it is different. I only have a Dynamic group with all Apple devices. So no members (users) but devices...
Any way to set this up ending up being able to email all device users using the group email address email address removed for privacy reasons ?
- You can create a report of all the primary users of the Apple iOS devices?
- markjorissenCopper ContributorYou mean do an export from intune of all the iOS users and import them in the 365 group (with group email) as members? That would work, but I would like to have them add auto. If a user deploys a phone in Intune, a dynamic group would contain the device. Maybe there is a way to make a dynamic group based on the phone or os of the phone... And then make a group with the email and add that dynamic group with the members automatic.
Dynamic groups containing all iOS devices contain just that; there is no relation between that device group and users. You would have to create a runbook, or similar, that retrieves all the iOS devices with their primary user, use that primary user to be added to a Microsoft 365 group, and schedule that.
- Any update?