NotImplementedException when running RDM Powershell's Get-RDMSession command
Hello, we recently updated our Enterprise RDM instance to the latest version and when using RemoteDesktopManager Powershell v2021.2.0.22 to run Get-RDMSession, we get the following:
NotImplementedException - The method or operation is not implemented. at RemoteDesktopManager.UIService.set_MessageShown(Boolean value) at Devolutions.RemoteDesktopManager.Business.GoogleAuthenticatorTwoFactorDescriptor.Validate(String token, String accountName) at Devolutions.RemoteDesktopManager.Business.DataSources.BaseConnectionDataSource.UnlockTwoFactor(Boolean ignoreTwoFactorChecked) at Devolutions.RemoteDesktopManager.Managers.LockManager.EnsureDataSourceUnlockedTwoFactor(BaseConnectionDataSource dataSource) at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnectionsFromDataSource(ConnectionEngine engine, Boolean hasChanged) at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnections(BaseConnectionDataSource dataSource)
We have 2Factor enabled against the datasource - previously we were prompted with a 2Factor prompt, but now it seems to be having an issue with it.
Hello,
For using the new RDM PowerShell module (or https://github.com/Devolutions/devolutions-server) with a Devolutions Server data source, you should instead use an application key: https://helpserver.devolutions.net/webinterface_applications.html
Best regards,
Richard Boisvert
Hello,
For using the new RDM PowerShell module (or https://github.com/Devolutions/devolutions-server) with a Devolutions Server data source, you should instead use an application key: https://helpserver.devolutions.net/webinterface_applications.html
Best regards,
We aren't using Devolutions Server - only RDM. Is there a different process for RDM?
Hello,
My apologies, I should have asked for your data source and not presumed it was Devolutions Server.
I quickly spoke with the engineering team and they will verify if it is possible to prompt for the 2FA in the command line.
Best regards,
Richard Boisvert
Hello,
My apologies, I should have asked for your data source and not presumed it was Devolutions Server.
I quickly spoke with the engineering team and they will verify if it is possible to prompt for the 2FA in the command line.
Best regards,
No worries! For what its worth, and I should have stated this originally, the script still runs; its just a Get-RDMSession with a where clause in it that outputs to a CSV. It just is now generating this error.
Hi,
I'll check if I can prompt on the cli for the needed information to complete the 2FA.
I'll let you know if a new version with a fix is available.
Regards
Jonathan Lafontaine
Fixed it! Thanks a ton!