Skip to content

Commit f5567f0

Browse files
authored
force array (#3359)
Fixes #3358 Co-authored-by: freddydk <[email protected]>
1 parent dd40727 commit f5567f0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

AppHandling/Run-TestsInNavContainer.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ try {
404404
}
405405
elseif ($clientServicesCredentialType -eq "Windows") {
406406
$windowsUserName = whoami
407-
$allUsers = Get-NAVServerUser -ServerInstance $ServerInstance -tenant $tenant -ErrorAction Ignore
407+
$allUsers = @(Get-NAVServerUser -ServerInstance $ServerInstance -tenant $tenant -ErrorAction Ignore)
408408
if ($allUsers.count -gt 0) {
409409
$NavServerUser = $allUsers | Where-Object { $_.UserName -eq $windowsusername }
410410
if (!($NavServerUser)) {

ReleaseNotes.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Issue 3347 Download-BcNuGetPackageToFolder to support package description for app name if title is not specified
33
Support dependency version templates on NuGet packages
44
Issue 3349 NuGet package files section name is wrong when using azure blob storage direct download url
5+
Issue 3358 Run-TestsInBcContainer using Windows Authentication doesn't work if exactly one user exists in the tenant
56

67
6.0.6
78
Include Microsoft_Business Foundation Test Libraries.app when importing test libraries (and tests)

0 commit comments

Comments
 (0)