I sit possible to change a password on a Password entry in your private vault by script?
Running:
Windows 11
Enterprise Edition 2022.2.24.0
data source: Microsoft Azure SQL
Hello,
Sure it's possible to update a password in a user vault entry.
You can use the Get-RDMPrivateSession to fetch the entry. Then Set-RDMPrivateSessionPassword cmdlet to update the password. Don't forget to save the modification in the database using the Set-RDMPrivateSession.
Let me know if that helps.
Best regards,
Érica Poirier
Can I log in to the base from PowerShell with an Office365 user? If how?
Hi,
If you want to connect to an Azure database using an O365 user, unfortunately, no this is not supported in PowerShell.
Because our module runs in both PS5.1 and PS7, no compatible package has that feature.
That could change in the 2023.1 release has we plan on dropping support for PS5.1 and focus entirely on PS7.1
However, if you connect to a DVLS data source, I think O365 is available.
Let me know if this answers your question.
Regards
Jonathan Lafontaine
So, if I understand this correct, in current version I can’t change a password in the private vault when using O365 user?
To be sore there aren’t any other ways to do this now with my config.
If you are using an SQL Azure data source, I'm afraid your only option would be to switch to a DB user instead of an O365 one.
Jonathan Lafontaine
Thanks.