Facing Authentication Error on admin to execute command || EMERGENCE

I have two clusters in mongoDB, which is M0 ( for personal testing ) and M5 cluster ( for development ), both with default 3 nodes Replica set. and i have the admin access for entire cluster.

i have connected these two clusters with MongoDB SHELL separately and performed certain operations like all the CRUD operations and checking Replica set Status { through - rs.status() and db.hellow() }…

but my concern is for M5 cluster MongoDB defaultly provides only 3 nodes replica set, so i was decided to add 2 more AWS instances to the replica set. But in MongoDB Shell i can perform only these operations

which i have mentioned above ( CRUD and seeing the replica set status ), Apart from this, i couldn’t perform operations like Adding a new Node or Editing the Replica set Configuration or Creating a DB user or defining Read Preference to Secondary Node and so on.

I couldn’t perform any operations related to Replica set in MongoDB SHELL, The error shows like

I really appreciate your guidance and Your prompt attention to this matter is highly valued

Hi @Prem_kumar_Madheswaran and welcome to the community forum.

Since, MongoDB Atlas is a fully-managed cloud developer platform, that handles all the complexity of deploying, managing, and healing your deployments on the cloud service provider of your choice (AWS , Azure, and GCP).
This lets you avoid the operations to manage the infrastructure and provides a ready to use deployment.

If you wish to manage a deployment of your own, you can trying using MongoDB locally in your system and deploy and perform the above operations locally.

I hope this answers your questions. Please do not hesitate to reach out for any further assistance.