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
Copy file name to clipboardExpand all lines: 4-WebApp-your-API/4-1-MyOrg/AppCreationScripts-withCert/Cleanup.ps1
+2-3Lines changed: 2 additions & 3 deletions
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')]
@@ -103,7 +103,7 @@ Function Cleanup
103
103
}
104
104
# remove self-signed certificate
105
105
Write-Host"Removing CN=TodoListClient-aspnetcore-webapi certificate from Cert:/CurrentUser/My"
Copy file name to clipboardExpand all lines: 4-WebApp-your-API/4-1-MyOrg/AppCreationScripts-withCert/Configure.ps1
+62-67Lines changed: 62 additions & 67 deletions
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')]
@@ -170,8 +170,6 @@ Function CreateOptionalClaim([string] $name)
170
170
171
171
FunctionConfigureApplications
172
172
{
173
-
$isOpenSSl='N'#temporary disable open certificate creation
174
-
175
173
<#.Description
176
174
This function creates the Azure AD applications for the sample in the provided Azure AD tenant and updates the
177
175
configuration files in the client and service project of the visual studio solution (App.Config and Web.Config)
@@ -199,19 +197,19 @@ Function ConfigureApplications
$certificatePassword=Read-Host-Prompt "Enter password for your certificate (Please remember the password, you will need it when uploading to KeyVault): "-AsSecureString
$certificatePassword=Read-Host-Prompt "Enter password for your certificate (Please remember the password, you will need it when uploading to KeyVault): "-AsSecureString
@@ -397,8 +393,7 @@ Function ConfigureApplications
397
393
Write-Host" - Navigate to $servicePortalUrl"
398
394
Write-Host" - Application 'service' publishes application permissions. Do remember to navigate to any client app(s) registration in the app portal and consent for those, if required"-ForegroundColor Red
399
395
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
400
-
401
-
if($isOpenSSL-eq'Y')
396
+
if($isOpenSSL-eq'Y')
402
397
{
403
398
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
404
399
Write-Host"You have generated certificate using OpenSSL so follow below steps: "
Copy file name to clipboardExpand all lines: 4-WebApp-your-API/4-1-MyOrg/AppCreationScripts/Cleanup.ps1
+1-2Lines changed: 1 addition & 2 deletions
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')]
0 commit comments