MongoError: not authorized on admin to execute command setParameter:

Unable to execute admin commands on mongodb Atlas instance.

The instance is a M10(General) instance.

Have been using the older node versions (node version 2.2.12) connection url. And the user has the atlasAdmin permission.

Any body faced similar issues with Atlas Mongodb?

What command you were trying to run?
There are some restrictions on using some admin commands

1 Like

Welcome to the community @Chaitanya_Narra!

Per the link that @Ramachandra_Tummala shared, setParameter is not a supported administrative command for MongoDB Atlas. This command modifies options that are normally set on the command-line for a deployment, and any changes are not persisted.

If there is a specific deployment parameter you are trying to adjust, please reach out to the Atlas support team for advice and assistance.