PSGSuite
PSGSuite copied to clipboard
G Suite users with no license
Hello, is there a way to retrieve the list of users without an associated G Suite license (without cycling rows with Get-GSUser & Get-GSUserLicense cmdlets) ?
Thank you, Luca
heyo @lucafabbri365 - Good question! My first though was to go through that same approach you're thinking, will need to check if a direct query is possible but I haven't seen that offhand.
Hello @scrthq, thank you for your reply. I also have another question regarding G Suite licenses: is there a way to retrieve all available/applicable licenses (ProductId, ProductName, SkuId, SkuName, total, total assigned, expiration date, etc. - the same information appearing in G Suite console > Billing ) ?
Thank you, Luca
Hey @lucafabbri365 - I'm not aware of a way to pull the available/assignable licenses per an individual G Suite subscription via API. Maybe through the Reseller API, but PSGSuite doesn't use that currently. If you find any documentation around it, I'd be happy to add it if it's doable!