Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organisation account in Removed state #42

Open
altho1 opened this issue Feb 11, 2021 · 0 comments
Open

Organisation account in Removed state #42

altho1 opened this issue Feb 11, 2021 · 0 comments

Comments

@altho1
Copy link

altho1 commented Feb 11, 2021

Testing the script I found a special case where an organization member can be in Removed state.

By modifying a few lines, the script handles that too:

                # Check if Verification Was failed before, delete and add it again.
                if member_dict[account] == 'EmailVerificationFailed' or member_dict[account] == 'Removed':
                    if member_dict[account] == 'Removed':
                        print('The account is in the Removed state so we will delete and re invite')
                    else:
                        # Member is enabled and already being monitored
                        print('Account {account} Error: EmailVerificationFailed'.format(account=account))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant