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
{{ message }}
This repository was archived by the owner on May 3, 2024. It is now read-only.
@@ -347,7 +348,6 @@ Function ConfigureApplications
347
348
348
349
Write-Host ("Connected to Tenant {0} ({1}) as account '{2}'. Domain is '{3}'"-f$Tenant.DisplayName,$Tenant.Id,$currentUserPrincipalName,$verifiedDomainName)
349
350
350
-
351
351
# Create the client AAD application
352
352
Write-Host"Creating the AAD application (msal-react-app)"
353
353
# Get a 6 months application key for the client Application
@@ -400,10 +400,10 @@ Function ConfigureApplications
400
400
401
401
$newClaim= CreateOptionalClaim -name "groups"
402
402
$optionalClaims.IdToken+= ($newClaim)
403
-
$newClaim= CreateOptionalClaim -name "groups"
404
-
$optionalClaims.AccessToken+= ($newClaim)
405
-
$newClaim= CreateOptionalClaim -name "groups"
406
-
$optionalClaims.Saml2Token+= ($newClaim)
403
+
#$newClaim = CreateOptionalClaim -name "groups"
404
+
#$optionalClaims.AccessToken += ($newClaim)
405
+
#$newClaim = CreateOptionalClaim -name "groups"
406
+
#$optionalClaims.Saml2Token += ($newClaim)
407
407
408
408
# Add Optional Claims
409
409
@@ -486,7 +486,7 @@ Function ConfigureApplications
Write-Host"Don't forget to assign the users you wish to work with to the newly created security groups !"-ForegroundColor Red
@@ -533,6 +533,7 @@ Function ConfigureApplications
533
533
Write-Host" - To support overage scenario, remember to provide admin consent for GroupMember.Read.All permission in the portal."-ForegroundColor Red
534
534
Write-Host" - This script has created a group named 'GroupAdmin' for you. On Azure portal, navigate to Azure AD > Groups blade and assign some users to it."-ForegroundColor Red
535
535
Write-Host" - This script has created a group named 'GroupMember' for you. On Azure portal, navigate to Azure AD > Groups blade and assign some users to it."-ForegroundColor Red
536
+
Write-Host" - Security groups matching the names you provided have been created in this tenant (if not present already). On Azure portal, assign some users to it, and configure ID & Access tokens to emit Group IDs"-ForegroundColor Red
536
537
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
0 commit comments