Skip to content

Commit

Permalink
fix: https protocol (#2054)
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Schier <[email protected]>
  • Loading branch information
0o001 and marcschier authored Sep 13, 2023
1 parent 9a2eb52 commit 5904bc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/scripts/aad-register.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ Function ConfigureApplications() {
if ($user -and (-not $owner)) {
try {
New-MgApplicationOwnerByRef -ApplicationId $currentAppObjectId -BodyParameter `
@{"@odata.id" = "htps://graph.microsoft.com/v1.0/directoryObjects/$($user.Id)"}
@{"@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/$($user.Id)"}
Write-Host " Added '$($user.UserPrincipalName)' as owner."
}
catch {
Expand Down Expand Up @@ -488,7 +488,7 @@ Function ConfigureApplications() {
if ($user -and (-not $owner)) {
try {
New-MgApplicationOwnerByRef -ApplicationId $currentAppObjectId -BodyParameter `
@{"@odata.id" = "htps://graph.microsoft.com/v1.0/directoryObjects/$($user.Id)"}
@{"@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/$($user.Id)"}
Write-Host " Added '$($user.UserPrincipalName)' as owner."
}
catch {
Expand Down Expand Up @@ -545,7 +545,7 @@ Function ConfigureApplications() {
if ($user -and (-not $owner)) {
try {
New-MgApplicationOwnerByRef -ApplicationId $currentAppObjectId -BodyParameter `
@{"@odata.id" = "htps://graph.microsoft.com/v1.0/directoryObjects/$($user.Id)"}
@{"@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/$($user.Id)"}
Write-Host " Added '$($user.UserPrincipalName)' as owner."
}
catch {
Expand Down

0 comments on commit 5904bc0

Please sign in to comment.