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
Abierto
- Lenguaje dominante
- PowerShell
- Estrellas
- 75
- Forks
- 65
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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)
```
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.