AzureADAssessment
AzureADAssessment copied to clipboard
Error on AADPremium Identifiers
Hello,
There are an error in the AAD Premium identifiers:
File Get-AADAssessUserReport.ps1, the fix is:
$aadp1plan = "41781fb2-bc02-4b7c-bd55-b576c07bb09d"
$aadp2plan = "eec0eb4f-6444-4f95-aba0-50c24d67f998"
File Invoke-AADAssessmentDataCollection.ps1 , the fix is:
if ($skus | Where-Object { $_.prepaidUnits.enabled -gt 0 -and ($_.servicePlans | Where-Object { $_.servicePlanId -eq "41781fb2-bc02-4b7c-bd55-b576c07bb09d" })}) {
$licenseType = "P1"
} elseif ($skus | Where-Object { $_.prepaidUnits.enabled -gt 0 -and ($_.servicePlans | Where-Object { $_.servicePlanId -eq "eec0eb4f-6444-4f95-aba0-50c24d67f998" })}) {
$licenseType = "P2"
}