We are using organizations, and one of our customers is using Azure Active Directory to login to our application. We are using the “Auto-Membership” feature so users from this enterprise are automatically added to the organization it is associated with. I would like to trigger an action when a user logs in for the first time and is added to the organization.
It seems like the only event that is triggered in this case is the post-login event, and there is no difference in the events between the first login when the user is added to the org and subsequent logins.
Is there a programmatic way to act on a user being added to an organization using actions?