Skip to content

Commit 4de8d71

Browse files
authored
Update command alias. Closes #803 (#804)
* Update command alias. Closes #803 Closes #803 * chore: Update app name in setup scripts
1 parent efc5698 commit 4de8d71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

samples/scripts/setup.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Write-Output "Sign in to Microsoft 365..."
33
npx -p @pnp/cli-microsoft365 -- m365 login --authType browser
44

55
# create AAD app
6-
Write-Output "Creating AAD app..."
7-
$appId = npx -p @pnp/cli-microsoft365 -- "m365 aad app add --name graph-developer-proxy-samples --multitenant --redirectUris http://localhost:3000/withsdk.html,http://localhost:3000/nosdk.html --apisDelegated https://graph.microsoft.com/User.Read.All,https://graph.microsoft.com/Presence.Read.All --grantAdminConsent --platform spa --query appId -o text"
6+
Write-Output "Creating Entra app..."
7+
$appId = npx -p @pnp/cli-microsoft365 -- "m365 entra app add --name graph-developer-proxy-samples --multitenant --redirectUris http://localhost:3000/withsdk.html,http://localhost:3000/nosdk.html --apisDelegated https://graph.microsoft.com/User.Read.All,https://graph.microsoft.com/Presence.Read.All --grantAdminConsent --platform spa --query appId -o text"
88

99
Write-Output "AppId: $appId"
1010

samples/scripts/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ echo "Sign in to Microsoft 365..."
55
npx -p @pnp/cli-microsoft365 -- m365 login --authType browser
66

77
# create AAD app
8-
echo "Creating AAD app..."
9-
appId=$(npx -p @pnp/cli-microsoft365 -- m365 aad app add --name graph-developer-proxy-samples --multitenant --redirectUris http://localhost:3000/withsdk.html,http://localhost:3000/nosdk.html --apisDelegated https://graph.microsoft.com/User.Read.All,https://graph.microsoft.com/Presence.Read.All --grantAdminConsent --platform spa --query appId -o text)
8+
echo "Creating Entra app..."
9+
appId=$(npx -p @pnp/cli-microsoft365 -- m365 entra app add --name graph-developer-proxy-samples --multitenant --redirectUris http://localhost:3000/withsdk.html,http://localhost:3000/nosdk.html --apisDelegated https://graph.microsoft.com/User.Read.All,https://graph.microsoft.com/Presence.Read.All --grantAdminConsent --platform spa --query appId -o text)
1010

1111
# write app to env.js
1212
echo "Writing app to env.js..."

0 commit comments

Comments
 (0)