Powershell module cannot connect to secured database after update.
Hello, sorry for this late answer.
It works,
My scripts can access to the DataSources.
Thank You
Powershell module cannot connect to secured database after update.
Hello,
I'm using RDM 2021.2.15.0 with the last RemoteDesktopManager powershell module installed from PSgallery.
The databases are reachable using RDM.
But it seems the new powershell module has some troubles :
It cannot connect to a Test database (nearly void) secured with MFA as this error appears :
NotImplementedException - La méthode ou l'opération n'est pas implémentée.
à RemoteDesktopManager.UIService.set_MessageShown(Boolean value)
à Devolutions.RemoteDesktopManager.Business.GoogleAuthenticatorTwoFactorDescriptor.Validate(String token, String accountName)
à Devolutions.RemoteDesktopManager.Business.DataSources.BaseConnectionDataSource.UnlockTwoFactor(Boolean ignoreTwoFactorChecked)
à Devolutions.RemoteDesktopManager.Managers.LockManager.EnsureDataSourceUnlockedTwoFactor(BaseConnectionDataSource dataSource)
à Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnectionsFromDataSource(ConnectionEngine engine, Boolean hasChanged)
à Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnections(BaseConnectionDataSource dataSource)nor a working database using a passphrase :
NotImplementedException - The method or operation is not implemented. at RemoteDesktopManager.UIService.ShowSharePasswordPrompt() at Devolutions.RemoteDesktopManager.Services.BusinessSecurityProviderService.ConfigureClientSharedPasswordProvider(ISecurityProvider provider, IConnectionDataSource dataSource, Object configuration, Boolean persist)
at Devolutions.RemoteDesktopManager.Business.SharedPasswordSecurityProvider.Initialize(IConnectionDataSource dataSource, String configuration)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnectionsFromDataSource(ConnectionEngine engine, Boolean hasChanged)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnections(BaseConnectionDataSource dataSource)I tried to deactivate MFA on the test base and powershell can connect the database and my scripts run well.
I can't deactivate the passphrase on the working database ( I don't want to loose my logs (mandatory for legals )).
On previous version 2021.1.44.0 with embeded powershell I could connect to these databases without any errors.