Create new user via API - Cannot add user to course via email address (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2023
01:17 AM
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?
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
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2023
06:40 AM
@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!