Skip to content

Commit 7b81a3e

Browse files
authored
Merge pull request #26688 from microsoftgraph/main
Merge to publish.
2 parents 12e94cb + aa24e8c commit 7b81a3e

File tree

98 files changed

+2930
-167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+2930
-167
lines changed

api-reference/beta/api/application-list.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: "sureshja"
55
ms.localizationpriority: high
66
ms.subservice: "entra-applications"
77
doc_type: apiPageType
8-
ms.date: 07/29/2024
8+
ms.date: 05/16/2025
99
---
1010

1111
# List applications
@@ -464,6 +464,52 @@ Content-type: application/json
464464
}
465465
```
466466

467+
### Example 6: Get the applications with identifierUris using the API scheme
468+
469+
#### Request
470+
471+
The following example shows a request. This request requires the **ConsistencyLevel** header set to `eventual` because `$count` is in the request. For more information about the use of **ConsistencyLevel** and `$count`, see [Advanced query capabilities on directory objects](/graph/aad-advanced-queries).
472+
473+
<!-- {
474+
"blockType": "request",
475+
"name": "list_application_filteridentifieruris"
476+
}-->
477+
```msgraph-interactive
478+
GET https://graph.microsoft.com/beta/applications?$filter=identifierUris/any(x:startswith(x,'api://'))&$count=true
479+
ConsistencyLevel: eventual
480+
```
481+
482+
#### Response
483+
484+
The following example shows the response.
485+
> **Note:** The response object shown here might be shortened for readability.
486+
487+
<!-- {
488+
"blockType": "response",
489+
"truncated": true,
490+
"@odata.type": "microsoft.graph.application",
491+
"isCollection": true
492+
} -->
493+
```http
494+
HTTP/1.1 200 OK
495+
Content-type: application/json
496+
497+
{
498+
"@odata.context": "https://graph.microsoft.com/beta/$metadata#applications",
499+
"@odata.count": 15067,
500+
"@odata.nextLink": "https://graph.microsoft.com/beta/applications?$filter=identifierUris%2fany(x%3astartswith(x%2c%27api%3a%2f%2f%27))&$count=true&$skiptoken=m~AQAoOzAxOTk3MTE1OTYyMDQ4MGE4YzE0ZjlkNWM0Y2ViMjE5OzswOzA7Ow",
501+
"@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET applications?$select=api,appCategory",
502+
"value": [
503+
{
504+
"id": "000101ef-c7d0-47a0-83bd-d234347da0f3",
505+
"identifierUris": [
506+
"api://000101ef-c7d0-47a0-83bd-d234347da0f3"
507+
]
508+
}
509+
]
510+
}
511+
```
512+
467513
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
468514
2015-10-25 14:57:30 UTC -->
469515
<!--

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

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,14 @@ The following example shows a request to update a points outcome.
207207
}-->
208208

209209
```http
210-
PATCH https://graph.microsoft.com/beta/education/classes/{id}/assignments/{id}/submissions/{id}/outcomes/{id}
210+
PATCH https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/0965958c-84f2-4ca4-b854-05cce3440aa4/submissions/fbf5605c-eba9-ccfb-d66c-afbd161dac41/outcomes/ea1351f6-ba33-4940-b2cb-6a7254af2dc8
211211
Content-type: application/json
212212
213213
{
214214
"@odata.type":"#microsoft.graph.educationPointsOutcome",
215215
"points":{
216216
"@odata.type":"#microsoft.graph.educationAssignmentPointsGrade",
217-
"points":85.0
217+
"points":85.5
218218
}
219219
}
220220
```
@@ -270,19 +270,28 @@ HTTP/1.1 200 OK
270270
Content-type: application/json
271271
272272
{
273-
"@odata.type":"#microsoft.graph.educationPointsOutcome",
274-
"id":"ea1351f6-ba33-4940-b2cb-6a7254af2dc8",
275-
"lastModifiedBy":{
276-
"user":{
277-
"id":"9391878d-903c-406c-bb1c-0f17d00fd878"
273+
"@odata.context": "https://graph.microsoft.com/beta/$metadata#education/classes('37d99af7-cfc5-4e3b-8566-f7d40e4a2070')/assignments('0965958c-84f2-4ca4-b854-05cce3440aa4')/submissions('fbf5605c-eba9-ccfb-d66c-afbd161dac41')/outcomes/$entity",
274+
"@odata.type": "#microsoft.graph.educationPointsOutcome",
275+
"lastModifiedDateTime": "2025-05-15T18:05:13.1720895Z",
276+
"id": "ea1351f6-ba33-4940-b2cb-6a7254af2dc8",
277+
"lastModifiedBy": {
278+
"application": null,
279+
"device": null,
280+
"user": {
281+
"id": "fffafb29-e8bc-4de3-8106-be76ed2ad499",
282+
"displayName": null
278283
}
279284
},
280-
"points":{
281-
"gradedDateTime":"2019-07-15T22:35:48.2429387Z",
282-
"points":85.0,
283-
"gradedBy":{
284-
"user":{
285-
"id":"9391878d-903c-406c-bb1c-0f17d00fd878"
285+
"points": {
286+
"gradedDateTime": "2025-05-15T18:05:13.1720895Z",
287+
"points": 85.5,
288+
"grade": "B",
289+
"gradedBy": {
290+
"application": null,
291+
"device": null,
292+
"user": {
293+
"id": "fffafb29-e8bc-4de3-8106-be76ed2ad499",
294+
"displayName": null
286295
}
287296
}
288297
}
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
---
2+
title: "List profilePropertySettings"
3+
description: "Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization."
4+
author: "rwaithera"
5+
ms.date: 05/02/2025
6+
ms.localizationpriority: medium
7+
ms.subservice: "people"
8+
doc_type: apiPageType
9+
---
10+
11+
# List profilePropertySettings
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Get a collection of [profilePropertySetting](../resources/profilepropertysetting.md) objects that define the configuration for user profile properties in an organization. The **id** property identifies each resource object uniquely.
18+
19+
## Permissions
20+
21+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
22+
23+
<!-- {
24+
"blockType": "permissions",
25+
"name": "peopleadminsettings-list-profilepropertysettings-permissions"
26+
}
27+
-->
28+
[!INCLUDE [permissions-table](../includes/permissions/peopleadminsettings-list-profilepropertysettings-permissions.md)]
29+
30+
## HTTP request
31+
32+
<!-- {
33+
"blockType": "ignored"
34+
}
35+
-->
36+
``` http
37+
GET /admin/people/profilePropertySettings
38+
```
39+
40+
## Optional query parameters
41+
42+
This method supports the `$select`, `$filter`, and `$orderBy` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
43+
44+
## Request headers
45+
46+
|Name|Description|
47+
|:---|:---|
48+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
49+
50+
## Request body
51+
52+
Don't supply a request body for this method.
53+
54+
## Response
55+
56+
If successful, this method returns a `200 OK` response code and a collection of [profilePropertySetting](../resources/profilepropertysetting.md) objects in the response body.
57+
58+
## Examples
59+
60+
### Request
61+
62+
The following example shows a request.
63+
<!-- {
64+
"blockType": "request",
65+
"name": "list_profilepropertysetting"
66+
}
67+
-->
68+
``` http
69+
GET https://graph.microsoft.com/beta/admin/people/profilePropertySettings
70+
```
71+
72+
### Response
73+
74+
The following example shows the response.
75+
>**Note:** The response object shown here might be shortened for readability.
76+
<!-- {
77+
"blockType": "response",
78+
"truncated": true,
79+
"@odata.type": "Collection(microsoft.graph.profilePropertySetting)"
80+
}
81+
-->
82+
``` http
83+
HTTP/1.1 200 OK
84+
Content-Type: application/json
85+
86+
{
87+
"value": [
88+
{
89+
"@odata.type": "#microsoft.graph.profilePropertySetting",
90+
"id": "00000000-0000-0000-0000-000000000001",
91+
"name": null,
92+
"userOverridePrivacy": null,
93+
"allowedAudiences": null,
94+
"prioritizedSourceUrls": [
95+
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='4ce763dd-9214-4eff-af7c-da491cc3782d')"
96+
]
97+
}
98+
]
99+
}
100+
```
101+
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
---
2+
title: "Create profilePropertySetting"
3+
description: "Create a new profilePropertySetting object."
4+
author: "rwaithera"
5+
ms.date: 05/02/2025
6+
ms.localizationpriority: medium
7+
ms.subservice: "people"
8+
doc_type: apiPageType
9+
---
10+
11+
# Create profilePropertySetting
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Create a new [profilePropertySetting](../resources/profilepropertysetting.md) object.
18+
19+
## Permissions
20+
21+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
22+
23+
<!-- {
24+
"blockType": "permissions",
25+
"name": "peopleadminsettings-post-profilepropertysettings-permissions"
26+
}
27+
-->
28+
[!INCLUDE [permissions-table](../includes/permissions/peopleadminsettings-post-profilepropertysettings-permissions.md)]
29+
30+
>**Note:** To use delegated permissions for this operation, the signed-in user must have either the [Global Administrator](/entra/identity/role-based-access-control/permissions-reference#global-administrator) role or the [People Administrator](/entra/identity/role-based-access-control/permissions-reference#people-administrator) role.
31+
32+
## HTTP request
33+
34+
<!-- {
35+
"blockType": "ignored"
36+
}
37+
-->
38+
``` http
39+
POST /admin/people/profilePropertySettings
40+
```
41+
42+
## Request headers
43+
44+
|Name|Description|
45+
|:---|:---|
46+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
47+
|Content-Type|application/json. Required.|
48+
49+
50+
## Request body
51+
52+
In the request body, supply a JSON representation of the [profilePropertySetting](../resources/profilepropertysetting.md) object.
53+
54+
You can specify the following properties when you create a **profilePropertySetting**.
55+
56+
|Property|Type|Description|
57+
|:---|:---|:---|
58+
|allowedAudiences|organizationAllowedAudiences|A privacy setting that reflects the allowed audience for the configured property. The possible values are: `me`, `organization`, `federatedOrganizations`, `everyone`, `unknownFutureValue`.|
59+
|isUserOverrideForAudienceEnabled|Boolean|Defines whether a user is allowed to override the tenant admin privacy setting.|
60+
|name|String|Name of the property-level setting.|
61+
|prioritizedSourceUrls|String collection|A collection of prioritized profile source URLs ordered by data precedence within an organization.|
62+
63+
## Response
64+
65+
If successful, this method returns a `201 Created` response code and a [profilePropertySetting](../resources/profilepropertysetting.md) object in the response body.
66+
67+
## Examples
68+
69+
### Request
70+
71+
The following example shows a request.
72+
<!-- {
73+
"blockType": "request",
74+
"name": "create_profilepropertysetting_from_"
75+
}
76+
-->
77+
``` http
78+
POST https://graph.microsoft.com/beta/admin/people/profilePropertySettings
79+
Content-Type: application/json
80+
81+
{
82+
"@odata.type": "#microsoft.graph.profilePropertySetting",
83+
"prioritizedSourceUrls": [
84+
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr1')"
85+
]
86+
}
87+
```
88+
89+
90+
### Response
91+
92+
The following example shows the response.
93+
>**Note:** The response object shown here might be shortened for readability.
94+
<!-- {
95+
"blockType": "response",
96+
"truncated": true,
97+
"@odata.type": "microsoft.graph.profilePropertySetting"
98+
}
99+
-->
100+
``` http
101+
HTTP/1.1 201 Created
102+
Content-Type: application/json
103+
104+
{
105+
"@odata.type": "#microsoft.graph.profilePropertySetting",
106+
"id": "00000000-0000-0000-0000-000000000001",
107+
"name": null,
108+
"userOverridePrivacy": null,
109+
"allowedAudiences": null,
110+
"prioritizedSourceUrls": [
111+
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr1')",
112+
"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='4ce763dd-9214-4eff-af7c-da491cc3782d')"
113+
]
114+
}
115+
```
116+

0 commit comments

Comments
 (0)