You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throw"[LicenseExistanceValidation]: - License SkuPartNumber $SkuPartNumber is not available to this tenant. Licenses must be purchased before creating Cloud Administrator accounts."
547
547
}
@@ -2177,7 +2177,7 @@ Function ProcessReferralUser ($ReferralUserId, $LocalUserId, $Tier, $UserPhotoUr
2177
2177
}
2178
2178
else {
2179
2179
#region License Availability Validation Before New Account Creation ------------
CategoryReason="License SkuPartNumber $($_.SkuPartNumber) has run out of free licenses."
2421
-
}))
2422
-
$script:persistentError=$true
2423
-
}
2424
-
else {
2425
-
Write-Verbose"[ProcessReferralUserDedicatedAccountUpdate]: - License SkuPartNumber $($_.SkuPartNumber) has at least 1 free license available to continue"
#region Direct License Assignment ----------------------------------------------
2435
2407
if (-Not$LicenseGroupObj) {
2436
2408
Write-Verbose"[ProcessReferralUserDedicatedAccountDirectLicensing]: - Implying direct license assignment is required as no GroupId was provided for group-based licensing."
@@ -2450,9 +2422,13 @@ Function ProcessReferralUser ($ReferralUserId, $LocalUserId, $Tier, $UserPhotoUr
2450
2422
SkuId=$Sku.SkuId
2451
2423
}
2452
2424
if ($SkuPartNumber-eq$SkuPartNumberWithExchangeServicePlan) {
0 commit comments