Skip to content

Commit

Permalink
Script fixes for v2 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexc-MSFT authored Sep 30, 2024
1 parent 63f6fbc commit 95a3400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Scripts/deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ function CreateEntraIDAppSecret {
Write-Host "### ENTRA ID APP SECRET CREATION ###" -ForegroundColor Yellow

# Check if the app already exists - script has been previously executed
$app = GetAzureADApp $parameters.appName.Value
$app = GetEntraIDApp $parameters.appName.Value

if (-not ([string]::IsNullOrEmpty($app))) {

Expand Down Expand Up @@ -993,7 +993,7 @@ if ($pnpCertPassword.Length -eq 0) {
Write-Host "Connected to SPO" -ForegroundColor Green

$currUserId = az ad signed-in-user show --query id | ConvertFrom-Json
CreateAzureADAppSecret
CreateEntraIDAppSecret
CreateRequestsSharePointSite
# Connect to the new site

Expand Down

0 comments on commit 95a3400

Please sign in to comment.