Script to check Exchange online enabled users from a CSV

%3CLINGO-SUB%20id%3D%22lingo-sub-1339726%22%20slang%3D%22en-US%22%3EScript%20to%20check%20Exchange%20online%20enabled%20users%20from%20a%20CSV%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1339726%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20a%20script%20to%20check%20exchange%20online%20service%20enabled%20users%20%2C%20from%20a%20CSV.%20There%20could%20be%20different%20Microsoft%20365%20subscriptions%2C%20out%20of%20all%20%2C%20need%20to%20query%20the%20status%20of%26nbsp%3B%20%22Exchange%20Online%22%20service%20based%20on%20a%20csv%20we%20provide%20with%20userprinciplenames.%20There%20are%20lost%20of%20scripts%20to%20get%20Office%20365%20licenses%20details%20with%20users%20but%20couldn't%20find%20something%20similar%20to%20my%20requirement.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EKavindu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1339726%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%20Scripts%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1340221%22%20slang%3D%22en-US%22%3ERe%3A%20Script%20to%20check%20Exchange%20online%20enabled%20users%20from%20a%20CSV%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1340221%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F109550%22%20target%3D%22_blank%22%3E%40Kavindu%20Asanga%20Dayananda%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20try%20this%20script.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fo365reports.com%2F2018%2F12%2F14%2Fexport-office-365-user-license-report-powershell%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EExport%20Office%20365%20licensed%20users%20with%20their%20service%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20script%20will%20export%20all%20licensed%20users%2Flist%20of%20users%20with%20their%20enabled%20service.%20You%20can%20filter%20the%20output%20to%20get%20'Exchange%20Online'%20enabled%20users.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

 

I need a script to check exchange online service enabled users , from a CSV. There could be different Microsoft 365 subscriptions, out of all , need to query the status of  "Exchange Online" service based on a csv we provide with userprinciplenames. There are lost of scripts to get Office 365 licenses details with users but couldn't find something similar to my requirement.

 

Regards,

Kavindu

1 Reply
Highlighted

@Kavindu Asanga Dayananda 

You can try this script.

Export Office 365 licensed users with their service

 

This script will export all licensed users/list of users with their enabled service. You can filter the output to get 'Exchange Online' enabled users.