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: 3.-Web-api-call-Microsoft-graph-for-personal-accounts/AppCreationScripts/AppCreationScripts.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Registering the sample apps with Microsoft Identity Platform and updating the configuration files using PowerShell scripts
1
+
# Registering the sample apps with Microsoft identity platform and updating the configuration files using PowerShell scripts
2
2
3
3
## Overview
4
4
@@ -11,7 +11,8 @@
11
11
```
12
12
1. Run the script to create your Azure AD application and configure the code of the sample application accordingly. (Other ways of running the scripts are described below)
13
13
```PowerShell
14
-
.\AppCreationScripts\Configure.ps1
14
+
cd .\AppCreationScripts\
15
+
.\Configure.ps1
15
16
```
16
17
1. Open the Visual Studio solution and click start
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
378
344
Write-Host"IMPORTANT: Please follow the instructions below to complete a few manual step(s) in the Azure portal":
379
345
Write-Host"- For 'service'"
380
346
Write-Host" - Navigate to '$servicePortalUrl'"
347
+
Write-Host" - Navigate to the Authentication blade, click 'Add a platform' then check the option https://login.microsoftonline.com/common/oauth2/nativeclient"-ForegroundColor Red
381
348
Write-Host" - Navigate to the Manifest page and change 'signInAudience' to 'AzureADandPersonalMicrosoftAccount'."-ForegroundColor Red
349
+
Write-Host" - Navigate to the Manifest page and change 'accessTokenAcceptedVersion' to 2."-ForegroundColor Red
382
350
Write-Host" - [Optional] If you are a tenant admin, you can navigate to the API Permisions page and select 'Grant admin consent for (your tenant)'"-ForegroundColor Red
383
-
Write-Host"- For 'client'"
384
-
Write-Host" - Navigate to '$clientPortalUrl'"
385
-
Write-Host" - Navigate to the Manifest page and change 'signInAudience' to 'AzureADandPersonalMicrosoftAccount'."-ForegroundColor Red
386
351
387
352
Write-Host-ForegroundColor Green "------------------------------------------------------------------------------------------------"
"Comment": "Navigate to the Manifest page and change 'signInAudience' to 'AzureADandPersonalMicrosoftAccount'."
33
+
"Comment": "Navigate to the Authentication blade, click 'Add a platform' then check the option https://login.microsoftonline.com/common/oauth2/nativeclient"
30
34
},
31
35
{
32
-
"Comment": "[Optional] If you are a tenant admin, you can navigate to the API Permisions page and select 'Grant admin consent for (your tenant)'"
0 commit comments