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
Write-Host"Updating the sample code ($configFile)"
318
320
$dictionary=@{ "Enter the domain of your Azure AD tenant, e.g. contoso.onmicrosoft.com"=$tenantName;"Enter the ID of your Azure AD tenant copied from the Azure portal"=$tenantId;"Enter the application ID (clientId) of the 'TodoListAPI' application copied from the Azure portal"=$serviceAadApplication.AppId };
Write-Host"Updating the sample code ($configFile)"
324
-
$dictionary=@{ "Enter the application ID (clientId) of the 'TodoListSPA' application copied from the Azure portal"=$clientAadApplication.AppId;"Enter the ID of your Azure AD tenant copied from the Azure portal"=$tenantId;"Enter the endpoint for TodoListAPI, e.g. https://localhost:44351/api/todolist"=$serviceAadApplication.HomePage;"Enter the API scopes as declared in the app registration 'Expose an API' blade, e.g. api://{clientId}/access_as_user"= ("api://"+$serviceAadApplication.AppId+"/access_as_user") };
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
328
330
Write-Host"IMPORTANT: Please follow the instructions below to complete a few manual step(s) in the Azure portal":
329
331
Write-Host"- For 'service'"
330
332
Write-Host" - Navigate to '$servicePortalUrl'"
331
-
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://docs.microsoft.com/azure/active-directory/manage-apps/assign-user-or-group-access-portal#assign-a-user-to-an-app---portal provides step by step instructions."-ForegroundColor Red
333
+
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 service instance. The guide, https://aka.ms/userassignmentrequired provides step by step instructions."-ForegroundColor Red
332
334
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
333
335
Write-Host"- For 'client'"
334
336
Write-Host" - Navigate to '$clientPortalUrl'"
335
337
Write-Host" - Navigate to the portal and set the 'replyUrlsWithType' to 'Spa' in the application manifest"-ForegroundColor Red
336
-
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://docs.microsoft.com/azure/active-directory/manage-apps/assign-user-or-group-access-portal#assign-a-user-to-an-app---portal provides step by step instructions."-ForegroundColor Red
338
+
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
337
339
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
338
340
339
341
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
340
-
342
+
if($isOpenSSL-eq'Y')
343
+
{
344
+
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
345
+
Write-Host"You have generated certificate using OpenSSL so follow below steps: "
346
+
Write-Host"Install the certificate on your system from current folder."
347
+
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
0 commit comments