Skip to content

Commit 911d2b0

Browse files
author
Ruth Waithera (from Dev Box)
committed
Remove enum organizationAllowedAudiences. Update update API
1 parent ce359be commit 911d2b0

3 files changed

Lines changed: 5 additions & 47 deletions

File tree

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

Lines changed: 1 addition & 2 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-
|displayName|String|Name of the property-level setting.|
57-
|id|String|System generated GUID. Inherited from [entity](../resources/entity.md).|
5856
|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

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
@@ -5431,16 +5431,6 @@ Possible values for user account types (group membership), per Windows definitio
54315431
|dynamicRule|
54325432
|unknownFutureValue|
54335433

5434-
### organizationAllowedAudiences values
5435-
5436-
|Member|
5437-
|:---|
5438-
|me|
5439-
|organization|
5440-
|federatedOrganizations|
5441-
|everyone|
5442-
|unknownFutureValue|
5443-
54445434
### educationSpeechType values
54455435

54465436
|Member|

0 commit comments

Comments
 (0)