Meilleur auteur de réponses
Get a list of devices managed by Office 365 MDM

Question
-
I'm trying to find a way to get a list of devices that are managed by Microsoft office 365 MDM that show up on the portal.
I've tried various commands which bring back a list of devices with ActiveSync mailboxes, but I just wanted those with MDM
an policy enabled.
The idea is to remove mobile devices not managed by MDM.
Thanks in advance.
Réponses
-
Thanks for your taking your time to get me the information. I will have a play with those commands and hopefully put together some logic in order to get what I need
Thanks
Regards
shenmue232
- Marqué comme réponse shenmue232 vendredi 8 novembre 2019 14:16
Toutes les réponses
-
-
-
This will get the policies: https://docs.microsoft.com/en-us/powershell/module/exchange/devices/get-activesyncmailboxpolicy?view=exchange-ps
This will get mobile device policies: https://docs.microsoft.com/en-us/powershell/module/exchange/devices/get-mobiledevicemailboxpolicy?view=exchange-ps
\_(ツ)_/
- Modifié jrvModerator dimanche 20 octobre 2019 19:13
- Proposé comme réponse LeeSeenLiMicrosoft contingent staff, Moderator lundi 21 octobre 2019 06:55
-
You need to understand what all of these are and what information they give you then learn some PowerShell - enough to design a solution - before using PowerShell with O365.
There are dozens of articles available that discuss device management. Also review ALL of the CmdLets available for Exchange Online and O365 until you understand how they are designed and how they are intended to be used.
Also investigate the O365 Community forums (linked from Admin Portal menu) where yo will find more complete information and users working in the same context as yourself.
\_(ツ)_/
- Proposé comme réponse LeeSeenLiMicrosoft contingent staff, Moderator lundi 21 octobre 2019 06:55
-
Thanks for your taking your time to get me the information. I will have a play with those commands and hopefully put together some logic in order to get what I need
Thanks
Regards
shenmue232
- Marqué comme réponse shenmue232 vendredi 8 novembre 2019 14:16
-
Hi,
Was your issue resolved?
If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
If no, please reply and tell us the current situation in order to provide further help.
Best Regards,
LeePlease remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.