diff --git a/provider/cmd/pulumi-resource-azuread/bridge-metadata.json b/provider/cmd/pulumi-resource-azuread/bridge-metadata.json
index 2758185d3..c2137e53b 100644
--- a/provider/cmd/pulumi-resource-azuread/bridge-metadata.json
+++ b/provider/cmd/pulumi-resource-azuread/bridge-metadata.json
@@ -1277,6 +1277,9 @@
"mail_nicknames": {
"maxItemsOne": false
},
+ "mails": {
+ "maxItemsOne": false
+ },
"object_ids": {
"maxItemsOne": false
},
diff --git a/provider/cmd/pulumi-resource-azuread/schema.json b/provider/cmd/pulumi-resource-azuread/schema.json
index 1f1a97707..935ab48e4 100644
--- a/provider/cmd/pulumi-resource-azuread/schema.json
+++ b/provider/cmd/pulumi-resource-azuread/schema.json
@@ -2939,7 +2939,7 @@
"properties": {
"accountEnabled": {
"type": "boolean",
- "description": "Whether or not the account is enabled.\n"
+ "description": "Whether the account is enabled.\n"
},
"displayName": {
"type": "string",
@@ -2951,7 +2951,7 @@
},
"mail": {
"type": "string",
- "description": "The primary email address of the user.\n"
+ "description": "The SMTP email address of the user.\n"
},
"mailNickname": {
"type": "string",
@@ -3707,7 +3707,7 @@
"items": {
"type": "string"
},
- "description": "A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.\n\n!\u003e **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.\n"
+ "description": "A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.\n\n\u003e **Caution** When using the `members` property of the azuread.AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.\n\n!\u003e **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.\n"
},
"objectId": {
"type": "string",
@@ -3741,7 +3741,7 @@
"items": {
"type": "string"
},
- "description": "A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.\n\n!\u003e **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.\n"
+ "description": "A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.\n\n\u003e **Caution** When using the `members` property of the azuread.AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.\n\n!\u003e **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.\n"
},
"preventDuplicateNames": {
"type": "boolean",
@@ -3771,7 +3771,7 @@
"items": {
"type": "string"
},
- "description": "A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.\n\n!\u003e **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.\n"
+ "description": "A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.\n\n\u003e **Caution** When using the `members` property of the azuread.AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.\n\n!\u003e **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.\n"
},
"objectId": {
"type": "string",
@@ -3794,7 +3794,7 @@
},
"memberObjectId": {
"type": "string",
- "description": "The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.\n"
+ "description": "The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.\n\n\u003e **Caution** When using the azuread.AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.\n"
}
},
"inputProperties": {
@@ -3805,7 +3805,7 @@
},
"memberObjectId": {
"type": "string",
- "description": "The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.\n",
+ "description": "The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.\n\n\u003e **Caution** When using the azuread.AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.\n",
"willReplaceOnChanges": true
}
},
@@ -3819,7 +3819,7 @@
},
"memberObjectId": {
"type": "string",
- "description": "The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.\n",
+ "description": "The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.\n\n\u003e **Caution** When using the azuread.AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.\n",
"willReplaceOnChanges": true
}
},
@@ -6682,7 +6682,7 @@
"items": {
"type": "string"
},
- "description": "The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.\n\n!\u003e **Warning** Do not use the `administrative_unit_ids` property at the same time as the azuread.AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.\n"
+ "description": "The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.\n\n\u003e **Caution** When using the azuread.AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.\n"
},
"assignableToRole": {
"type": "boolean",
@@ -6850,7 +6850,7 @@
"items": {
"type": "string"
},
- "description": "The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.\n\n!\u003e **Warning** Do not use the `administrative_unit_ids` property at the same time as the azuread.AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.\n"
+ "description": "The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.\n\n\u003e **Caution** When using the azuread.AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.\n"
},
"assignableToRole": {
"type": "boolean",
@@ -6968,7 +6968,7 @@
"items": {
"type": "string"
},
- "description": "The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.\n\n!\u003e **Warning** Do not use the `administrative_unit_ids` property at the same time as the azuread.AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.\n"
+ "description": "The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.\n\n\u003e **Caution** When using the azuread.AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.\n"
},
"assignableToRole": {
"type": "boolean",
@@ -11421,6 +11421,13 @@
},
"description": "The email aliases of the users.\n"
},
+ "mails": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The SMTP email addresses of the users.\n"
+ },
"objectIds": {
"type": "array",
"items": {
@@ -11437,7 +11444,7 @@
"items": {
"type": "string"
},
- "description": "The user principal names (UPNs) of the users.\n\n\u003e Either `return_all`, or one of `user_principal_names`, `object_ids`, `mail_nicknames` or `employee_ids` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.\n"
+ "description": "The user principal names (UPNs) of the users.\n\n\u003e Either `return_all`, or one of `user_principal_names`, `object_ids`, `mail_nicknames`, `mails`, or `employee_ids` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.\n"
}
},
"type": "object"
@@ -11466,6 +11473,13 @@
},
"type": "array"
},
+ "mails": {
+ "description": "The SMTP email addresses of the users.\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"objectIds": {
"description": "The object IDs of the users.\n",
"items": {
@@ -11494,6 +11508,7 @@
"required": [
"employeeIds",
"mailNicknames",
+ "mails",
"objectIds",
"userPrincipalNames",
"users",
diff --git a/provider/go.mod b/provider/go.mod
index ddef8f122..cf0febc6e 100644
--- a/provider/go.mod
+++ b/provider/go.mod
@@ -130,7 +130,7 @@ require (
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect
github.com/hashicorp/terraform-plugin-testing v1.5.1 // indirect
- github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240516193447-8a724fef33b3 // indirect
+ github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240606225257-7baae5fa5958 // indirect
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/vault/api v1.12.0 // indirect
@@ -146,7 +146,7 @@ require (
github.com/klauspost/compress v1.15.11 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
- github.com/manicminer/hamilton v0.68.0 // indirect
+ github.com/manicminer/hamilton v0.70.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
diff --git a/provider/go.sum b/provider/go.sum
index cd85ee34e..6ddd9b0f3 100644
--- a/provider/go.sum
+++ b/provider/go.sum
@@ -1670,8 +1670,8 @@ github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+
github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs=
github.com/hashicorp/terraform-plugin-testing v1.5.1 h1:T4aQh9JAhmWo4+t1A7x+rnxAJHCDIYW9kXyo4sVO92c=
github.com/hashicorp/terraform-plugin-testing v1.5.1/go.mod h1:dg8clO6K59rZ8w9EshBmDp1CxTIPu3yA4iaDpX1h5u0=
-github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240516193447-8a724fef33b3 h1:B2xueoOGmRPPcQxSASWt/LmWMGXF3PTaS4YIpLogMkA=
-github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240516193447-8a724fef33b3/go.mod h1:vtT/YIyyisf1WPWi1sMT5Wzu6wYFXk2VIdAbsY4Sj/Q=
+github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240606225257-7baae5fa5958 h1:sn7k6jHhXT95dXP+OFoTgYeet8s73JtMySf6qQR+jjE=
+github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240606225257-7baae5fa5958/go.mod h1:SnPG4t/tKlf4ci/QBq46JSxNyMOz7bTln34+v8Ur03w=
github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI=
github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM=
github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg=
@@ -1756,8 +1756,8 @@ github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuz
github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA=
github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o=
github.com/lyft/protoc-gen-star/v2 v2.0.3/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk=
-github.com/manicminer/hamilton v0.68.0 h1:2ZKQRTegktxJIoLBWxI43HczpTiwXl6brvwTXy75gPk=
-github.com/manicminer/hamilton v0.68.0/go.mod h1:u80g9rPtJpCG7EC0iayttt8UfeAp6jknClixgZGE950=
+github.com/manicminer/hamilton v0.70.0 h1:XMgVcwVtUGq2aBXqVAynaUDZdPXCXC8/rd7D5Zsg3UM=
+github.com/manicminer/hamilton v0.70.0/go.mod h1:u80g9rPtJpCG7EC0iayttt8UfeAp6jknClixgZGE950=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
diff --git a/provider/shim/go.mod b/provider/shim/go.mod
index e711b497f..1e0072478 100644
--- a/provider/shim/go.mod
+++ b/provider/shim/go.mod
@@ -4,7 +4,7 @@ go 1.21.3
require (
github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0
- github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240516193447-8a724fef33b3
+ github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240606225257-7baae5fa5958
)
require (
@@ -38,7 +38,7 @@ require (
github.com/hashicorp/terraform-registry-address v0.2.2 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
- github.com/manicminer/hamilton v0.68.0 // indirect
+ github.com/manicminer/hamilton v0.70.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
diff --git a/provider/shim/go.sum b/provider/shim/go.sum
index 9ceac9444..d330876a9 100644
--- a/provider/shim/go.sum
+++ b/provider/shim/go.sum
@@ -90,8 +90,8 @@ github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9T
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
github.com/hashicorp/terraform-plugin-testing v1.5.1 h1:T4aQh9JAhmWo4+t1A7x+rnxAJHCDIYW9kXyo4sVO92c=
github.com/hashicorp/terraform-plugin-testing v1.5.1/go.mod h1:dg8clO6K59rZ8w9EshBmDp1CxTIPu3yA4iaDpX1h5u0=
-github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240516193447-8a724fef33b3 h1:B2xueoOGmRPPcQxSASWt/LmWMGXF3PTaS4YIpLogMkA=
-github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240516193447-8a724fef33b3/go.mod h1:vtT/YIyyisf1WPWi1sMT5Wzu6wYFXk2VIdAbsY4Sj/Q=
+github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240606225257-7baae5fa5958 h1:sn7k6jHhXT95dXP+OFoTgYeet8s73JtMySf6qQR+jjE=
+github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20240606225257-7baae5fa5958/go.mod h1:SnPG4t/tKlf4ci/QBq46JSxNyMOz7bTln34+v8Ur03w=
github.com/hashicorp/terraform-registry-address v0.2.2 h1:lPQBg403El8PPicg/qONZJDC6YlgCVbWDtNmmZKtBno=
github.com/hashicorp/terraform-registry-address v0.2.2/go.mod h1:LtwNbCihUoUZ3RYriyS2wF/lGPB6gF9ICLRtuDk7hSo=
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=
@@ -111,8 +111,8 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
-github.com/manicminer/hamilton v0.68.0 h1:2ZKQRTegktxJIoLBWxI43HczpTiwXl6brvwTXy75gPk=
-github.com/manicminer/hamilton v0.68.0/go.mod h1:u80g9rPtJpCG7EC0iayttt8UfeAp6jknClixgZGE950=
+github.com/manicminer/hamilton v0.70.0 h1:XMgVcwVtUGq2aBXqVAynaUDZdPXCXC8/rd7D5Zsg3UM=
+github.com/manicminer/hamilton v0.70.0/go.mod h1:u80g9rPtJpCG7EC0iayttt8UfeAp6jknClixgZGE950=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
diff --git a/sdk/dotnet/AdministrativeUnit.cs b/sdk/dotnet/AdministrativeUnit.cs
index ce3eb200f..bae8689f8 100644
--- a/sdk/dotnet/AdministrativeUnit.cs
+++ b/sdk/dotnet/AdministrativeUnit.cs
@@ -72,6 +72,8 @@ public partial class AdministrativeUnit : global::Pulumi.CustomResource
///
/// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
///
+ /// > **Caution** When using the `members` property of the azuread.AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
+ ///
/// !> **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
///
[Output("members")]
@@ -159,6 +161,8 @@ public sealed class AdministrativeUnitArgs : global::Pulumi.ResourceArgs
///
/// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
///
+ /// > **Caution** When using the `members` property of the azuread.AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
+ ///
/// !> **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
///
public InputList Members
@@ -205,6 +209,8 @@ public sealed class AdministrativeUnitState : global::Pulumi.ResourceArgs
///
/// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
///
+ /// > **Caution** When using the `members` property of the azuread.AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
+ ///
/// !> **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
///
public InputList Members
diff --git a/sdk/dotnet/AdministrativeUnitMember.cs b/sdk/dotnet/AdministrativeUnitMember.cs
index b6dd5175a..c80e0f68e 100644
--- a/sdk/dotnet/AdministrativeUnitMember.cs
+++ b/sdk/dotnet/AdministrativeUnitMember.cs
@@ -72,6 +72,8 @@ public partial class AdministrativeUnitMember : global::Pulumi.CustomResource
///
/// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
+ ///
+ /// > **Caution** When using the azuread.AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
///
[Output("memberObjectId")]
public Output MemberObjectId { get; private set; } = null!;
@@ -130,6 +132,8 @@ public sealed class AdministrativeUnitMemberArgs : global::Pulumi.ResourceArgs
///
/// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
+ ///
+ /// > **Caution** When using the azuread.AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
///
[Input("memberObjectId")]
public Input? MemberObjectId { get; set; }
@@ -150,6 +154,8 @@ public sealed class AdministrativeUnitMemberState : global::Pulumi.ResourceArgs
///
/// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
+ ///
+ /// > **Caution** When using the azuread.AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
///
[Input("memberObjectId")]
public Input? MemberObjectId { get; set; }
diff --git a/sdk/dotnet/GetUsers.cs b/sdk/dotnet/GetUsers.cs
index be38e3058..ab84853ea 100644
--- a/sdk/dotnet/GetUsers.cs
+++ b/sdk/dotnet/GetUsers.cs
@@ -117,6 +117,18 @@ public List MailNicknames
set => _mailNicknames = value;
}
+ [Input("mails")]
+ private List? _mails;
+
+ ///
+ /// The SMTP email addresses of the users.
+ ///
+ public List Mails
+ {
+ get => _mails ?? (_mails = new List());
+ set => _mails = value;
+ }
+
[Input("objectIds")]
private List? _objectIds;
@@ -141,7 +153,7 @@ public List ObjectIds
///
/// The user principal names (UPNs) of the users.
///
- /// > Either `return_all`, or one of `user_principal_names`, `object_ids`, `mail_nicknames` or `employee_ids` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.
+ /// > Either `return_all`, or one of `user_principal_names`, `object_ids`, `mail_nicknames`, `mails`, or `employee_ids` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.
///
public List UserPrincipalNames
{
@@ -187,6 +199,18 @@ public InputList MailNicknames
set => _mailNicknames = value;
}
+ [Input("mails")]
+ private InputList? _mails;
+
+ ///
+ /// The SMTP email addresses of the users.
+ ///
+ public InputList Mails
+ {
+ get => _mails ?? (_mails = new InputList());
+ set => _mails = value;
+ }
+
[Input("objectIds")]
private InputList? _objectIds;
@@ -211,7 +235,7 @@ public InputList ObjectIds
///
/// The user principal names (UPNs) of the users.
///
- /// > Either `return_all`, or one of `user_principal_names`, `object_ids`, `mail_nicknames` or `employee_ids` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.
+ /// > Either `return_all`, or one of `user_principal_names`, `object_ids`, `mail_nicknames`, `mails`, or `employee_ids` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.
///
public InputList UserPrincipalNames
{
@@ -243,6 +267,10 @@ public sealed class GetUsersResult
///
public readonly ImmutableArray MailNicknames;
///
+ /// The SMTP email addresses of the users.
+ ///
+ public readonly ImmutableArray Mails;
+ ///
/// The object IDs of the users.
///
public readonly ImmutableArray ObjectIds;
@@ -266,6 +294,8 @@ private GetUsersResult(
ImmutableArray mailNicknames,
+ ImmutableArray mails,
+
ImmutableArray objectIds,
bool? returnAll,
@@ -278,6 +308,7 @@ private GetUsersResult(
Id = id;
IgnoreMissing = ignoreMissing;
MailNicknames = mailNicknames;
+ Mails = mails;
ObjectIds = objectIds;
ReturnAll = returnAll;
UserPrincipalNames = userPrincipalNames;
diff --git a/sdk/dotnet/Group.cs b/sdk/dotnet/Group.cs
index a54223c7b..f5da1b114 100644
--- a/sdk/dotnet/Group.cs
+++ b/sdk/dotnet/Group.cs
@@ -113,7 +113,7 @@ public partial class Group : global::Pulumi.CustomResource
///
/// The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.
///
- /// !> **Warning** Do not use the `administrative_unit_ids` property at the same time as the azuread.AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.
+ /// > **Caution** When using the azuread.AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
///
[Output("administrativeUnitIds")]
public Output> AdministrativeUnitIds { get; private set; } = null!;
@@ -364,7 +364,7 @@ public sealed class GroupArgs : global::Pulumi.ResourceArgs
///
/// The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.
///
- /// !> **Warning** Do not use the `administrative_unit_ids` property at the same time as the azuread.AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.
+ /// > **Caution** When using the azuread.AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
///
public InputList AdministrativeUnitIds
{
@@ -556,7 +556,7 @@ public sealed class GroupState : global::Pulumi.ResourceArgs
///
/// The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.
///
- /// !> **Warning** Do not use the `administrative_unit_ids` property at the same time as the azuread.AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.
+ /// > **Caution** When using the azuread.AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
///
public InputList AdministrativeUnitIds
{
diff --git a/sdk/dotnet/Outputs/GetUsersUserResult.cs b/sdk/dotnet/Outputs/GetUsersUserResult.cs
index 35e52c8de..e61ec56af 100644
--- a/sdk/dotnet/Outputs/GetUsersUserResult.cs
+++ b/sdk/dotnet/Outputs/GetUsersUserResult.cs
@@ -14,7 +14,7 @@ namespace Pulumi.AzureAD.Outputs
public sealed class GetUsersUserResult
{
///
- /// Whether or not the account is enabled.
+ /// Whether the account is enabled.
///
public readonly bool AccountEnabled;
///
@@ -26,7 +26,7 @@ public sealed class GetUsersUserResult
///
public readonly string EmployeeId;
///
- /// The primary email address of the user.
+ /// The SMTP email address of the user.
///
public readonly string Mail;
///
diff --git a/sdk/go/azuread/administrativeUnit.go b/sdk/go/azuread/administrativeUnit.go
index 5e118b147..92b7aaee9 100644
--- a/sdk/go/azuread/administrativeUnit.go
+++ b/sdk/go/azuread/administrativeUnit.go
@@ -68,6 +68,8 @@ type AdministrativeUnit struct {
HiddenMembershipEnabled pulumi.BoolPtrOutput `pulumi:"hiddenMembershipEnabled"`
// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
//
+ // > **Caution** When using the `members` property of the AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
+ //
// !> **Warning** Do not use the `members` property at the same time as the AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
Members pulumi.StringArrayOutput `pulumi:"members"`
// The object ID of the administrative unit.
@@ -117,6 +119,8 @@ type administrativeUnitState struct {
HiddenMembershipEnabled *bool `pulumi:"hiddenMembershipEnabled"`
// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
//
+ // > **Caution** When using the `members` property of the AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
+ //
// !> **Warning** Do not use the `members` property at the same time as the AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
Members []string `pulumi:"members"`
// The object ID of the administrative unit.
@@ -134,6 +138,8 @@ type AdministrativeUnitState struct {
HiddenMembershipEnabled pulumi.BoolPtrInput
// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
//
+ // > **Caution** When using the `members` property of the AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
+ //
// !> **Warning** Do not use the `members` property at the same time as the AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
Members pulumi.StringArrayInput
// The object ID of the administrative unit.
@@ -155,6 +161,8 @@ type administrativeUnitArgs struct {
HiddenMembershipEnabled *bool `pulumi:"hiddenMembershipEnabled"`
// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
//
+ // > **Caution** When using the `members` property of the AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
+ //
// !> **Warning** Do not use the `members` property at the same time as the AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
Members []string `pulumi:"members"`
// If `true`, will return an error if an existing administrative unit is found with the same name
@@ -171,6 +179,8 @@ type AdministrativeUnitArgs struct {
HiddenMembershipEnabled pulumi.BoolPtrInput
// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
//
+ // > **Caution** When using the `members` property of the AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
+ //
// !> **Warning** Do not use the `members` property at the same time as the AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
Members pulumi.StringArrayInput
// If `true`, will return an error if an existing administrative unit is found with the same name
@@ -281,6 +291,8 @@ func (o AdministrativeUnitOutput) HiddenMembershipEnabled() pulumi.BoolPtrOutput
// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
//
+// > **Caution** When using the `members` property of the AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
+//
// !> **Warning** Do not use the `members` property at the same time as the AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
func (o AdministrativeUnitOutput) Members() pulumi.StringArrayOutput {
return o.ApplyT(func(v *AdministrativeUnit) pulumi.StringArrayOutput { return v.Members }).(pulumi.StringArrayOutput)
diff --git a/sdk/go/azuread/administrativeUnitMember.go b/sdk/go/azuread/administrativeUnitMember.go
index b78c9cd7f..a860774eb 100644
--- a/sdk/go/azuread/administrativeUnitMember.go
+++ b/sdk/go/azuread/administrativeUnitMember.go
@@ -77,6 +77,8 @@ type AdministrativeUnitMember struct {
// The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
AdministrativeUnitObjectId pulumi.StringPtrOutput `pulumi:"administrativeUnitObjectId"`
// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
+ //
+ // > **Caution** When using the AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
MemberObjectId pulumi.StringPtrOutput `pulumi:"memberObjectId"`
}
@@ -113,6 +115,8 @@ type administrativeUnitMemberState struct {
// The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
AdministrativeUnitObjectId *string `pulumi:"administrativeUnitObjectId"`
// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
+ //
+ // > **Caution** When using the AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
MemberObjectId *string `pulumi:"memberObjectId"`
}
@@ -120,6 +124,8 @@ type AdministrativeUnitMemberState struct {
// The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
AdministrativeUnitObjectId pulumi.StringPtrInput
// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
+ //
+ // > **Caution** When using the AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
MemberObjectId pulumi.StringPtrInput
}
@@ -131,6 +137,8 @@ type administrativeUnitMemberArgs struct {
// The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
AdministrativeUnitObjectId *string `pulumi:"administrativeUnitObjectId"`
// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
+ //
+ // > **Caution** When using the AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
MemberObjectId *string `pulumi:"memberObjectId"`
}
@@ -139,6 +147,8 @@ type AdministrativeUnitMemberArgs struct {
// The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
AdministrativeUnitObjectId pulumi.StringPtrInput
// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
+ //
+ // > **Caution** When using the AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
MemberObjectId pulumi.StringPtrInput
}
@@ -235,6 +245,8 @@ func (o AdministrativeUnitMemberOutput) AdministrativeUnitObjectId() pulumi.Stri
}
// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
+//
+// > **Caution** When using the AdministrativeUnitMember resource to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
func (o AdministrativeUnitMemberOutput) MemberObjectId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AdministrativeUnitMember) pulumi.StringPtrOutput { return v.MemberObjectId }).(pulumi.StringPtrOutput)
}
diff --git a/sdk/go/azuread/getUsers.go b/sdk/go/azuread/getUsers.go
index b9dd438d8..e46ff52ca 100644
--- a/sdk/go/azuread/getUsers.go
+++ b/sdk/go/azuread/getUsers.go
@@ -67,13 +67,15 @@ type GetUsersArgs struct {
IgnoreMissing *bool `pulumi:"ignoreMissing"`
// The email aliases of the users.
MailNicknames []string `pulumi:"mailNicknames"`
+ // The SMTP email addresses of the users.
+ Mails []string `pulumi:"mails"`
// The object IDs of the users.
ObjectIds []string `pulumi:"objectIds"`
// When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to `false`.
ReturnAll *bool `pulumi:"returnAll"`
// The user principal names (UPNs) of the users.
//
- // > Either `returnAll`, or one of `userPrincipalNames`, `objectIds`, `mailNicknames` or `employeeIds` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.
+ // > Either `returnAll`, or one of `userPrincipalNames`, `objectIds`, `mailNicknames`, `mails`, or `employeeIds` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.
UserPrincipalNames []string `pulumi:"userPrincipalNames"`
}
@@ -86,6 +88,8 @@ type GetUsersResult struct {
IgnoreMissing *bool `pulumi:"ignoreMissing"`
// The email aliases of the users.
MailNicknames []string `pulumi:"mailNicknames"`
+ // The SMTP email addresses of the users.
+ Mails []string `pulumi:"mails"`
// The object IDs of the users.
ObjectIds []string `pulumi:"objectIds"`
ReturnAll *bool `pulumi:"returnAll"`
@@ -116,13 +120,15 @@ type GetUsersOutputArgs struct {
IgnoreMissing pulumi.BoolPtrInput `pulumi:"ignoreMissing"`
// The email aliases of the users.
MailNicknames pulumi.StringArrayInput `pulumi:"mailNicknames"`
+ // The SMTP email addresses of the users.
+ Mails pulumi.StringArrayInput `pulumi:"mails"`
// The object IDs of the users.
ObjectIds pulumi.StringArrayInput `pulumi:"objectIds"`
// When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to `false`.
ReturnAll pulumi.BoolPtrInput `pulumi:"returnAll"`
// The user principal names (UPNs) of the users.
//
- // > Either `returnAll`, or one of `userPrincipalNames`, `objectIds`, `mailNicknames` or `employeeIds` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.
+ // > Either `returnAll`, or one of `userPrincipalNames`, `objectIds`, `mailNicknames`, `mails`, or `employeeIds` must be specified. These _may_ be specified as an empty list, in which case no results will be returned.
UserPrincipalNames pulumi.StringArrayInput `pulumi:"userPrincipalNames"`
}
@@ -164,6 +170,11 @@ func (o GetUsersResultOutput) MailNicknames() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetUsersResult) []string { return v.MailNicknames }).(pulumi.StringArrayOutput)
}
+// The SMTP email addresses of the users.
+func (o GetUsersResultOutput) Mails() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetUsersResult) []string { return v.Mails }).(pulumi.StringArrayOutput)
+}
+
// The object IDs of the users.
func (o GetUsersResultOutput) ObjectIds() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetUsersResult) []string { return v.ObjectIds }).(pulumi.StringArrayOutput)
diff --git a/sdk/go/azuread/group.go b/sdk/go/azuread/group.go
index 621aad586..a7ab503f0 100644
--- a/sdk/go/azuread/group.go
+++ b/sdk/go/azuread/group.go
@@ -131,7 +131,7 @@ type Group struct {
// The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.
//
- // !> **Warning** Do not use the `administrativeUnitIds` property at the same time as the AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.
+ // > **Caution** When using the AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
AdministrativeUnitIds pulumi.StringArrayOutput `pulumi:"administrativeUnitIds"`
// Indicates whether this group can be assigned to an Azure Active Directory role. Defaults to `false`. Can only be set to `true` for security-enabled groups. Changing this forces a new resource to be created.
AssignableToRole pulumi.BoolPtrOutput `pulumi:"assignableToRole"`
@@ -244,7 +244,7 @@ func GetGroup(ctx *pulumi.Context,
type groupState struct {
// The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.
//
- // !> **Warning** Do not use the `administrativeUnitIds` property at the same time as the AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.
+ // > **Caution** When using the AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
AdministrativeUnitIds []string `pulumi:"administrativeUnitIds"`
// Indicates whether this group can be assigned to an Azure Active Directory role. Defaults to `false`. Can only be set to `true` for security-enabled groups. Changing this forces a new resource to be created.
AssignableToRole *bool `pulumi:"assignableToRole"`
@@ -325,7 +325,7 @@ type groupState struct {
type GroupState struct {
// The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.
//
- // !> **Warning** Do not use the `administrativeUnitIds` property at the same time as the AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.
+ // > **Caution** When using the AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
AdministrativeUnitIds pulumi.StringArrayInput
// Indicates whether this group can be assigned to an Azure Active Directory role. Defaults to `false`. Can only be set to `true` for security-enabled groups. Changing this forces a new resource to be created.
AssignableToRole pulumi.BoolPtrInput
@@ -410,7 +410,7 @@ func (GroupState) ElementType() reflect.Type {
type groupArgs struct {
// The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.
//
- // !> **Warning** Do not use the `administrativeUnitIds` property at the same time as the AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.
+ // > **Caution** When using the AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
AdministrativeUnitIds []string `pulumi:"administrativeUnitIds"`
// Indicates whether this group can be assigned to an Azure Active Directory role. Defaults to `false`. Can only be set to `true` for security-enabled groups. Changing this forces a new resource to be created.
AssignableToRole *bool `pulumi:"assignableToRole"`
@@ -474,7 +474,7 @@ type groupArgs struct {
type GroupArgs struct {
// The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.
//
- // !> **Warning** Do not use the `administrativeUnitIds` property at the same time as the AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.
+ // > **Caution** When using the AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
AdministrativeUnitIds pulumi.StringArrayInput
// Indicates whether this group can be assigned to an Azure Active Directory role. Defaults to `false`. Can only be set to `true` for security-enabled groups. Changing this forces a new resource to be created.
AssignableToRole pulumi.BoolPtrInput
@@ -623,7 +623,7 @@ func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput {
// The object IDs of administrative units in which the group is a member. If specified, new groups will be created in the scope of the first administrative unit and added to the others. If empty, new groups will be created at the tenant level.
//
-// !> **Warning** Do not use the `administrativeUnitIds` property at the same time as the AdministrativeUnitMember resource, _for the same group_. Doing so will cause a conflict and administrative unit members will be removed.
+// > **Caution** When using the AdministrativeUnitMember resource, to manage Administrative Unit membership for a group, you will need to use an `ignoreChanges = [administrativeUnitIds]` lifecycle meta argument for the `Group` resource, in order to avoid a persistent diff.
func (o GroupOutput) AdministrativeUnitIds() pulumi.StringArrayOutput {
return o.ApplyT(func(v *Group) pulumi.StringArrayOutput { return v.AdministrativeUnitIds }).(pulumi.StringArrayOutput)
}
diff --git a/sdk/go/azuread/pulumiTypes.go b/sdk/go/azuread/pulumiTypes.go
index a7743be9b..63b4f8bbb 100644
--- a/sdk/go/azuread/pulumiTypes.go
+++ b/sdk/go/azuread/pulumiTypes.go
@@ -14728,13 +14728,13 @@ func (o GetServicePrincipalsServicePrincipalArrayOutput) Index(i pulumi.IntInput
}
type GetUsersUser struct {
- // Whether or not the account is enabled.
+ // Whether the account is enabled.
AccountEnabled bool `pulumi:"accountEnabled"`
// The display name of the user.
DisplayName string `pulumi:"displayName"`
// The employee identifier assigned to the user by the organisation.
EmployeeId string `pulumi:"employeeId"`
- // The primary email address of the user.
+ // The SMTP email address of the user.
Mail string `pulumi:"mail"`
// The email alias of the user.
MailNickname string `pulumi:"mailNickname"`
@@ -14764,13 +14764,13 @@ type GetUsersUserInput interface {
}
type GetUsersUserArgs struct {
- // Whether or not the account is enabled.
+ // Whether the account is enabled.
AccountEnabled pulumi.BoolInput `pulumi:"accountEnabled"`
// The display name of the user.
DisplayName pulumi.StringInput `pulumi:"displayName"`
// The employee identifier assigned to the user by the organisation.
EmployeeId pulumi.StringInput `pulumi:"employeeId"`
- // The primary email address of the user.
+ // The SMTP email address of the user.
Mail pulumi.StringInput `pulumi:"mail"`
// The email alias of the user.
MailNickname pulumi.StringInput `pulumi:"mailNickname"`
@@ -14839,7 +14839,7 @@ func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context)
return o
}
-// Whether or not the account is enabled.
+// Whether the account is enabled.
func (o GetUsersUserOutput) AccountEnabled() pulumi.BoolOutput {
return o.ApplyT(func(v GetUsersUser) bool { return v.AccountEnabled }).(pulumi.BoolOutput)
}
@@ -14854,7 +14854,7 @@ func (o GetUsersUserOutput) EmployeeId() pulumi.StringOutput {
return o.ApplyT(func(v GetUsersUser) string { return v.EmployeeId }).(pulumi.StringOutput)
}
-// The primary email address of the user.
+// The SMTP email address of the user.
func (o GetUsersUserOutput) Mail() pulumi.StringOutput {
return o.ApplyT(func(v GetUsersUser) string { return v.Mail }).(pulumi.StringOutput)
}
diff --git a/sdk/java/src/main/java/com/pulumi/azuread/AdministrativeUnit.java b/sdk/java/src/main/java/com/pulumi/azuread/AdministrativeUnit.java
index 50446cd22..b7f32018f 100644
--- a/sdk/java/src/main/java/com/pulumi/azuread/AdministrativeUnit.java
+++ b/sdk/java/src/main/java/com/pulumi/azuread/AdministrativeUnit.java
@@ -120,6 +120,8 @@ public Output> hiddenMembershipEnabled() {
/**
* A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
*
+ * > **Caution** When using the `members` property of the azuread.AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
+ *
* !> **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
*
*/
@@ -129,6 +131,8 @@ public Output> hiddenMembershipEnabled() {
/**
* @return A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
*
+ * > **Caution** When using the `members` property of the azuread.AdministrativeUnit resource, to manage Administrative Unit membership for a group, you will need to use an `ignore_changes = [administrative_unit_ids]` lifecycle meta argument for the `azuread.Group` resource, in order to avoid a persistent diff.
+ *
* !> **Warning** Do not use the `members` property at the same time as the azuread.AdministrativeUnitMember resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.
*
*/
diff --git a/sdk/java/src/main/java/com/pulumi/azuread/AdministrativeUnitArgs.java b/sdk/java/src/main/java/com/pulumi/azuread/AdministrativeUnitArgs.java
index ca781ddf5..9282ffa8b 100644
--- a/sdk/java/src/main/java/com/pulumi/azuread/AdministrativeUnitArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/azuread/AdministrativeUnitArgs.java
@@ -66,6 +66,8 @@ public Optional