diff --git a/ContainerInfo/Get-NavContainerLicenseInformation.ps1 b/ContainerInfo/Get-NavContainerLicenseInformation.ps1 index 48e34f276..0263f8a24 100644 --- a/ContainerInfo/Get-NavContainerLicenseInformation.ps1 +++ b/ContainerInfo/Get-NavContainerLicenseInformation.ps1 @@ -14,7 +14,8 @@ Function Get-BcContainerLicenseInformation { ) Invoke-ScriptInBcContainer -containerName $containerName -ScriptBlock { - Get-NavServerInstance | Export-NAVServerLicenseInformation + $firstAvailableTenant = (Get-NavServerInstance | Get-NavTenant | Where-Object { $_.State -eq 'Operational'})[0].Id + Get-NavServerInstance | Export-NAVServerLicenseInformation -Tenant $firstAvailableTenant } } Set-Alias -Name Get-NavContainerLicenseInformation -Value Get-BcContainerLicenseInformation diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 51f8b6b99..5305a697a 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -2,6 +2,7 @@ New-BcCompilerFolder: Add platformArtifactUrl parameter to allow using a different platform than the one related to artifactUrl (like New-BcContainer) Add retry with exponential backoff in DockerDo for transient MCR pull failures caused by Azure Front Door CDN/WAF blocks (delays: 5s, 15s, 30s, 60s, 120s) Add support for framework-dependent AL Language VSIX (flat bin/ layout without platform-specific subdirectories) +Add Tenant to Export-NAVServerLicenseInformation to cover for changes in OnPrem managenment commands 6.1.14 Fix System.IO.Pipelines assembly load failure in PS7 WinRM sessions on containers with .NET 10