Skip to content

Update-MgUserPassword expects password as a string value #3119

Open
@alexandair

Description

@alexandair

Describe the bug

The Update-MgUserPassword command's parameters, -CurrentPassword and -NewPassword, expect a string value instead of a securestring value.

Expected behavior

Password-related parameters shouldn't expect string values.

How to reproduce

Get-Command Update-MgUserPassword -Syntax

SDK Version

No response

Latest version known to work for scenario above?

2.25.0

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions