We're going to be upgrading and Im wondering if there's any caveats we should be aware of in such a major version jump. We have 2 backend servers and 2 frontend servers.

ago by (340 points)

1 Answer

ago by (309k points)
0 votes

Hello,

There are generally no caveats in terms of the upgrade itself. The upgrade process remains the same. However, starting from Adaxes 2025.1, only PowerShell 7 is used to run scripts. If cmdlets from modules that are incompatible with PowerShell 7 are used in scripts, the modules are loaded implicitly in background Windows PowerShell 5.1 processes by the Windows PowerShell Compatibility feature. For details about the feature, have a look at the following Microsoft article: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_windows_powershell_compatibility?view=powershell-7.5. From the Adaxes standpoint, it means that when such a module is imported, the corresponding powershell.exe process is started and will not be closed until Adaxes service is restarted. To remedy the issue, you need to ensure that only module versions compatible with PowerShell 7 are installed on the computer(s) where Adaxes service runs. For the modules that do not have versions compatible with PowerShell 7, we suggest importing/removing modules explicitly in scripts executed in Adaxes using try/finally blocks. This approach will close the external powershell.exe process when the module is removed in the script. For example:

try
{
    Import-Module ServerManager
    
    # Your code here
}
finally
{
    Remove-Module ServerManager
}
ago by (340 points)
0

Does Powershell 7 need to be manually installed? Or does it come with the Adaxes installer?

ago by (309k points)
0

Hello,

It is included into the Adaxes installer. There is no need to install it manually.

Related questions

Since adaxes does not support powershell 5.1 and we make use of snapins for Exchange Management Tools we are considering rolling back to 2023.2. In the changelog there is no ... any issue to roll back until we figure out a way to manage the hybrid environment?

asked May 23, 2025 by jdoucet (20 points)
0 votes
1 answer

Can you point me to documentation to upgrade from Adaxes 2019.2 ver 3.1.2.174230 to the current version please?

asked Jun 16, 2020 by msylvester (60 points)
0 votes
1 answer

We are currently connecting to SQL 2019 and our DBAs would like to verify SQL 2022 is supported prior to migrating.

asked Jul 15, 2025 by tjackson111 (110 points)
0 votes
1 answer

Getting error during installation, Softwrra Adaxes 2026.1 Setup - Could not be installed. Verify that you have sufficent privileges to install system service. the service account and ... Nothing in the event viewer that points toward an issue that I can find.

asked Feb 23 by ADuser (180 points)
0 votes
1 answer

Hello, after update to 2021.1 we have problems with an old Windows 2003 domain. The service account for the domain will rapidly locked out from the Adaxes server. What we ... in 2021.1 for Managed Domain? Or how can I integrade old domains? regards Helmut

asked Mar 12, 2021 by a423385 (510 points)
0 votes
1 answer