Unable to create user

Hi Team , I am unable to create user, Can any one help on this.
db.runCommand({
createUser: “testuser”,
pwd: passwordPrompt(), // works only in mongosh interactive mode
roles: [
{ role: “azure-issuer/4608f”, db: “admin” },
{ role: “readAnyDatabase”, db: “admin” },
{ role: “userAdminAnyDatabase”, db: “admin” }
]
})

Do you really have a custom role azure-issuer/4608f? Secondly, you need to switch to admin db to create it.

Yes, we have Azure custom role. I switched to admin
and tried creating a new user, but I’m getting an unauthorized access error even though I’m using the admin database