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.
Copy file name to clipboardExpand all lines: 5-AccessControl/1-call-api-roles/AppCreationScripts/Configure.ps1
+4-44
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
1
+
2
2
[CmdletBinding()]
3
3
param(
4
4
[Parameter(Mandatory=$False,HelpMessage='Tenant ID (This is a GUID which represents the "Directory ID" of the AzureAD tenant into which you want to create the apps')]
@@ -351,7 +311,7 @@ Function ConfigureApplications
351
311
Write-Host"- For client"
352
312
Write-Host" - Navigate to $clientPortalUrl"
353
313
Write-Host" - To receive the 'roles' claim with the name of the app roles this user is assigned to, make sure that the user accounts you plan to sign-in to this app is assigned to the app roles of this SPA app. The guide, https://aka.ms/userassignmentrequired provides step by step instructions."-ForegroundColor Red
354
-
Write-Host" - Or you can run the ..\CreateUsersAndAssignRoles.ps1 command to automatically create a number of users, and assign these users to the app roles of this app."-ForegroundColor Red
314
+
Write-Host" - Or you can run the .\CreateUsersAndAssignRoles.ps1 command to automatically create a number of users, and assign these users to the app roles of this app."-ForegroundColor Red
355
315
Write-Host" - Application 'client' publishes app roles . Do remember to navigate to the app registration in the app portal and assign users to these app roles"-ForegroundColor Red
356
316
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
"Comment": "To receive the 'roles' claim with the name of the app roles this user is assigned to, make sure that the user accounts you plan to sign-in to this app is assigned to the app roles of this SPA app. The guide, https://aka.ms/userassignmentrequired provides step by step instructions."
54
47
},
55
48
{
56
-
"Comment": "Or you can run the ..\\CreateUsersAndAssignRoles.ps1 command to automatically create a number of users, and assign these users to the app roles of this app."
49
+
"Comment": "Or you can run the .\\CreateUsersAndAssignRoles.ps1 command to automatically create a number of users, and assign these users to the app roles of this app."
0 commit comments