Skip to content

New resource azuread_user_license #1057

Description

@drewmullen

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)

  • azuread_user_license

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions