-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support guest user invitations #307
Comments
Hello, I'd like to add some comments on this. Please note that the feature implemented in #401 only allows to create user resources with the user type as It is problematic because some features aren't working with this approach. We originally implemented this feature because we needed to invite users in order to use the External Identities feature (it is a prerequisite for this to work). For us the only way to create guest users properly is to use the |
Hi @romainDavaze, thanks for noting that. Supporting the Can I ask which features don't work, apart from the invitation process itself? I'd like to figure out whether it's worth supporting setting the userType property versus only supporting guests via the invitations API. |
Thank you for your response, I'll keep an eye on this issue then. I've only encountered the issue with external identities so far because I only use guest users for this. Because this feature needs you to invite users to your AAD prior to be able to use an external IDP, I guess that just by creating a user resource, we're not creating a guest user from Azure's point of view, or at least not completely. Maybe it has something to do with the To be honest, I don't understand why the Azure API would allow the userType property of an existing user to be modified. You may need to read its value for some use cases but changing it seems a bit weird. For what I understand, it's a completely different process to register a |
Thanks, that makes sense. I agree WRT the API behavior - actually I believe that property used to be read-only - although this is just one of several issues related to API property translation that we should almost entirely sidestep once we move to MS Graph. |
@romainDavaze Appreciate your feedback on this. I've done some more testing and concur that adding guest users in this way is totally broken. We will likely revert support for setting |
Any idea on when this will be implemented? This is core to managing users through Terraform for almost all of our use cases... |
Yes! same as my case!! please approve it! |
Per the milestone, in v2.1.0 |
This functionality has been released in v2.1.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Support Guest user invitations for AAD tenants.
New or Affected Resource(s)
References
The text was updated successfully, but these errors were encountered: