Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritise this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritise the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Add a resource for users to add licenses to specific user accounts. disabled_plans and remove_licenses, I believe, are not necessary with this implementation
Similar to this issue but standalone resource.
New or Affected Resource(s)
Potential Terraform Configuration
data "azuread_user" "example" {
user_principal_name = "example@hashicorp.com"
}
resource "azuread_user_license" "o365" {
user_id = data.azuread_user.example.id
sku_id = "c7df2760-2c81-4ef7-b578-5b5392b571df"
}
References
User Graph Call
SKUs
Community Note
Description
Add a resource for users to add licenses to specific user accounts.
disabled_plansandremove_licenses, I believe, are not necessary with this implementationSimilar to this issue but standalone resource.
New or Affected Resource(s)
Potential Terraform Configuration
References
User Graph Call
assignLicense: https://docs.microsoft.com/en-us/graph/api/user-assignlicense?view=graph-rest-1.0&tabs=httplistDetails: https://learn.microsoft.com/en-us/graph/api/user-list-licensedetails?view=graph-rest-1.0&tabs=httpSKUs