Skip to content

Commit

Permalink
Merge pull request #249 from arrerezai/master
Browse files Browse the repository at this point in the history
"Azure Active Directory P2" is now called "Microsoft Entra ID P2"
  • Loading branch information
JulianHayward authored Aug 28, 2024
2 parents df21245 + ebd71fe commit 54952b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pwsh/dev/functions/validateAccess.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
$uri = "$($azAPICallConf['azAPIEndpointUrls'].MicrosoftGraph)/beta/privilegedAccess/azureResources/resources?`$select=id,displayName,type,externalId" + $uriExt
$res = AzAPICall -AzAPICallConfiguration $azapicallConf -uri $uri -currentTask $currentTask -validateAccess
if ($res -eq 'failed') {
$permissionCheckResults += "MSGraph API 'PrivilegedAccess.Read.AzureResources' permission - check FAILED - if you cannot grant this permission or you do not have an AAD Premium 2 license then use parameter -NoPIMEligibility"
$permissionCheckResults += "MSGraph API 'PrivilegedAccess.Read.AzureResources' permission - check FAILED - if you cannot grant this permission or you do not have a Microsoft Entra ID P2 license, then use parameter -NoPIMEligibility"
$permissionsCheckFailed = $true
}
else {
Expand Down Expand Up @@ -156,4 +156,4 @@
if ($azAPICallConf['htParameters'].accountType -eq 'User') {
validateLeastPrivilegeForUser
}
}
}

0 comments on commit 54952b2

Please sign in to comment.