Skip to content

Commit f6c78bc

Browse files
authored
Merge pull request #28214 from rwaithera/users/ruthwaithera/remove-properties-from-profilePropertySettings
Update ProfilePropertySettings beta docs. Remove and add properties.
2 parents 4212e6d + 01400fc commit f6c78bc

8 files changed

Lines changed: 59 additions & 163 deletions

api-reference/beta/api/peopleadminsettings-list-profilepropertysettings.md

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -58,44 +58,15 @@ If successful, this method returns a `200 OK` response code and a collection of
5858
### Request
5959

6060
The following example shows a request.
61-
# [HTTP](#tab/http)
6261
<!-- {
6362
"blockType": "request",
6463
"name": "list_profilepropertysetting"
6564
}
6665
-->
67-
```msgraph-interactive
66+
```http
6867
GET https://graph.microsoft.com/beta/admin/people/profilePropertySettings
6968
```
7069

71-
# [C#](#tab/csharp)
72-
[!INCLUDE [sample-code](../includes/snippets/csharp/list-profilepropertysetting-csharp-snippets.md)]
73-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
74-
75-
# [Go](#tab/go)
76-
[!INCLUDE [sample-code](../includes/snippets/go/list-profilepropertysetting-go-snippets.md)]
77-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78-
79-
# [Java](#tab/java)
80-
[!INCLUDE [sample-code](../includes/snippets/java/list-profilepropertysetting-java-snippets.md)]
81-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82-
83-
# [JavaScript](#tab/javascript)
84-
[!INCLUDE [sample-code](../includes/snippets/javascript/list-profilepropertysetting-javascript-snippets.md)]
85-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86-
87-
# [PHP](#tab/php)
88-
[!INCLUDE [sample-code](../includes/snippets/php/list-profilepropertysetting-php-snippets.md)]
89-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90-
91-
# [PowerShell](#tab/powershell)
92-
[!INCLUDE [sample-code](../includes/snippets/powershell/list-profilepropertysetting-powershell-snippets.md)]
93-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94-
95-
# [Python](#tab/python)
96-
[!INCLUDE [sample-code](../includes/snippets/python/list-profilepropertysetting-python-snippets.md)]
97-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
98-
9970
---
10071

10172
### Response
@@ -118,13 +89,11 @@ Content-Type: application/json
11889
"@odata.type": "#microsoft.graph.profilePropertySetting",
11990
"id": "00000000-0000-0000-0000-000000000001",
12091
"name": null,
121-
"userOverridePrivacy": null,
122-
"allowedAudiences": null,
12392
"prioritizedSourceUrls": [
12493
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='4ce763dd-9214-4eff-af7c-da491cc3782d')"
125-
]
94+
],
95+
"displayName": null
12696
}
12797
]
12898
}
12999
```
130-

api-reference/beta/api/peopleadminsettings-post-profilepropertysettings.md

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@ You can specify the following properties when you create a **profilePropertySett
5353

5454
|Property|Type|Description|
5555
|:---|:---|:---|
56-
|allowedAudiences|organizationAllowedAudiences|A privacy setting that reflects the allowed audience for the configured property. The possible values are: `me`, `organization`, `federatedOrganizations`, `everyone`, `unknownFutureValue`.|
57-
|isUserOverrideForAudienceEnabled|Boolean|Defines whether a user is allowed to override the tenant admin privacy setting.|
58-
|name|String|Name of the property-level setting.|
56+
|name|String|Other name of the property-level setting. For backward compatibility.|
5957
|prioritizedSourceUrls|String collection|A collection of prioritized profile source URLs ordered by data precedence within an organization.|
58+
|displayName|String|Name of the property-level setting.|
6059

6160
## Response
6261

@@ -67,7 +66,6 @@ If successful, this method returns a `201 Created` response code and a [profileP
6766
### Request
6867

6968
The following example shows a request.
70-
# [HTTP](#tab/http)
7169
<!-- {
7270
"blockType": "request",
7371
"name": "create_profilepropertysetting_from_"
@@ -85,34 +83,6 @@ Content-Type: application/json
8583
}
8684
```
8785

88-
# [C#](#tab/csharp)
89-
[!INCLUDE [sample-code](../includes/snippets/csharp/create-profilepropertysetting-from--csharp-snippets.md)]
90-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
91-
92-
# [Go](#tab/go)
93-
[!INCLUDE [sample-code](../includes/snippets/go/create-profilepropertysetting-from--go-snippets.md)]
94-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
95-
96-
# [Java](#tab/java)
97-
[!INCLUDE [sample-code](../includes/snippets/java/create-profilepropertysetting-from--java-snippets.md)]
98-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
99-
100-
# [JavaScript](#tab/javascript)
101-
[!INCLUDE [sample-code](../includes/snippets/javascript/create-profilepropertysetting-from--javascript-snippets.md)]
102-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
103-
104-
# [PHP](#tab/php)
105-
[!INCLUDE [sample-code](../includes/snippets/php/create-profilepropertysetting-from--php-snippets.md)]
106-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
107-
108-
# [PowerShell](#tab/powershell)
109-
[!INCLUDE [sample-code](../includes/snippets/powershell/create-profilepropertysetting-from--powershell-snippets.md)]
110-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
111-
112-
# [Python](#tab/python)
113-
[!INCLUDE [sample-code](../includes/snippets/python/create-profilepropertysetting-from--python-snippets.md)]
114-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
115-
11686
---
11787

11888
### Response
@@ -133,12 +103,11 @@ Content-Type: application/json
133103
"@odata.type": "#microsoft.graph.profilePropertySetting",
134104
"id": "00000000-0000-0000-0000-000000000001",
135105
"name": null,
136-
"userOverridePrivacy": null,
137-
"allowedAudiences": null,
138106
"prioritizedSourceUrls": [
139107
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr1')",
140108
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='4ce763dd-9214-4eff-af7c-da491cc3782d')"
141-
]
109+
],
110+
"displayName" : null
142111
}
143112
```
144113

api-reference/beta/api/profilepropertysetting-get.md

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -58,44 +58,15 @@ If successful, this method returns a `200 OK` response code and a [profileProper
5858
### Request
5959

6060
The following example shows a request.
61-
# [HTTP](#tab/http)
6261
<!-- {
6362
"blockType": "request",
6463
"name": "get_profilepropertysetting"
6564
}
6665
-->
67-
```msgraph-interactive
66+
```http
6867
GET https://graph.microsoft.com/beta/admin/people/profilePropertySettings/00000000-0000-0000-0000-000000000001
6968
```
7069

71-
# [C#](#tab/csharp)
72-
[!INCLUDE [sample-code](../includes/snippets/csharp/get-profilepropertysetting-csharp-snippets.md)]
73-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
74-
75-
# [Go](#tab/go)
76-
[!INCLUDE [sample-code](../includes/snippets/go/get-profilepropertysetting-go-snippets.md)]
77-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78-
79-
# [Java](#tab/java)
80-
[!INCLUDE [sample-code](../includes/snippets/java/get-profilepropertysetting-java-snippets.md)]
81-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82-
83-
# [JavaScript](#tab/javascript)
84-
[!INCLUDE [sample-code](../includes/snippets/javascript/get-profilepropertysetting-javascript-snippets.md)]
85-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86-
87-
# [PHP](#tab/php)
88-
[!INCLUDE [sample-code](../includes/snippets/php/get-profilepropertysetting-php-snippets.md)]
89-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90-
91-
# [PowerShell](#tab/powershell)
92-
[!INCLUDE [sample-code](../includes/snippets/powershell/get-profilepropertysetting-powershell-snippets.md)]
93-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94-
95-
# [Python](#tab/python)
96-
[!INCLUDE [sample-code](../includes/snippets/python/get-profilepropertysetting-python-snippets.md)]
97-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
98-
9970
---
10071

10172
### Response
@@ -117,11 +88,10 @@ Content-Type: application/json
11788
"@odata.type": "#microsoft.graph.profilePropertySetting",
11889
"id": "00000000-0000-0000-0000-000000000001",
11990
"name": null,
120-
"userOverridePrivacy": null,
121-
"allowedAudiences": null,
12291
"prioritizedSourceUrls": [
12392
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='4ce763dd-9214-4eff-af7c-da491cc3782d')"
124-
]
93+
],
94+
"displayName": "null"
12595
}
12696
}
12797
```

api-reference/beta/api/profilepropertysetting-update.md

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ PATCH /admin/people/profilePropertySettings/{profilePropertySettingId}
5050

5151
|Property|Type|Description|
5252
|:---|:---|:---|
53-
|allowedAudiences|organizationAllowedAudiences|A privacy setting that reflects the allowed audience for the configured property. The possible values are: `me`, `organization`, `federatedOrganizations`, `everyone`, `unknownFutureValue`.|
54-
|isUserOverrideForAudienceEnabled|Boolean|Defines whether a user is allowed to override the tenant admin privacy setting.|
55-
|name|String|Name of the property-level setting.|
53+
|name|String|Other name of the property-level setting. For backward compatibility.|
5654
|prioritizedSourceUrls|String collection|A collection of prioritized profile source URLs ordered by data precedence within an organization.|
55+
|displayName|String|Name of the property-level setting.|
5756

5857
## Response
5958

@@ -64,7 +63,6 @@ If successful, this method returns a `200 OK` response code and an updated [prof
6463
### Request
6564

6665
The following example shows a request.
67-
# [HTTP](#tab/http)
6866
<!-- {
6967
"blockType": "request",
7068
"name": "update_profilepropertysetting"
@@ -83,34 +81,6 @@ Content-Type: application/json
8381
}
8482
```
8583

86-
# [C#](#tab/csharp)
87-
[!INCLUDE [sample-code](../includes/snippets/csharp/update-profilepropertysetting-csharp-snippets.md)]
88-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
89-
90-
# [Go](#tab/go)
91-
[!INCLUDE [sample-code](../includes/snippets/go/update-profilepropertysetting-go-snippets.md)]
92-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
93-
94-
# [Java](#tab/java)
95-
[!INCLUDE [sample-code](../includes/snippets/java/update-profilepropertysetting-java-snippets.md)]
96-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
97-
98-
# [JavaScript](#tab/javascript)
99-
[!INCLUDE [sample-code](../includes/snippets/javascript/update-profilepropertysetting-javascript-snippets.md)]
100-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
101-
102-
# [PHP](#tab/php)
103-
[!INCLUDE [sample-code](../includes/snippets/php/update-profilepropertysetting-php-snippets.md)]
104-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
105-
106-
# [PowerShell](#tab/powershell)
107-
[!INCLUDE [sample-code](../includes/snippets/powershell/update-profilepropertysetting-powershell-snippets.md)]
108-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
109-
110-
# [Python](#tab/python)
111-
[!INCLUDE [sample-code](../includes/snippets/python/update-profilepropertysetting-python-snippets.md)]
112-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
113-
11484
---
11585

11686
### Response
@@ -131,12 +101,11 @@ Content-Type: application/json
131101
"@odata.type": "#microsoft.graph.profilePropertySetting",
132102
"id": "00000000-0000-0000-0000-000000000001",
133103
"name": null,
134-
"userOverridePrivacy": null,
135-
"allowedAudiences": null,
136104
"prioritizedSourceUrls": [
137105
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr1')",
138106
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr2')"
139-
]
107+
],
108+
"displayName": "null"
140109
}
141110
```
142111

api-reference/beta/resources/enums.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5380,16 +5380,6 @@ Possible values for user account types (group membership), per Windows definitio
53805380
|dynamicRule|
53815381
|unknownFutureValue|
53825382

5383-
### organizationAllowedAudiences values
5384-
5385-
|Member|
5386-
|:---|
5387-
|me|
5388-
|organization|
5389-
|federatedOrganizations|
5390-
|everyone|
5391-
|unknownFutureValue|
5392-
53935383
### educationSpeechType values
53945384

53955385
|Member|

api-reference/beta/resources/profilepropertysetting.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ Inherits from [entity](../resources/entity.md).
3333
## Properties
3434
|Property|Type|Description|
3535
|:---|:---|:---|
36-
|allowedAudiences|organizationAllowedAudiences|A privacy setting that reflects the allowed audience for the configured property. The possible values are: `me`, `organization`, `federatedOrganizations`, `everyone`, `unknownFutureValue`.|
36+
|displayName|String|Name of the property-level setting.|
3737
|id|String|System generated GUID. Inherited from [entity](../resources/entity.md).|
38-
|isUserOverrideForAudienceEnabled|Boolean|Defines whether a user is allowed to override the tenant admin privacy setting.|
39-
|name|String|Name of the property-level setting.|
38+
|name|String|Other name of the property-level setting. For backward compatibility.|
4039
|prioritizedSourceUrls|String collection|A collection of prioritized profile source URLs ordered by data precedence within an organization.|
4140

4241
## Relationships
@@ -55,11 +54,10 @@ The following JSON representation shows the resource type.
5554
``` json
5655
{
5756
"@odata.type": "#microsoft.graph.profilePropertySetting",
58-
"allowedAudiences": "String",
5957
"id": "String (identifier)",
60-
"isUserOverrideForAudienceEnabled": "Boolean",
6158
"name": "String",
62-
"prioritizedSourceUrls": ["String"]
59+
"prioritizedSourceUrls": ["String"],
60+
"displayName": "String"
6361
}
6462
```
6563

changelog/Microsoft.People.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
{
2-
"changelog": [
2+
"changelog": [
3+
{
4+
"ChangeList": [
5+
{
6+
"Id": "1184eb27-ecdb-488f-b59c-24a35ecd8688",
7+
"ApiChange": "Property",
8+
"ChangedApiName": "allowedAudiences",
9+
"ChangeType": "Deletion",
10+
"Description": "Removed the **allowedAudiences** property from the [profilePropertySetting](https://learn.microsoft.com/en-us/graph/api/resources/profilePropertySetting?view=graph-rest-beta) resource.",
11+
"Target": "profilePropertySetting"
12+
},
13+
{
14+
"Id": "1184eb27-ecdb-488f-b59c-24a35ecd8688",
15+
"ApiChange": "Property",
16+
"ChangedApiName": "displayName",
17+
"ChangeType": "Addition",
18+
"Description": "Added the **displayName** property to the [profilePropertySetting](https://learn.microsoft.com/en-us/graph/api/resources/profilePropertySetting?view=graph-rest-beta) resource.",
19+
"Target": "profilePropertySetting"
20+
},
21+
{
22+
"Id": "1184eb27-ecdb-488f-b59c-24a35ecd8688",
23+
"ApiChange": "Property",
24+
"ChangedApiName": "isUserOverrideForAudienceEnabled",
25+
"ChangeType": "Deletion",
26+
"Description": "Removed the **isUserOverrideForAudienceEnabled** property from the [profilePropertySetting](https://learn.microsoft.com/en-us/graph/api/resources/profilePropertySetting?view=graph-rest-beta) resource.",
27+
"Target": "profilePropertySetting"
28+
}
29+
],
30+
"Id": "1184eb27-ecdb-488f-b59c-24a35ecd8688",
31+
"Cloud": "Prod",
32+
"Version": "beta",
33+
"CreatedDateTime": "2026-02-20T13:49:03.6634061Z",
34+
"WorkloadArea": "People and workplace intelligence",
35+
"SubArea": "People"
36+
},
337
{
438
"ChangeList": [
539
{

concepts/profilepriority-configure-profilepropertysetting.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ Content-Type: application/json
4848
{
4949
"id": "00000000-0000-0000-0000-000000000001",
5050
"name": null,
51-
"userOverridePrivacy": null,
52-
"allowedAudiences": null,
5351
"prioritizedSourceUrls": [
5452
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='4ce763dd-9214-4eff-af7c-da491cc3782d')"
55-
]
53+
],
54+
"displayName": null
5655
}
5756
]
5857
}
@@ -87,12 +86,11 @@ Content-type: application/json
8786
{
8887
"id": "00000000-0000-0000-0000-000000000001",
8988
"name": null,
90-
"userOverridePrivacy": null,
91-
"allowedAudiences": null,
9289
"prioritizedSourceUrls": [
9390
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr1')",
9491
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='4ce763dd-9214-4eff-af7c-da491cc3782d')"
95-
]
92+
],
93+
"displayName": null
9694
}
9795
```
9896

@@ -126,13 +124,12 @@ Content-type: application/json
126124
{
127125
"id": "00000000-0000-0000-0000-000000000001",
128126
"name": null,
129-
"userOverridePrivacy": null,
130-
"allowedAudiences": null,
131127
"prioritizedSourceUrls": [
132128
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr1')",
133129
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr2')",
134130
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='4ce763dd-9214-4eff-af7c-da491cc3782d')"
135-
]
131+
],
132+
"displayName": null
136133
}
137134
```
138135

0 commit comments

Comments
 (0)