Currently, the function arguments are username and password, which requires $CredentialProperty on an existing set of credentials. The function should also be able to accept a name of an existing instance of UserNamePasswordCredentials and use those as well.
Currently, the function arguments are username and password, which requires
$CredentialProperty
on an existing set of credentials. The function should also be able to accept a name of an existing instance ofUserNamePasswordCredentials
and use those as well.