title: Checking Licenses(SKUs) with AzureAZ
body: <p>Checking to see if anyone has been working with AzureAZ and gotten output for checking a users assigned license/sku. This would be similar to how Get-AzureADUserLicenseDetail or Set-AzureADUserLicense works with AzureAD.</p>
  <p>Sadly these cmdlets are only available on AzureAd(Windows Only) and not AzureAZ(PS Core)</p>
  <p>Main Goal:
  (Done)
  I need to get a list of all accounts that are not enabled:</p>
  <pre><code>Get-AzAdUser | Select-Object DisplayName,AccountEnabled | Where-Object -Property AccountEnabled -NotLike &quot;True&quot;
  </code></pre>
  <p>(Pending)
  Then get that list on a conditional to remove wasted licenses(E3,Power,others).</p>
  <p>Would love to keep these scripts crossplatform, if there is no solution I'll be forced to re-write for AzureAD instead.</p>
  <p>If anyone has a solution using AzureAZ I'll very much appreciate it. Thanks in advance!</p>