Facing problem to create new user[identity type = quicksight] in quickisght using cli

Here, am trying to register the new user in quicksight namespace using QUICKSIGHT identity type, it always throws invalid parameter exception, but it is correct syntax. please find the screenshot.

aws quicksight register-user --identity-type QUICKSIGHT --email a.gurunathan@****.com --user-role READER --aws-account-id ************ --namespace ***

An error occurred (InvalidParameterValueException) when calling the RegisterUser operation: Invalid resource identifiers provided. Please check the documentation.

please help on this


@Gurunathan I think you are missing user-name attribute, add that attribute and it should work for you, for details please refer register-user api