Creating First Application User lab

Hi ,

have done the below steps:

mongo --port 27000 -u m103-admin -p m103-pass
use admin

then ran the below command:
db.createUser({user: “m103-application-user”, pwd: “m103-application-pass”, roles:[{db: “applicationData”,role: “readWrite”}]})
2021-05-20T18:51:47.173+0000 E QUERY [js] SyntaxError: illegal character @(shell):1:87

but it was giving a syntax error.

It could be quotes issue
Use straight quotes (") and see