Lab: Deploy a Replica Set: After reset of workspace am unable to add user

Hi.

2022-04-30T07:15:47.736+0000 E QUERY    [js] Error: couldn't add user: not authorized on test to execute command { createUser: "m103-admin", pwd: "xxx", roles: [ { role: "root", db: "admin" } ], digestPassword: true, writeConcern: { w: "majority", wtimeout: 600000.0 }, lsid: { id: UUID("3dd5d4f8-91dd-45e5-880f-1b15fbc25c69") }, $clusterTime: { clusterTime: Timestamp(1651302884, 1), signature: { hash: BinData(0, 7BF03125932E391FFB28D868E810D61A234C52BB), keyId: 7092291667822116865 } }, $db: "test" } :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype.createUser@src/mongo/shell/db.js:1491:15

You are connected to test DB
Switch to admin db and try

Thanks, I reset the workspace and it started working after an hour