Azure-Samples / Azure-Samples/ms-identity-ciam-javascript-tutorial

1-Authentication/6-sign-in-node-cli-app : Configure.ps1 script error - attempts to assign owner when owner is null

オープン
#141 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PowerShell
スター
75
フォーク
65
PR マージ指標
30日以内にマージされた PR はありません

説明

original code:

```
if ($owner -eq $null)
{
New-MgApplicationOwnerByRef -ApplicationId $currentAppObjectId -BodyParameter @{"@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/$user.ObjectId"}
Write-Host "'$($user.UserPrincipalName)' added as an application owner to app '$($clientServicePrincipal.DisplayName)'"
}
```

should be
```
if ($owner -ne $null)
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。