Create new user via API - Cannot add user to course via email address (UI)

Jump to solution
MrAdam
Community Explorer

Hi,

We are creating canvas users via the API which works fine. The only thing (issue) we noticed with this is when trying to add a user to a course (via the UI) then you cannot add the user by "Email address" but only "Login ID" or "SIS ID". If we instead import users using SIS Import then we can add them via email address. Any idea why and possibly how to fix this, are we missing to set something?

Canvas-UserIssue.png

In our call we are setting the below attributes:

- "user[name]"
"user[short_name]"
"user[sortable_name]"
"user[terms_of_use]"
"user[skip_registration]"
"pseudonym[sis_user_id]"       <- This is set to a unique number 
"pseudonym[unique_id]"         <- This is set to the users e-mail
- "pseudonym[authentication_provider_id]"
 
/Adam
Labels (2)
1 Solution
melodyc_lam
Community Coach
Community Coach

@MrAdam In order to add users to a course by email address the communication_channel user attribute has to be set and confirmed for the user. Hope this helps!

View solution in original post