Getting warning in admin portal that 200 users need valid licenses

%3CLINGO-SUB%20id%3D%22lingo-sub-320529%22%20slang%3D%22en-US%22%3EGetting%20warning%20in%20admin%20portal%20that%20200%20users%20need%20valid%20licenses%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-320529%22%20slang%3D%22en-US%22%3EI%20have%20total%20of%20600%20users%20and%20have%20assigned%20licenses%20to%20them%20but%20from%20sometimes%20i%20am%20getting%20warning%20in%20the%20portal%20that%20some%20of%20the%20user%20licenses%20have%20expired%20and%20need%20valid%20license..%3CBR%20%2F%3EI%20was%20trying%20to%20get%20any%20powershell%20command%20so%20that%20i%20can%20see%20the%20list%20of%20users%20whose%20license%20have%20expired.%3CBR%20%2F%3EKindly%20help%20me%20creating%20the%20command.%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-320529%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-320542%22%20slang%3D%22en-US%22%3ERe%3A%20Getting%20warning%20in%20admin%20portal%20that%20200%20users%20need%20valid%20licenses%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-320542%22%20slang%3D%22en-US%22%3EIf%20I%20had%20to%20guess%20it's%20probably%20a%20free%20trial%20license%20of%20myanalytics%20or%20powerBI%20pro%20etc.%20that%20might%20have%20been%20activated%20that%20is%20causing%20this.%20Just%20look%20on%20your%20License%20page%20in%20admin%20center%20and%20you%20should%20be%20able%20to%20see%20the%20subscriptions%20there%20%2F%20trials%20and%20how%20many%20users%20with%20expire%20dates.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1330395%22%20slang%3D%22en-US%22%3ERe%3A%20Getting%20warning%20in%20admin%20portal%20that%20200%20users%20need%20valid%20licenses%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1330395%22%20slang%3D%22en-US%22%3E%3CBR%20%2F%3EI%20have%20the%20same%20problem%2C%20because%20I%20create%20security%20groups%20in%20Azure%20ad%2C%20to%20license%20massively%20and%20now%20there%20are%20220%20users%20that%20indicate%20that%20they%20need%20a%20valid%20license%2C%20but%20I%20do%20not%20know%20who%20these%20users%20are%2C%20they%20know%20some%20script%20or%20PS%20command%2C%20to%20know%20which%20ones%20are%3F%20Thanks%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor
I have total of 600 users and have assigned licenses to them but from sometimes i am getting warning in the portal that some of the user licenses have expired and need valid license..
I was trying to get any powershell command so that i can see the list of users whose license have expired.
Kindly help me creating the command.
2 Replies
Highlighted
If I had to guess it's probably a free trial license of myanalytics or powerBI pro etc. that might have been activated that is causing this. Just look on your License page in admin center and you should be able to see the subscriptions there / trials and how many users with expire dates.
Highlighted

I have the same problem, because I create security groups in Azure ad, to license massively and now there are 220 users that indicate that they need a valid license, but I do not know who these users are, they know some script or PS command, to know which ones are? Thanks