Skip to content

Commit b3f17d6

Browse files
Merge pull request #10106 from microsoftgraph/main639310777539516635sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 2329b08 + f4c8ebb commit b3f17d6

845 files changed

Lines changed: 34411 additions & 16542 deletions

File tree

Some content is hidden

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

‎api-reference/beta/api/accesspackageassignmentrequest-filterbycurrentuser.md‎

Lines changed: 96 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
2323
<!-- { "blockType": "permissions", "name": "accesspackageassignmentrequest_filterbycurrentuser" } -->
2424
[!INCLUDE [permissions-table](../includes/permissions/accesspackageassignmentrequest-filterbycurrentuser-permissions.md)]
2525

26+
For detailed separation of duties (SoD) findings, use the delegated **EntitlementManagement.Read.All** permission or the higher-privileged **EntitlementManagement.ReadWrite.All** permission. The signed-in user must also have the appropriate relationship to the request, applicable licensing, and tenant feature enablement. These conditions don't replace permission consent or normal authorization checks.
27+
2628
## HTTP request
2729

2830
> [!NOTE]
@@ -42,7 +44,21 @@ The following table shows the parameters that can be used with this function.
4244

4345
|Parameter|Type|Description|
4446
|:---|:---|:---|
45-
|on|[accessPackageAssignmentRequestFilterByCurrentUserOptions](../resources/accesspackageassignmentrequestfilterbycurrentuseroptions.md)|The list of current user options that can be used to filter on the access package assignment requests list.|
47+
|`on`|[accessPackageAssignmentRequestFilterByCurrentUserOptions](../resources/accesspackageassignmentrequestfilterbycurrentuseroptions.md)|Required. The relationship between the signed-in user and the assignment requests to retrieve.|
48+
49+
The value of `on` also determines whether **resourceRoleRiskAnalysisResults** can include detailed SoD findings:
50+
51+
|Value|SoD findings|
52+
|:---|:---|
53+
|`approver`|Can include findings for requests the caller is authorized to review.|
54+
|`createdBy`|Can include findings for requests created by the caller.|
55+
|`requestForOthers`|Can include findings for requests the caller made for others.|
56+
|`target`|History only; detailed findings aren't included.|
57+
|`targetOrRequestor`|History only, even when the caller is the recorded requestor or the query filters to a single request ID.|
58+
59+
Other caller relationships, such as manager or owner, don't enable detailed findings. On inclusion-eligible views, an empty collection alone doesn't prove no conflicts exist. On excluded views, don't rely on a particular empty, null, or omitted wire representation to determine whether analysis ran.
60+
61+
Request history can independently record `SodAnalysisCompleted`. Its **detail** string contains a positive conflict count or `"0"` for zero reported conflicts. A missing, empty, or invalid count means unknown, not zero. If the action is absent, no completed analysis is recorded.
4662

4763
## Request headers
4864
|Name|Description|
@@ -60,7 +76,9 @@ If successful, this method returns a `200 OK` response code and an [accessPackag
6076

6177
The following example gets the status of access package assignment requests targeted for the signed-in user.
6278

63-
### Request
79+
### Example 1: Get requests targeted for the signed-in user
80+
81+
#### Request
6482

6583
# [HTTP](#tab/http)
6684
<!-- {
@@ -102,7 +120,7 @@ GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
102120

103121
---
104122

105-
### Response
123+
#### Response
106124

107125
The following example shows the response.
108126
> **Note:** The response object shown here might be shortened for readability.
@@ -143,3 +161,78 @@ Content-Type: application/json
143161
]
144162
}
145163
```
164+
165+
### Example 2: Read SoD findings as an authorized approver
166+
167+
This example shows a shortened collection response when the feature is enabled and the caller is authorized to approve the request. There are no separate create, update, or delete operations for these findings.
168+
169+
#### Request
170+
171+
<!-- { "blockType": "request", "name": "filter_assignmentrequests_sod_approver" } -->
172+
```http
173+
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUser(on='approver')
174+
```
175+
176+
#### Response
177+
178+
<!-- { "blockType": "response", "truncated": true, "@odata.type": "Collection(microsoft.graph.accessPackageAssignmentRequest)" } -->
179+
```http
180+
HTTP/1.1 200 OK
181+
Content-Type: application/json
182+
183+
{
184+
"value": [
185+
{
186+
"id": "11111111-2222-4333-8444-555555555555",
187+
"resourceRoleRiskAnalysisResults": [
188+
{
189+
"riskAnalysisResults": [
190+
{
191+
"externalReferenceUrl": null,
192+
"violations": [
193+
{
194+
"description": "Conflicting purchasing and payment permissions.",
195+
"level": "High"
196+
}
197+
]
198+
}
199+
]
200+
}
201+
]
202+
}
203+
]
204+
}
205+
```
206+
207+
### Example 3: Read history without detailed findings
208+
209+
The `targetOrRequestor` view doesn't include detailed findings, even when the signed-in user is the recorded requestor. This shortened response shows that completed-analysis history remains independent of detail inclusion. The function returns a collection, not a single object.
210+
211+
#### Request
212+
213+
<!-- { "blockType": "request", "name": "filter_assignmentrequests_sod_history" } -->
214+
```http
215+
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUser(on='targetOrRequestor')
216+
```
217+
218+
#### Response
219+
220+
<!-- { "blockType": "response", "truncated": true, "@odata.type": "Collection(microsoft.graph.accessPackageAssignmentRequest)" } -->
221+
```http
222+
HTTP/1.1 200 OK
223+
Content-Type: application/json
224+
225+
{
226+
"value": [
227+
{
228+
"id": "11111111-2222-4333-8444-555555555555",
229+
"history": [
230+
{
231+
"action": "SodAnalysisCompleted",
232+
"detail": "2"
233+
}
234+
]
235+
}
236+
]
237+
}
238+
```

‎api-reference/beta/api/accesspackageassignmentrequest-get.md‎

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
2727

2828
[!INCLUDE [rbac-entitlement-catalog-reader](../includes/rbac-for-apis/rbac-entitlement-management-catalog-reader-apis-read.md)]
2929

30+
For separation of duties (SoD) findings, use the delegated **EntitlementManagement.Read.All** permission or the higher-privileged **EntitlementManagement.ReadWrite.All** permission. Application permission to read the parent request doesn't establish access to detailed SoD findings. In addition to the permissions and applicable licensing, the tenant must have the feature enabled, and the signed-in user's object ID must match the requestor recorded on the request. An administrator or approver role alone doesn't enable **resourceRoleRiskAnalysisResults** on this item read.
31+
3032
## HTTP request
3133

3234
> [!NOTE]
@@ -43,6 +45,8 @@ GET /identityGovernance/entitlementManagement/accessPackageAssignmentRequests/{i
4345

4446
This method supports the `$expand` OData query parameter to expand the relationships, to retrieve the `accessPackage`, `requestor` and `acccessPackageAssignment`. For example, to retrieve the target of the access package assignment, include `$expand=accessPackageAssignment($expand=target)` in the query. For general information, see [OData query parameters](/graph/query-parameters).
4547

48+
Use `$expand=resourceRoleRiskAnalysisResults/resourceRole` to retrieve the evaluated resource role when the caller is eligible to receive SoD findings. Expansion doesn't grant access to otherwise excluded findings.
49+
4650
## Request headers
4751

4852
| Name |Description|
@@ -59,7 +63,9 @@ If successful, this method returns a `200 OK` response code and the requested [a
5963

6064
## Examples
6165

62-
### Request
66+
### Example 1: Get an assignment request
67+
68+
#### Request
6369

6470
The following example shows a request.
6571

@@ -103,7 +109,7 @@ GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
103109

104110
---
105111

106-
### Response
112+
#### Response
107113

108114
The following example shows the response.
109115

@@ -147,6 +153,44 @@ Content-type: application/json
147153
}
148154
```
149155

156+
### Example 2: Get SoD findings as the recorded requestor
157+
158+
This example shows a shortened response when the feature is enabled, analysis has completed, and the signed-in user is the requestor recorded on the request. Findings are read-only. An empty or unavailable collection alone doesn't mean no conflicts exist; request history can record completion and a known or unknown conflict count independently.
159+
160+
#### Request
161+
162+
<!-- { "blockType": "request", "name": "get_assignmentrequest_sod_requestor" } -->
163+
```http
164+
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/assignmentRequests/11111111-2222-4333-8444-555555555555
165+
```
166+
167+
#### Response
168+
169+
<!-- { "blockType": "response", "truncated": true, "@odata.type": "microsoft.graph.accessPackageAssignmentRequest" } -->
170+
```http
171+
HTTP/1.1 200 OK
172+
Content-Type: application/json
173+
174+
{
175+
"id": "11111111-2222-4333-8444-555555555555",
176+
"resourceRoleRiskAnalysisResults": [
177+
{
178+
"riskAnalysisResults": [
179+
{
180+
"externalReferenceUrl": "https://risk.example.com/reports/analysis-123",
181+
"violations": [
182+
{
183+
"description": "Conflicting purchasing and payment permissions.",
184+
"level": "High"
185+
}
186+
]
187+
}
188+
]
189+
}
190+
]
191+
}
192+
```
193+
150194
<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
151195
2019-02-04 14:57:30 UTC -->
152196
<!-- {

‎api-reference/beta/api/adhoccall-getallrecordings.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Namespace: microsoft.graph
1616

1717
Get the [callRecording](../resources/callrecording.md) objects from [ad hoc call](../resources/adhoccall.md) instances that a specific user initiates.
1818

19-
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
19+
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
2020

2121
## Permissions
2222

@@ -32,7 +32,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
3232
}
3333
-->
3434
``` http
35-
GET /users/{usersId}/adhocCalls/getAllRecordings
35+
GET /users/{usersId}/adhocCalls/getAllRecordings(userId={userId},startDateTime={startDateTime},endDateTime={endDateTime})
3636
```
3737

3838
## Function parameters

‎api-reference/beta/api/adhoccall-getalltranscripts.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Namespace: microsoft.graph
1616

1717
Get all [callTranscript](../resources/calltranscript.md) objects from [ad hoc call](../resources/adhoccall.md) instances that a specific user initiates.
1818

19-
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
19+
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
2020

2121
## Permissions
2222

@@ -32,7 +32,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
3232
}
3333
-->
3434
``` http
35-
GET /users/{usersId}/adhocCalls/getAllTranscripts
35+
GET /users/{usersId}/adhocCalls/getAllTranscripts(userId={userId},startDateTime={startDateTime},endDateTime={endDateTime})
3636
```
3737

3838
## Function parameters

‎api-reference/beta/api/agenticsecurityroot-list-playbookdefinitions.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Namespace: microsoft.graph
1414

1515
List the read-only playbook catalog available to the signed-in user. This operation uses the [playbookDefinition](../resources/playbookdefinition.md) resource.
1616

17+
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
18+
1719
## Permissions
1820

1921
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).

‎api-reference/beta/api/agenticsecurityroot-list-sessions.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Namespace: microsoft.graph
1414

1515
List the agentic sessions visible to the signed-in user. This operation uses the [agentic session](../resources/investigationsession.md) resource.
1616

17+
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
18+
1719
## Permissions
1820

1921
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).

‎api-reference/beta/api/agenticsecurityroot-post-sessions.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Namespace: microsoft.graph
1414

1515
Create an agentic session to run an existing playbook against typed inputs. This operation uses the [agentic session](../resources/investigationsession.md) resource.
1616

17+
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
18+
1719
## Permissions
1820

1921
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).

‎api-reference/beta/api/agentidentity-get.md‎

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ GET /servicePrincipals/{id}/microsoft.graph.agentIdentity
3939

4040
This method supports the `$select` and `$expand` [OData query parameters](/graph/query-parameters) to help customize the response.
4141

42+
Use `$select=instanceMode` to read the topology of an agent identity. For blueprint-based creation, the value is `singleInstance` for an identity backed directly by a single-instance blueprint, or `multiInstance` for the standard topology. Agent identities without a stored value return `multiInstance` by default.
43+
4244
## Request headers
4345

4446
| Name | Description |
@@ -55,7 +57,9 @@ If successful, this method returns a `200 OK` response code and an [agentIdentit
5557

5658
## Examples
5759

58-
### Request
60+
### Example 1: Get an agent identity
61+
62+
#### Request
5963

6064
The following example shows a request.
6165
# [HTTP](#tab/http)
@@ -65,7 +69,7 @@ The following example shows a request.
6569
}
6670
-->
6771
``` http
68-
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agentIdentity
72+
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agentIdentity?$select=id,displayName,createdDateTime,createdByAppId,agentIdentityBlueprintId,accountEnabled,disabledByMicrosoftStatus,servicePrincipalType,tags,lifecyclePolicyComplianceState,lifecyclePolicyComplianceStateReason,lifecyclePolicyComplianceStateLastModifiedDateTime,lifecyclePolicyNonComplianceDisablementDateTime
6973
```
7074

7175
# [JavaScript](#tab/javascript)
@@ -74,7 +78,7 @@ GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agen
7478

7579
---
7680

77-
### Response
81+
#### Response
7882

7983
The following example shows the response.
8084
>**Note:** The response object shown here might be shortened for readability.
@@ -91,12 +95,68 @@ Content-Type: application/json
9195
{
9296
"id": "1b7313c4-05d0-4a08-88e3-7b76c003a0a2",
9397
"displayName": "My Agent Identity",
98+
"instanceMode": "multiInstance",
9499
"createdDateTime": "2019-09-17T19:10:35.2742618Z",
95100
"createdByAppId": "00001111-aaaa-2222-bbbb-3333cccc4444",
96101
"agentIdentityBlueprintId": "00001111-aaaa-2222-bbbb-3333cccc4444",
97102
"accountEnabled": true,
98103
"disabledByMicrosoftStatus": null,
104+
"lifecyclePolicyComplianceState": "warning",
105+
"lifecyclePolicyComplianceStateReason": "Approaching policy renewal deadline",
106+
"lifecyclePolicyComplianceStateLastModifiedDateTime": "2026-04-01T10:30:00Z",
107+
"lifecyclePolicyNonComplianceDisablementDateTime": null,
99108
"servicePrincipalType": "ServiceIdentity",
100109
"tags": []
101110
}
102111
```
112+
113+
### Example 2: Read the instance mode of an agent identity
114+
115+
#### Request
116+
117+
<!-- { "blockType": "request", "name": "get_agent_identity_instance_mode" } -->
118+
```http
119+
GET https://graph.microsoft.com/beta/servicePrincipals/59e617e5-e447-4adc-8b88-00af644d7c92/microsoft.graph.agentIdentity?$select=id,displayName,instanceMode
120+
```
121+
122+
#### Response
123+
124+
<!-- { "blockType": "response", "truncated": true, "@odata.type": "microsoft.graph.agentIdentity" } -->
125+
```http
126+
HTTP/1.1 200 OK
127+
Content-Type: application/json
128+
129+
{
130+
"@odata.type": "#microsoft.graph.agentIdentity",
131+
"id": "59e617e5-e447-4adc-8b88-00af644d7c92",
132+
"displayName": "Contoso Single-Instance Agent",
133+
"instanceMode": "singleInstance"
134+
}
135+
```
136+
137+
### Example 3: Read the CIMD properties of an agent identity
138+
139+
#### Request
140+
141+
Use `$select` to retrieve the CIMD properties explicitly.
142+
143+
<!-- { "blockType": "request", "name": "get_cimd_agentidentity" } -->
144+
```http
145+
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agentIdentity?$select=id,clientIdMetadataDocumentUrl,hasClientIdMetadataDocument
146+
```
147+
148+
#### Response
149+
150+
> **Note:** The response object shown here might be shortened for readability.
151+
152+
<!-- { "blockType": "response", "truncated": true, "@odata.type": "microsoft.graph.agentIdentity" } -->
153+
```http
154+
HTTP/1.1 200 OK
155+
Content-Type: application/json
156+
157+
{
158+
"id": "11111111-2222-3333-4444-555555555555",
159+
"clientIdMetadataDocumentUrl": "https://client.contoso.com/oauth/client-metadata.json",
160+
"hasClientIdMetadataDocument": true
161+
}
162+
```

0 commit comments

Comments
 (0)