Skip to content

Commit

Permalink
Merge pull request #695 from santhoshb-msft/sb-spfix
Browse files Browse the repository at this point in the history
add change to create sp
  • Loading branch information
santhoshb-msft authored Apr 24, 2024
2 parents 1b809a3 + 97e1351 commit e90e5e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployment/Deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ if (!($ADApplicationID)) {
$ADObjectID = $ADApplication.id
$ADApplicationID = $ADApplication.appId
sleep 5 #this is to give time to AAD to register
# create service principal
az ad sp create --id $ADApplicationID
$ADApplicationSecret = az ad app credential reset --id $ADObjectID --append --display-name 'SaaSAPI' --years 2 --query password --only-show-errors --output tsv

Write-Host " 🔵 FulfilmentAPI App Registration created."
Expand Down

0 comments on commit e90e5e9

Please sign in to comment.