Skip to content

Commit

Permalink
Merge pull request #1370 from hashicorp/f/group-behavior-skipexchange…
Browse files Browse the repository at this point in the history
…instanton

azuread_group: support `SkipExchangeInstantOn` for `behaviors`
  • Loading branch information
manicminer authored May 9, 2024
2 parents 71aa15c + 97d8aef commit 9b288ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/resources/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ The following arguments are supported:

~> **Known Permissions Issue** The `auto_subscribe_new_members` property can only be set when authenticating as a Member user of the tenant and _not_ when authenticating as a Guest user or as a service principal. Please see the [Microsoft Graph Known Issues](https://docs.microsoft.com/en-us/graph/known-issues#groups) documentation.

* `behaviors` - (Optional) A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created.
* `behaviors` - (Optional) A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SkipExchangeInstantOn`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created.
* `description` - (Optional) The description for the group.
* `display_name` - (Required) The display name for the group.
* `dynamic_membership` - (Optional) A `dynamic_membership` block as documented below. Required when `types` contains `DynamicMembership`. Cannot be used with the `members` property.
Expand Down
1 change: 1 addition & 0 deletions internal/services/groups/group_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func groupResource() *pluginsdk.Resource {
msgraph.GroupResourceBehaviorOptionCalendarMemberReadOnly,
msgraph.GroupResourceBehaviorOptionConnectorsDisabled,
msgraph.GroupResourceBehaviorOptionHideGroupInOutlook,
msgraph.GroupResourceBehaviorOptionSkipExchangeInstantOn,
msgraph.GroupResourceBehaviorOptionSubscribeMembersToCalendarEventsDisabled,
msgraph.GroupResourceBehaviorOptionSubscribeNewGroupMembers,
msgraph.GroupResourceBehaviorOptionWelcomeEmailDisabled,
Expand Down

0 comments on commit 9b288ce

Please sign in to comment.