Open syedhamjath opened 1 year ago
My team would find this helpful as well, we're currently getting a security alert for using ConvertTo-SecureString -AsPlainText -Force
but as far as I can tell we don't have any other options if the password is only returned as plain text.
@CarolKigoonya Do we want to implement it given it would be a breaking change?
Adding this issue to be tracked for the next major version
Below command returns the password in plain text.
(Add-MgApplicationPassword ...).PasswordCredentials.SecretText
This help all scenarios so that one can get secret as secure sting and also in plain text.