Azure - How to create External Identities and assign them to users with Terraform

I am trying to create External Identities with Terraform and assign them to users in Azure.

My first problem is that I am not able to find the resource External Identities in Terraform.

My second problem is, that I am not sure how to link the external Identity with the user.
The user has been created with the resource type azuread_invitation.

Thanks in advance :slight_smile: