Trying to use the create a user API with powershell. I"ve used other API's without a problem (sis import, etc).
I keep getting an error "unprocessable_entity". I"ve double-checked the url and all appears to be fine.
Using the Invoke-WebRequest cmdlet which I've used before.
https://utm.beta.instructure.com/api/v1/accounts/1/users?pseudonym[unique_id]=canstu1&pseudonym[sis_user_id]=canstu1&user[name]=Stu1 CanvasTest&user[skip_registration]=true&pseudonym[integration_id]=960551234&communication_channel[address]=canstu1@utm.edu&communication_channel[skip_confirmation]=true&user[skip_registration]=true&pseudonym[send_confirmation]=true
I hope I'm missing the obvious, but can't see it! Anyone have an idea?
Bruce Harrison
Univ. of Tennessee at Martin