diff --git a/azuread/data_groups.go b/azuread/data_groups.go index 053e4864ef..88d1fdacc2 100644 --- a/azuread/data_groups.go +++ b/azuread/data_groups.go @@ -10,7 +10,6 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/terraform-providers/terraform-provider-azuread/azuread/helpers/graph" - "github.com/terraform-providers/terraform-provider-azuread/azuread/helpers/validate" ) func dataGroups() *schema.Resource { @@ -26,11 +25,9 @@ func dataGroups() *schema.Resource { Type: schema.TypeList, Optional: true, Computed: true, - MinItems: 1, ConflictsWith: []string{"names"}, Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validate.UUID, + Type: schema.TypeString, }, }, @@ -38,11 +35,9 @@ func dataGroups() *schema.Resource { Type: schema.TypeList, Optional: true, Computed: true, - MinItems: 1, ConflictsWith: []string{"object_ids"}, Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validate.NoEmptyStrings, + Type: schema.TypeString, }, }, },