We have selected "Username" as a identity provider for local account in Azure AD B2C.
and selected "User ID signup" identifier for creating the "Sign up and sign in" user flow.
So the user is successfully able to sign-up and sign-in using user name.
NOTE: We are collecting Username, Email and Password during the signup
For the Password rest user flow we have opted "Reset password using email address" as an identity provider
But if we try to reset the password using the email address, we are getting the below error after verifying the code received to our registered email id
"An account could not be found for the provided user ID"
If we opt "Reset password using email address" then user is successfully able to reset their password without any error.