Unsupported Commands in M10+ Clusters

Atlas requires clients to authenticate to access an Atlas cluster. Atlas provides a curated list of Database User Privileges. These privileges provide access to a subset of MongoDB commands.

The following table lists the most common commands and shell methods that database user privileges do not support. The functionality provided by these commands are largely subsumed by Atlas, or are restricted to ensure cluster stability and performance.


Commands Shell Method
refineCollectionShardKey [1]  
[1]This command is not supported on global write clusters only

Aggregation Pipeline

Atlas doesn’t support the $planCacheStats aggregation pipeline stage.

MongoDB 4.2+ Incompatibility

MongoDB versions 4.2 and later do not support the following commands and methods:

Commands Shell Method
clone db.cloneDatabase()
copydb db.copyDatabase()

Contact Support

Please contact Atlas support if your use case requires access to a command not currently supported by the existing Atlas database user privileges.