Security Logs - Access Logs

How to extract the Access logs for MongoDB Atlas portal as to who signed in successfully at what time. We have a federated setup with Azure AD.

Hey @Venkitachalam_Subramanian,

Welcome to the MongoDB Community!

Unfortunately, this is not something that can be accessed from the MongoDB Atlas Portal. I’ll recommend you look into the Saml/SSO service (specifically Azure AD in your case).

However, in case you wish to view the database access logs, please refer to the View Database Access History documentation to learn how to access the logs for authentication attempts made to Atlas database deployments.

In case you wish to view the database access history using the Atlas Admin API, please refer to MongoDB Atlas Administration API documentations. Please ensure you have the right set of permission to access it - which is either the Project Owner or Organization Owner role.

Best regards,
Kushagra