Solved

Office 365 License Cleanup

Posted on 2016-10-18
2
12 Views
Last Modified: 2016-11-07
In Office 365, is there a way to run a power shell command against a get-content txt file containing UPNs, and report back accounts that's are NOT listed in the get-content txt file, and export the results to CSV?

Reason I ask, this company I am helping migrate to office 365 never did any AD cleanup of terminated employees. The AD accounts  weren't ever deleted/disabled, but just had passwords reset. So they have been migrating accounts/mailboxes to the cloud and wasting E3 licenses.

I want to reclaim those non-employed user licenses and delete them from AD/Exchange so I can use those licenses on current employees that still need to be migrated.

Thanks.
0
Comment
Question by:Christian Hans
  • 2
2 Comments
 
LVL 14

Accepted Solution

by:
Todd Nelson earned 500 total points (awarded by participants)
ID: 41849455
Check this article out.  Not exactly what you specified but should be able to provide good guidance on how to script for a list of users...

https://oddytee.wordpress.com/2016/06/28/assign-subscription-licenses-and-license-options-to-office-365-users/

Combine with this article to remove the license...

https://technet.microsoft.com/en-us/library/dn771774.aspx
0
 
LVL 14

Expert Comment

by:Todd Nelson
ID: 41876857
Sufficient information to achieve resolution.
0

Join & Write a Comment

If you don't know how to downgrade, my instructions below should be helpful.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now