App Logo
asana.com

Change Asana team member's role

Change a team member's role (Team admin / Member), identified by email, via Team Settings > Members > role dropdown. Fails loudly if the target role is disabled for that member (e.g. Asana blocks guests from outside the org's domain from becoming Team admin). Requires login and team-admin permission. Returns the role before and after the change.

Input

role required

New role. Note: guests outside the org's domain cannot be set to 'Team admin' — Asana disables this and the script throws.

email required

Email of the member to change.

teamName required

Team name as shown in the sidebar (case-insensitive substring match).

Output

team required
email required
newRole required
previousRole required

Start building not clicking