How to List Users Assigned to a Specific Microsoft 365 Subscription ID
Question details
Administrators need to extract an exact list of users assigned to a specific subscription ID to manage upcoming expirations.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Managing Microsoft 365 user licenses and assessing the impact of expiring subscriptions.
- Observed behavior
- Administrators require a method to filter and identify which specific users are tied to a particular subscription ID that is nearing expiration.
Ensure you have global administrator or billing administrator privileges in your Microsoft 365 tenant before attempting to view or export subscription details.
View Assigned Users in Microsoft 365 Admin Center
Use the built-in Microsoft 365 Admin Center to easily view and export user license assignments associated with specific subscriptions.
Navigate to admin.microsoft.com and log in with your administrator credentials.
In the left-hand navigation menu, expand the 'Billing' section and click on 'Licenses'.
Click on the specific subscription or product name you want to investigate to view the active list of assigned users.
Click the 'Export users' button at the top of the list to download a CSV file containing all user details for that specific subscription.

Use PowerShell to Retrieve Users by Subscription ID
Utilize Microsoft Graph PowerShell to run custom scripts for filtering users by specific subscription IDs or license SKUs.
Manage Your Documents with WPS Office
While you manage your Microsoft 365 administration tasks, consider WPS Office as a free, lightweight, and powerful alternative for your organization's daily document processing needs. It offers a highly familiar interface, perfect compatibility with Microsoft formats, and facilitates seamless migration.
- 1. Download the Installer: Visit the official WPS Office website to download the free installer for your operating system.
- 2. Install WPS Office: Run the downloaded file and follow the quick on-screen instructions to complete the setup.
- 3. Open and Edit Files: Launch WPS Office and instantly start creating or editing your Microsoft-compatible documents without a steep learning curve.

Frequently Asked Questions
Can I export the list of assigned users to an Excel spreadsheet?
Yes, in the Microsoft 365 Admin Center under Billing > Licenses, you can select a subscription and click 'Export users' to generate a CSV file. This file can be easily opened and formatted in Microsoft Excel or WPS Spreadsheet.
Why would I use PowerShell instead of the Microsoft 365 Admin Center?
PowerShell is particularly useful for large enterprise organizations where administrators need to run automated bulk reports, filter by precise Subscription IDs that may not be easily visible in the GUI, or cross-reference multiple expiration dates efficiently.
What happens to a user's data when their assigned subscription expires?
When a Microsoft 365 subscription expires, the user's data typically enters a 30-day grace period where data is still accessible. Afterward, it becomes disabled and is eventually deleted. Identifying these users beforehand allows you to reassign them to an active subscription to prevent any data loss.




