Updates from: 06/10/2021 03:14:40
Service Microsoft Docs article Related commit history on GitHub Change details
v1.0 Accesspackage Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-delete.md
Namespace: microsoft.graph
Delete an [accessPackage](../resources/accesspackage.md) object.
+You cannot delete an access package if it has any **accessPackageAssignment**. To delete the access package, first [query if there are any assignments](accesspackageassignment-list.md) with a filter to indicate the specific access package, such as: `$filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'`. For more information on how to remove assignments that are still in the delivered state, see [Remove an assignment](accesspackageassignmentrequest-post.md#example-4-remove-an-assignment).
++ ## Permissions One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
v1.0 Accesspackageassignmentrequest Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackageassignmentrequest-post.md
Content-type: application/json
} ```
+### Example 4: Remove an assignment
+
+To remove assignments, create a new accessPackageAssignmentRequest object with the following settings:
+++ The value of the **requestType** property set to `AdminRemove`.++ In the accessPackageAssignment property, include a list with the identifier of the accessPackageAssignment objects to delete.+
+#### Request
+
+The following example shows how to remove an assignment.
++
+<!-- {
+ "blockType": "request",
+ "name": "create_accesspackageassignmentrequest_from_accesspackageassignmentrequests"
+}-->
+
+```http
+POST https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentRequests
+Content-type: application/json
+
+{
+ "requestType": "AdminRemove",
+ "accessPackageAssignment":{
+ "id": "a6bb6942-3ae1-4259-9908-0133aaee9377"
+ }
+}
+```
+
+#### Response
+
+The following is an example of the response.
+
+> **Note:** The response object shown here might be shortened for readability. All the properties will be returned from an actual call.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.accessPackageAssignmentRequest"
+} -->
+
+```http
+HTTP/1.1 201 Created
+Content-type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#accessPackageAssignmentRequests/$entity",
+
+ "id": "78eaee8c-e6cf-48c9-8f99-aae44c35e379",
+ "requestType": "AdminRemove",
+ "requestState": "Submitted",
+ "requestStatus": "Accepted"
+}
+```
+ <!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98 2019-02-04 14:57:30 UTC --> <!-- {
v1.0 Accessreviewscheduledefinition List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewscheduledefinition-list.md
Content-type: application/json
#### Request The following example shows a request to retrieve all the access review series scoped to all Microsoft 365 groups in a tenant. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_accessReviewScheduleDefinition_allgroups"
The following example shows a request to retrieve all the access review series s
```msgraph-interactive GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitions?$filter=contains(scope/microsoft.graph.accessReviewQueryScope/query, './members') ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationmethodspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationmethodspolicy-get.md
If successful, this method returns a `200 OK` response code and an [authenticati
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_authenticationmethodspolicy"
If successful, this method returns a `200 OK` response code and an [authenticati
``` http GET https://graph.microsoft.com/beta/policies/authenticationMethodsPolicy ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Authenticationmethodspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationmethodspolicy-update.md
If successful, this method returns a `200 OK` response code.
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_authenticationmethodspolicy"
Content-length: 293
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Channel Provisionemail https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-provisionemail.md
If the channel's email is provisioned successfully, this method returns a `200 O
## Example ### Request The following is an example of a request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["893075dd-2487-4122-925f-022c42e20265", "19:561fbdbbfca848a484f0a6f00ce9dbbd@thread.tacv2"],
The following is an example of a request.
```http POST https://graph.microsoft.com/beta/teams/893075dd-2487-4122-925f-022c42e20265/channels/19:561fbdbbfca848a484f0a6f00ce9dbbd@thread.tacv2/provisionEmail ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of a response.
v1.0 Channel Removeemail https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-removeemail.md
If successful, this action returns a `204 No Content` response code.
## Example ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["893075dd-2487-4122-925f-022c42e20265", "19:561fbdbbfca848a484f0a6f00ce9dbbd@thread.tacv2"],
If successful, this action returns a `204 No Content` response code.
```http POST https://graph.microsoft.com/beta/teams/893075dd-2487-4122-925f-022c42e20265/channels/19:561fbdbbfca848a484f0a6f00ce9dbbd@thread.tacv2/removeEmail ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response <!-- {
v1.0 Educationassignment Setupresourcesfolder https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignment-setupresourcesfolder.md
The following example shows how to call this API.
### Request The following is an example of a request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "educationassignment_setupresourcesfolder"
Content-type: application/json
{ } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of a response.
v1.0 Educationsubmission Setupresourcesfolder https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsubmission-setupResourcesFolder.md
The following example shows how to call this API.
### Request The following is an example of a request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "educationsubmission_setupresourcesfolder"
Content-type: application/json
{ } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Message Createforward https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-createforward.md
Content-length: 272
### Example 2: Create a draft message in MIME format to forward an existing message ##### Request+ <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_createForward_mime_beta" }-->
MU1CMjAwMDAwMDAwRDc2RDlDMjgyMjAwMDA5QUQ5QTlASFdIUFIxMzAxTUIwMDAwLmNvZGVudW0u
cHJvZC5vdXRsb29rLmNvbT4KQ29udGVudC1MYW5ndWFnZTogZW4tVVMKWC1NUy1IYXMtQXR0YWNo OgpYLU1TLVRORUYtQ29ycmVsYXRvcjoKWC1NUy1FeGNoYW5n ```+ ##### Response Here is an example of the response.
v1.0 Message Createreply https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-createreply.md
Content-type: application/json
### Example 2: Create a draft message in MIME format to reply to an existing message ##### Request+ <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_createReply_mime_v1" }-->
v1.0 Message Createreplyall https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-createreplyall.md
Content-type: application/json
``` ### Example 2: Create a draft using MIME format to reply-all to an existing message+ <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_createreplyall_mime_beta" }-->
Content-Type: text/plain
Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9wa2NzNy1taW1lOw0KCW5hbWU9c21pbWUucDdtOw0KCXNtaW1lLXR5cGU9ZW52ZWxvcGVkLWRhdGENCk1pbWUtVmVyc2lvbjogMS4wIChNYWMgT1MgWCBNYWlsIDEzLjAgXCgzNjAxLjAuMTBcKSkNClN1YmplY3Q6IFJlOiBUZXN0aW5nIFMvTUlNRQ0KQ29udGVudC1EaXNwb3Np... ```+ ##### Response Here is an example of the response.
v1.0 Message Forward https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-forward.md
HTTP/1.1 202 Accepted
### Example 2: Forward a message using MIME format <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_forward_mime_beta" }-->
Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9wa2NzNy1taW1lOw0KCW5hbWU9c21pbWUucDdtOw0KCXNt
``` + ##### Response Here is an example of the response. <!-- {
v1.0 Message Reply https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-reply.md
HTTP/1.1 202 Accepted
##### Request <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_reply_mime_beta" }-->
v1.0 Message Replyall https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-replyall.md
HTTP/1.1 202 Accepted
##### Request <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_replyAll_mime_beta" }-->
v1.0 Printusagebyprinter Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printusagebyprinter-get.md
The following is an example of the request.
"name": "get_printUsageByPrinter", "sampleKeys": ["016b5565-3bbf-4067-b9ff-4d68167eb1a6"] }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/print/reports/dailyPrintUsageByPrinter/016b5565-3bbf-4067-b9ff-4d68167eb1a6 ``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Objective-C](#tab/objc) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Printusagebyuser Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printusagebyuser-get.md
The following is an example of the request.
"name": "get_printUsageByUser", "sampleKeys": ["016b5565-3bbf-4067-b9ff-4d68167eb1a6"] }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/print/reports/dailyPrintUsageByUser/016b5565-3bbf-4067-b9ff-4d68167eb1a6 ``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Objective-C](#tab/objc) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Rbacapplication List Roledefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/rbacapplication-list-roledefinitions.md
The following is an example of the request.
GET https://graph.microsoft.com/beta/roleManagement/directory/roleDefinitions ``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Objective-C](#tab/objc) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_roledefinitions_cloudpc"
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleDefinitions ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Rbacapplicationmultiple List Roleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/rbacapplicationmultiple-list-roleassignments.md
Content-type: application/json
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_cloudpcunifiedroleassignmentmultiple_1" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
Content-type: application/json
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_cloudpcunifiedroleassignmentmultiple_2" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments?$filter=roleDefinitionId eq 'b5c08161-a7af-481c-ace2-a20a69a48fb1' ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Rbacapplicationmultiple Post Roleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/rbacapplicationmultiple-post-roleassignments.md
Content-type: application/json
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_unifiedroleassignmentmultiple_from_rbacapplication_cloudpc"
Content-type: application/json
"principalIds": ["f8ca5a85-489a-49a0-b555-0a6d81e56f0d", "c1518aa9-4da5-4c84-a902-a31404023890"] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Reports Getgrouparchivedprintjobs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reports-getgrouparchivedprintjobs.md
If successful, this method returns a `200 OK` response code and a collection of
The following example shows how to call this API. ##### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "reports-getgrouparchivedprintjobs", "sampleKeys": ["016b5565-3bbf-4067-b9ff-4d68167eb1a6"] }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/print/reports/getGroupArchivedPrintJobs(groupId='016b5565-3bbf-4067-b9ff-4d68167eb1a6',startDateTime=2021-05-24,endDateTime=2021-05-25) ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ##### Response The following is an example of the response.
v1.0 Reports Getprinterarchivedprintjobs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reports-getprinterarchivedprintjobs.md
If successful, this method returns a `200 OK` response code and a collection of
The following example shows how to call this API. ##### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "reports-getprinterarchivedprintjobs", "sampleKeys": ["016b5565-3bbf-4067-b9ff-4d68167eb1a6"] }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/print/reports/getPrinterArchivedPrintJobs(printerId='016b5565-3bbf-4067-b9ff-4d68167eb1a6',startDateTime=2021-05-24,endDateTime=2021-05-25) ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ##### Response The following is an example of the response.
v1.0 Reports Getuserarchivedprintjobs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reports-getuserarchivedprintjobs.md
If successful, this method returns a `200 OK` response code and a collection of
The following example shows how to call this API. ##### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "reports-getuserarchivedprintjobs", "sampleKeys": ["016b5565-3bbf-4067-b9ff-4d68167eb1a6"] }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/print/reports/getUserArchivedPrintJobs(userId='016b5565-3bbf-4067-b9ff-4d68167eb1a6',startDateTime=2021-05-24,endDateTime=2021-05-25) ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ##### Response The following is an example of the response.
v1.0 Serviceprincipal Delete Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-delete-approleassignedto.md
If successful, this method returns `204 No Content` response code. It does not r
Here is an example of the request to delete an app role assignment from the resource service principal. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "serviceprincipal_delete_approleassignedto"
Here is an example of the request to delete an app role assignment from the reso
```http DELETE https://graph.microsoft.com/beta/servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{principal-id} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ In this example, `{resource-SP-id}` would be the id of the resource service principal, and `{principalId}` would be the id of the assigned user, group, or client service principal.
v1.0 Serviceprincipal Delete Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-delete-approleassignments.md
If successful, this method returns `204 No Content` response code. It does not r
Here is an example of the request to delete an app role assignment. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "serviceprincipal_delete_approleassignment"
Here is an example of the request to delete an app role assignment.
```http DELETE https://graph.microsoft.com/beta/servicePrincipals/{servicePrincipal-id}/appRoleAssignments/{appRoleAssignment-id} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Team Put Schedule https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-put-schedule.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + #### Response
The following is an example of the request.
<!-- { "blockType": "request",
- "name": "team-put-schedule"
+ "name": "team-put-schedule-2"
}--> ```http PUT https://graph.microsoft.com/beta/teams/871dbd5c-3a6a-4392-bfe1-042452793a50/schedule
v1.0 Timecard Clockin https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-clockin.md
Content-type: application/json
} } ```
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+++ ### Response
v1.0 Timecard Clockout https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-clockout.md
If successful, this method returns a `204 No Content` response code.
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "timecard-clockout"
Content-type: application/json
} } ```
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+++ ### Response
v1.0 Timecard Confirm https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-confirm.md
If successful, this method returns a `204 No Content` response code.
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "timecard-confirm"
The following is an example of the request.
```http POST https://graph.microsoft.com/beta/teams/fd15cad8-80f6-484f-9666-3caf695fbf32/schedule/timeCards/TCK_cc09588d-d9d2-4fa0-85dc-2aa5ef983972/confirm ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Timecard Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-delete.md
If successful, this method returns a `204 No Content` response code.
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "timecard-delete"
The following is an example of the request.
```http DELETE https://graph.microsoft.com/beta/teams/871dbd5c-3a6a-4392-bfe1-042452793a50/schedule/timecards/3895809b-a618-4c0d-86a0-d42b25b7d74f ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Timecard Endbreak https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-endbreak.md
If successful, this method returns a `204 No Content` response code.
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "timecard-endbreak"
POST https://graph.microsoft.com/beta/teams/fd15cad8-80f6-484f-9666-3caf695fbf32
} } ```
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+++ ### Response
v1.0 Timecard Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-get.md
The following is an example of the request.
"name": "timecard-get" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/teams/fd15cad8-80f6-484f-9666-3caf695fbf32/schedule/timeCards/TCK_cc09588d-d9d2-4fa0-85dc-2aa5ef983972 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Timecard List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-list.md
The following is an example of the request.
"name": "timecard-list" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/teams/fd15cad8-80f6-484f-9666-3caf695fbf32/schedule/timeCards?$top=2&$filter=state eq 'clockedOut' ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Timecard Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-post.md
Content-type: application/json
] } ```
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+++ ### Response
v1.0 Timecard Replace https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-replace.md
If successful, this method returns a `204 No Content` response code.
### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "timecard_replace"
Content-type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Timecard Startbreak https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-startbreak.md
If successful, this method returns a `204 No Content` response code.
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "timecard-startBreak"
Content-type: application/json
} } ```
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+++ ### Response
v1.0 Unifiedroleassignmentmultiple Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentmultiple-delete.md
HTTP/1.1 204 No Content
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_unifiedroleassignmentMultiple_cloudpc"
HTTP/1.1 204 No Content
```http DELETE https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments/id ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Unifiedroleassignmentmultiple Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentmultiple-get.md
Content-type: application/json
### Example 4: Get a roleAssignmentMultiple in a cloud PC provider #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_unifiedroleassignmentmultiple_1" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments/dbe9d288-fd87-41f4-b33d-b498ed207096 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response > **Note:** The response object shown here might be shortened for readability. All the properties will be returned from an actual call.
Content-type: application/json
The following is an example of the request with the `$expand` query parameter. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_unifiedroleassignment_3" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments/dbe9d288-fd87-41f4-b33d-b498ed207096?$expand=roleDefinition ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response > **Note:** The response object shown here might be shortened for readability. All the properties will be returned from an actual call.
v1.0 Unifiedroleassignmentmultiple Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentmultiple-update.md
HTTP/1.1 204 OK
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_unifiedroleassignmentmultiple_from_rbacapplication_cloudpc"
Content-type: application/json
"description": "A new roleAssignment" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Unifiedroledefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroledefinition-get.md
Content-type: application/json
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_built-in_cloudpc_role_unifiedroledefinition" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleDefinitions/d40368cb-fbf4-4965-bbc1-f17b3a78e510 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 User Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-messages.md
Content-type: application/json
#### Request <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_create_draft_mime_beta" }-->
cHJvZC5vdXRsb29rLmNvbT4KQ29udGVudC1MYW5ndWFnZTogZW4tVVMKWC1NUy1IYXMtQXR0YWNo
OgpYLU1TLVRORUYtQ29ycmVsYXRv ``` + #### Response Here is an example of the response.
v1.0 User Sendmail https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-sendmail.md
HTTP/1.1 202 Accepted
#### Request <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_send_mime_beta" }-->
MU1CMjAwMDAwMDAwRDc2RDlDMjgyMjAwMDA5QUQ5QTlASFdIUFIxMzAxTUIwMDAwLmNvZGVudW0u
cHJvZC5vdXRsb29rLmNvbT4KQ29udGVudC1MYW5ndWFnZTogZW4tVVMKWC1NUy1IYXMtQXR0YWNo OgpYLU1TLVRORUYtQ29ycmVsYXRvcjoKWC1NUy1Fe ```+ #### Response Here is an example of the response.
v1.0 Windowsupdates Deployment Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-deployment-update.md
Content-Type: application/json
} ``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Objective-C](#tab/objc) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
In this example, the `settings` property of the deployment is updated to add a monitoring rule. #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_deployment_2",
Content-Type: application/json
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Worksheetprotection Unprotect https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/worksheetprotection-unprotect.md
If successful, this method returns `200 OK` response code. It does not return an
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "workbookworksheetprotection_unprotect"
The following is an example of the request.
```http POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/protection/unprotect ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Cloudpconpremisesconnection https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/cloudpconpremisesconnection.md
Represents a defined collection of Azure resource information that can be used t
|running|Health checks are running.| |passed|Health checks passed.| |failed|Health checks failed.|
+|warning|Health checks passed with warning.|
|unknownFutureValue|Unknown future status (reserved, not used right now).| ## Relationships
v1.0 Cloudpconpremisesconnectionhealthcheck https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/cloudpconpremisesconnectionhealthcheck.md
The result of a cloud PC on-premises connection health check.
|adJoinCheckOrganizationalUnitIncorrectFormat|The active domain join check failed beccause the format of the specified organizational unit is incorrect. Example format: ΓÇ£OU=OU1,OU=OU2,OU=OU3,DC=DC1ΓÇ¥.| |adJoinCheckAccessDenied|The active domain join check failed because access is denied when non-administrator users who have been delegated control try to join computer objects to a domain controller. Please assign the correct permission to the customer to join computer object to the domain. Permissions needed: Create computer objects, Delete computer objects.| |adJoinCheckUnknownError|The active domain join check failed due to an unknown error. Please contact customer support.|
-|endpointConnectivityCheckUrlNotWhitelisted|The endpoint connectivity check failed because the URLs are not on the allowlist in the network firewall settings. Please add the URLs to the allowlist for the network firewall settings. See [required URL list](/azure/virtual-desktop/safe-url-list) for URL information.|
+|endpointConnectivityCheckCloudPcUrlNotAllowListed|The endpoint connectivity check failed because the CPC provision script storage URL isnΓÇÖt on the allow list in the network firewall settings. Please add URLs to the list of allowed network firewall settings. The URLs can be found in additional information.|
+|endpointConnectivityCheckWVDUrlNotAllowListed|The endpoint connectivity check failed because the WVD URL isnΓÇÖt on the allow list in the network firewall settings. Please add URLs to the list of allowed network firewall settings.|
+|endpointConnectivityCheckIntuneUrlNotAllowListed|The endpoint connectivity check failed because the Intune URL isnΓÇÖt on the allow list in the network firewall settings. Please add URLs to the list of allowed network firewall settings.|
|endpointConnectivityCheckUnknownError|The endpoint connectivity check failed due to an unknown error. Please contact customer support.| |aadConnectivityCheckUnknownError|The Azure Active Directory connectivity check failed due to an unknown error. Please contact customer support.| |resourceAvailabilityCheckNoSubnetIP|The resource availability check failed because there were no available IP addresses in the subnet. Please free up some or change to another subnet and retry.|
v1.0 Persondatasource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/persondatasource.md
Here is a JSON representation of the resource
{ "type": "string" }- ``` ## Properties | Property | Type |Description|
v1.0 Workbook https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/workbook.md
doc_type: resourcePageType
Namespace: microsoft.graph + Contains related workbook objects such as worksheets, tables, ranges, and so on. ## Methods
None.
## Relationships | Relationship | Type |Description| |:|:--|:-|
-|names|[workbookNamedItem](workbooknameditem.md) collection |Represents a collection of workbook scoped named items (named ranges and constants). Read-only.|
+|names|[workbookNamedItem](workbooknameditem.md) collection |Represents a collection of workbooks scoped named items (named ranges and constants). Read-only.|
|tables|[workbookTable](workbooktable.md) collection |Represents a collection of tables associated with the workbook. Read-only.| |worksheets|[workbookWorksheet](workbookworksheet.md) collection |Represents a collection of worksheets associated with the workbook. Read-only.| |workbbookApplication|[workbookApplication](workbookapplication.md) |Represents the Excel workbookApplication that manages the workbook.|
authorization: Bearer {access-token}
workbook-session-id: {session-id} {
-"values" : [
- { "address": "Sheet2!A1:A5" },
- { "address": "Sheet2!B1:B5" },
- ]
+ "values":[
+ {
+ "address":"Sheet2!A1:A5"
+ },
+ {
+ "address":"Sheet2!B1:B5"
+ }
+ ]
} ```
v1.0 B2xidentityuserflow Put Apiconnectorconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/b2xidentityuserflow-put-apiconnectorconfiguration.md
HTTP/1.1 204 No Content
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "put_b2xuserflows-apiconnectorconfiguration_disable-postAttributeCollection"
Content-Type: application/json
{ } ```
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Message Createreply https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-createreply.md
Content-length: 248
### Example 2: Create a draft message in MIME format to reply to an existing message ##### Request+ <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_createReply_mime_v1" }-->
v1.0 Message Createreplyall https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-createreplyall.md
Content-length: 248
``` ### Example 2: Create a message draft in MIME format to reply-all to an existing message ##### Request+ <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_createreplyAll_mime_v1" }-->
Content-type: text/plain
Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9wa2NzNy1taW1lOw0KCW5hbWU9c21pbWUucDdtOw0KCXNtaW1lLXR5cGU9ZW52ZWxvcGVkLWRhdGENCk1pbWUtVmVyc2lvbjogMS4wIChNYWMgT1MgWCBNYWlsIDEzLjAgXCgzNjAxLjAuMTBcKSkNClN1YmplY3Q6IFJlOiBUZXN0aW5nIFMvTUlNRQ0KQ29udGVudC1EaXNwb3Np ```+ ##### Response Here is an example of the response. <!-- {
v1.0 Message Forward https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-forward.md
HTTP/1.1 200 OK
### Example 2: Forward a message using MIME content ##### Request+ <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_forward_mime_v1" }-->
Content-type: text/plain
Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9wa2NzNy1taW1lOw0KCW5hbWU9c21pbWUucDdtOw0KCXNtaW1lLXR5cGU9ZW52ZWxvcGVkLWRhdGENCk1pbWUtVmVyc2lvbjogMS4wIChNYWMgT1MgWCBNYWlsIDEzLjAgXCgzNjAxLjAuMTBcKSkNClN1YmplY3Q6IFJlOiBUZXN0aW5nIFMvTUlNRQ0KQ29udGVudC1EaXNwb3Np ```+ ##### Response Here is an example of the response. <!-- {
v1.0 Message Reply https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-reply.md
HTTP/1.1 202 Accepted
### Exaxmple 2: Reply in MIME format to an existing message ##### Request+ <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_reply_mime_v1" }-->
Content-type: text/plain
Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9wa2NzNy1taW1lOw0KCW5hbWU9c21pbWUucDdtOw0KCXNtaW1lLXR5cGU9ZW52ZWxvcGVkLWRhdGENCk1pbWUtVmVyc2lvbjogMS4wIChNYWMgT1MgWCBNYWlsIDEzLjAgXCgzNjAxLjAuMTBcKSkNClN1YmplY3Q6IFJlOiBUZXN0aW5nIFMvTUlNRQ0KQ29udGVudC1EaXNwb3Np ```+ ##### Response Here is an example of the response. <!-- {
v1.0 Message Replyall https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-replyall.md
HTTP/1.1 200 OK
``` ### Example 2: Reply-all in MIME format to a message ##### Request+ <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_replyAll_mime_v1" }-->
Content-type: text/plain
Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9wa2NzNy1taW1lOw0KCW5hbWU9c21pbWUucDdtOw0KCXNtaW1lLXR5cGU9ZW52ZWxvcGVkLWRhdGENCk1pbWUtVmVyc2lvbjogMS4wIChNYWMgT1MgWCBNYWlsIDEzLjAgXCgzNjAxLjAuMTBcKSkNClN1YmplY3Q6IFJlOiBUZXN0aW5nIFMvTUlNRQ0KQ29udGVudC1EaXNwb3Np ```+ ##### Response Here is an example of the response. <!-- {
v1.0 Serviceprincipal Delete Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-delete-approleassignedto.md
If successful, this method returns `204 No Content` response code. It does not r
Here is an example of the request to delete an app role assignment from the resource service principal. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "serviceprincipal_delete_approleassignedto"
Here is an example of the request to delete an app role assignment from the reso
```http DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{principalId} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ In this example, `{resource-SP-id}` would be the id of the resource service principal, and `{principalId}` would be the id of the assigned user, group, or client service principal.
v1.0 Serviceprincipal Delete Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-delete-approleassignments.md
If successful, this method returns `204 No Content` response code. It does not r
Here is an example of the request to delete an app role assignment. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "serviceprincipal_delete_approleassignment"
Here is an example of the request to delete an app role assignment.
```http DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{servicePrincipal-id}/appRoleAssignments/{appRoleAssignment-id} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 User Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-messages.md
Content-type: application/json
### Example 3: Create a new message draft using MIME format #### Request + <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_create_draft_mime_v1" }-->
Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9wa2NzNy1taW1lOw0KCW5hbWU9c21pbWUucDdtOw0KCXNt
``` + #### Response Here is an example of the response. <!-- {
v1.0 User Sendmail https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-sendmail.md
HTTP/1.1 202 Accepted
#### Request <!-- {
- "blockType": "request",
+ "blockType": "ignored",
"name": "message_send_mime_beta" }-->
cHJvZC5vdXRsb29rLmNvbT4KQ29udGVudC1MYW5ndWFnZTogZW4tVVMKWC1NUy1IYXMtQXR0YWNo
OgpYLU1TLVRORUYtQ29ycmVsYXRvcjoKWC1NUy1Fe ```+ #### Response Here is an example of the response.
v1.0 Worksheetprotection Unprotect https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/worksheetprotection-unprotect.md
If successful, this method returns `200 OK` response code. It does not return an
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "worksheetprotection_unprotect"
The following is an example of the request.
```http POST https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/protection/unprotect ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response