Script to check Exchange online enabled users from a CSV

Copper 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

@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.