Skip to content

Commit 24ccd2d

Browse files
author
Kalyan Krishna
committed
fixed a bug
1 parent 3315d1e commit 24ccd2d

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

1-WebApp-OIDC/1-2-AnyOrg/AppCreationScripts/Configure.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Function ConfigureApplications
135135
# Update config file for 'webApp'
136136
$configFile = $pwd.Path + "\..\appsettings.json"
137137
Write-Host "Updating the sample code ($configFile)"
138-
$dictionary = @{ "ClientId" = $webAppAadApplication.AppId;"TenantId" = organizations;"Domain" = $tenantName };
138+
$dictionary = @{ "ClientId" = $webAppAadApplication.AppId;"TenantId" = "organizations";"Domain" = $tenantName };
139139
UpdateTextFile -configFilePath $configFile -dictionary $dictionary
140140

141141
Add-Content -Value "</tbody></table></body></html>" -Path createdApps.html

1-WebApp-OIDC/1-2-AnyOrg/AppCreationScripts/sample.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"Sample": {
3-
"Title": "An ASP.NET Core 2.x Web App which lets sign-in users with work and school in any org",
3+
"Title": "An ASP.NET Core Web App which lets sign-in users with work and school in any org",
44
"Level": 200,
5-
"Client": "ASP.NET Core 2.x Web App",
5+
"Client": "ASP.NET Core Web App",
66
"Service": "Microsoft Graph",
77
"RepositoryUrl": "microsoft-identity-platform-aspnetcore-webapp-tutorial",
88
"Endpoint": "AAD v2.0"
@@ -41,7 +41,7 @@
4141
},
4242
{
4343
"key": "TenantId",
44-
"value": "organizations"
44+
"value": "\"organizations\""
4545
},
4646
{
4747
"key": "Domain",

1-WebApp-OIDC/1-2-AnyOrg/README-1-1-to-1-2.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
services: active-directory
33
platforms: dotnet
44
author: jmprieur
5-
level: 100
5+
level: 200
66
client: ASP.NET Core Web App
77
endpoint: Microsoft identity platform
8+
page_type: sample
9+
languages:
10+
- csharp
11+
products:
12+
- azure
13+
- azure-active-directory
14+
- dotnet
15+
- office-ms-graph
16+
description: "Change your ASP.NET Core Web app to sign-in users in any org with the Microsoft identity platform"
817
---
918
# Change your ASP.NET Core Web app to sign-in users in any org with the Microsoft identity platform
1019

1-WebApp-OIDC/1-2-AnyOrg/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,19 @@
22
services: active-directory
33
platforms: dotnet
44
author: jmprieur
5-
level: 100
5+
level: 200
66
client: ASP.NET Core Web App
77
endpoint: Microsoft identity platform
8+
page_type: sample
9+
languages:
10+
- csharp
11+
products:
12+
- azure
13+
- azure-active-directory
14+
- dotnet
15+
- office-ms-graph
16+
description: "Change your ASP.NET Core Web app to sign-in users in any org with the Microsoft identity platform"
817
---
9-
10-
1118
# An ASP.NET Core Web app signing-in users in any org with the Microsoft identity platform
1219

1320
> This sample is for Azure AD, not Azure AD B2C. See [active-directory-b2c-dotnetcore-webapp](https://github.com/Azure-Samples/active-directory-b2c-dotnetcore-webapp), until we incorporate the B2C variation in the tutorial.

0 commit comments

Comments
 (0)