SCIM provisioning: creating a new user only creates an invite

Hi,

we are trying to integrate a SCIM client with Asana and noticed that upon creating a new user using the /Users endpoint, actually only seems to create an invite, but does not create the actual user account in Asana.

Since the documentation pretty much says nothing about this… is the designed behaviour of that endpoint?

Thanks

Hi @Stephan_Budach,

Yes, that’s the designed behavior of that endpoint. You can only invite a user but they have to then accept the invitation in order to join.

1 Like

Hi @Phil_Seeman,

thanks for confirming that. Does the invited account however already receive an ID, which we can use to already sign the new account up for an existing team? We do want have all of our accounts to be members of certain teams right from when they start. Or do we have to wait until they actually sign in for the first time and walk through the setup process?

What specific endpoint are you calling?

EDIT: Never mind, I see from your post above.

I’m not familiar with the SCIM endpoints specifically, but I’m almost positive it creates and returns to you the gid of the invited user. If you look at the sample code in the docs, it shows an id property being returned on the creation.

I did look at the example, but it seems, that this endpoint only returns already active accounts - no inactive ones (invited/zombified). It may also be me, not grasping how to create the correct request and not returning account which’s attribute “active” is not true is the default.

If that’s the case, I’d gladly take an example for that.