Updates from: 06/17/2021 03:13:57
Service Microsoft Docs article Related commit history on GitHub Change details
v1.0 Administrativeunit Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-delete-members.md
Title: "Remove a member" description: "Use this API to remove a member (user or group) from an administrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Delete Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-delete-scopedrolemembers.md
Title: "Remove a scopedRoleMember" description: "Remove a scoped-role member from an adminstrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-delete.md
Title: "Delete administrativeUnit" description: "Delete an administrativeUnit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-delta.md
Title: "administrativeUnit: delta" description: "Get newly created, updated, or deleted administrative units without having to perform a full read of the entire resource collection." localization_priority: Normal-+ ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-get-members.md
Title: "Get a member" description: "Use this API to get a specific member (user or group) in an administrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Get Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-get-scopedrolemembers.md
Title: "Get a scopedRoleMember" description: "Retrieve a specific scopedRoleMembership resource."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-get.md
Title: "Get administrativeUnit" description: "Retrieve the properties and relationships of an administrativeUnit object."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-list-members.md
Title: "List members" description: "Use this API to get the members list (user and group) in an administrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit List Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-list-scopedrolemembers.md
Title: "List scopedRoleMembers" description: "Retrieve a list of scopedRoleMembership resources."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-list.md
Title: "List administrativeUnits" description: "Retrieve a list of administrativeUnit objects."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Post Administrativeunits https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-post-administrativeunits.md
Title: "Create administrativeUnit" description: "Use this API to create a new administrativeUnit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-post-members.md
Title: "Add a member" description: "Use this API to add a member (user or group) to an administrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Post Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-post-scopedrolemembers.md
Title: "Add a scopedRoleMember" description: "Add a new scopedRoleMembership. NOTE: Only the *User account administrator* and *Helpdesk administrator* roles are currently supported for scoped-role memberships." localization_priority: Normal-+ ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-update.md
Title: "Update administrativeunit" description: "Update the properties of an administrativeUnit object."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Chat List Permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-list-permissiongrants.md
Content-type: application/json
] } ```+
+## See also
+- [List permission grants of a team](team-list-permissionGrants.md)
+- [List permission grants of a group](group-list-permissionGrants.md)
v1.0 Cloudpc Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpc-get.md
Title: "Get cloudPCs"
+ Title: "Get cloudPC"
description: "View the properties and relationships of a cloudPC object." localization_priority: Normal
v1.0 Cloudpcdeviceimage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcdeviceimage-get.md
Title: "Get cloudPcDeviceImages"
+ Title: "Get cloudPcDeviceImage"
description: "Read the properties and relationships of a cloudPcDeviceImage object." localization_priority: Normal
v1.0 Cloudpcusersetting Assign https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcusersetting-assign.md
+
+ Title: "cloudPcUserSetting: assign"
+description: "Assign a cloud PC user setting to user groups."
+
+localization_priority: Normal
++
+# cloudPcUserSetting: assign
+
+Namespace: microsoft.graph
++
+Assign a [cloudPcUserSetting](../resources/cloudpcusersetting.md) to user groups.
++
+## 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).
+
+|Permission type|Permissions (from least to most privileged)|
+|:|:|
+|Delegated (work or school account)|CloudPC.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|CloudPC.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+
+``` http
+POST /deviceManagement/virtualEndpoint/userSettings/{id}/assign
+```
+
+## Request headers
+
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+|Content-Type|application/json. Required.|
+
+## Request body
+
+In the request body, supply a JSON representation of the [cloudPcUserSettingAssignment](../resources/cloudpcusersettingassignment.md) object.
+
+The following table shows the properties that are required when you create the [cloudPcUserSettingAssignment](../resources/cloudpcusersettingassignment.md).
+
+|Property|Type|Description|
+|:|:|:|
+|target|[cloudPcManagementAssignmentTarget](../resources/cloudpcmanagementassignmenttarget.md)|The assignment target for the provisioning policy. Currently, the only target supported is a user group.|
+
+## Response
+
+If successful, this method returns a `204 No Content` response code.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "cloudpcusersetting_assign"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettings/b0c2d35f-3385-46c8-a6f5-6c3dfad7708b_64ff06de-9c00-4a5a-98b5-7f5abe26ffff/assign
+Content-Type: application/json
+Content-length: 254
+
+{
+ "assignments": [
+ {
+ "id": "b0c2d35f-3385-46c8-a6f5-6c3dfad7708b_64ff06de-9c00-4a5a-98b5-7f5abe26ffff",
+ "target":{
+ "@odata.type": "microsoft.graph.cloudPcManagementGroupAssignmentTarget",
+ "groupId":"64ff06de-9c00-4a5a-98b5-7f5abe26ffff"
+ }
+ }
+ ]
+}
+```
++
+### Response
+
+<!-- {
+ "blockType": "response",
+ "truncated": true
+}
+-->
+``` http
+HTTP/1.1 204 No Content
+```
v1.0 Cloudpcusersetting Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcusersetting-delete.md
+
+ Title: "Delete cloudPcUserSetting"
+description: "Delete a cloudPcUserSetting object."
+
+localization_priority: Normal
++
+# Delete cloudPcUserSetting
+
+Namespace: microsoft.graph
++
+Delete a [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.
+
+## 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).
+
+|Permission type|Permissions (from least to most privileged)|
+|:|:|
+|Delegated (work or school account)|CloudPC.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|CloudPC.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+
+``` http
+DELETE /deviceManagement/virtualEndpoint/userSettings/{id}
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `204 No Content` response code.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "delete_cloudpcusersetting"
+}
+-->
+``` http
+DELETE https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettings/b0c2d35f-3385-46c8-a6f5-6c3dfad7ffff
+```
++
+### Response
+
+<!-- {
+ "blockType": "response",
+ "truncated": true
+}
+-->
+``` http
+HTTP/1.1 204 No Content
+```
v1.0 Cloudpcusersetting Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcusersetting-get.md
+
+ Title: "Get cloudPcUserSetting"
+description: "Read the properties and relationships of a cloudPcUserSetting object."
+
+localization_priority: Normal
++
+# Get cloudPcUserSetting
+
+Namespace: microsoft.graph
++
+Read the properties and relationships of a [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.
++
+## 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).
+
+|Permission type|Permissions (from least to most privileged)|
+|:|:|
+|Delegated (work or school account)|CloudPC.Read.All, CloudPC.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|CloudPC.Read.All, CloudPC.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+
+``` http
+GET /deviceManagement/virtualEndpoint/userSettings/{id}
+```
+
+## Optional query parameters
+
+This method supports `$select` and `$expand` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+## Request headers
+
+| Name | Description |
+| : | : |
+| Authorization | Bearer {token}. Required. |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and a [cloudPcUserSetting](../resources/cloudpcusersetting.md) object in the response body.
+
+## Examples
+
+### Example 1: Get the properties of the specified user setting
+
+#### Request
+<!-- {
+ "blockType": "request",
+ "name": "get_cloudpcusersetting"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettings/556092f8-92f8-5560-f892-6055f8926055
+```
++
+#### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.cloudPcUserSetting"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "@odata.type": "#microsoft.graph.cloudPcUserSetting",
+ "id": "556092f8-92f8-5560-f892-6055f8926055",
+ "displayName": "String",
+ "selfServiceEnabled": true,
+ "localAdminEnabled": false,
+ "lastModifiedDateTime": "2021-02-01T10:29:57Z",
+ "createdDateTime": "2021-02-01T10:29:57Z"
+ }
+}
+```
+
+### Example 2: Get the properties of the specified user setting and expand on the assignments
+
+#### Request
+<!-- {
+ "blockType": "request",
+ "name": "get_cloudpcusersetting_2"
+}
+-->
+
+``` http
+GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/usersettings/b0c2d35f-3385-46c8-a6f5-6c3dfad7ffff?$expand=assignments
+```
++
+#### Response
+
+**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.cloudPcUserSetting"
+}
+-->
+
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "@odata.type": "#microsoft.graph.cloudPcUserSetting",
+ "id": "b0c2d35f-3385-46c8-a6f5-6c3dfad7ffff",
+ "displayName": "Display Name value",
+ "selfServiceEnabled": true,
+ "localAdminEnabled": false,
+ "lastModifiedDateTime": "2021-02-01T10:29:57Z",
+ "createdDateTime": "2021-02-01T10:29:57Z",
+ "assignments": [
+ {
+ "@odata.type": "microsoft.graph.cloudPcUserSettingAssignment",
+ "id": "b0c2d35f-3385-46c8-a6f5-6c3dfad7708b_64ff06de-9c00-4a5a-98b5-7f5abe26ffff",
+ "createdDateTime": "2021-02-01T10:29:57Z",
+ "target": {
+ "@odata.type":"microsoft.graph.cloudPCManagementGroupAssignmentTarget",
+ "groupId":"64ff06de-9c00-4a5a-98b5-7f5abe26bfd9"
+ }
+ }
+ ]
+ }
+}
+```
v1.0 Cloudpcusersetting Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcusersetting-update.md
+
+ Title: "Update cloudPcUserSetting"
+description: "Update the properties of a cloudPcUserSetting object."
+
+localization_priority: Normal
++
+# Update cloudPcUserSetting
+
+Namespace: microsoft.graph
++
+Update the properties of a [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.
++
+## 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).
+
+|Permission type|Permissions (from least to most privileged)|
+|:|:|
+|Delegated (work or school account)|CloudPC.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|CloudPC.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+
+``` http
+PATCH /deviceManagement/virtualEndpoint/provisioningPolicies/{id}
+```
+
+## Request headers
+
+| Name | Description |
+| : | : |
+| Authorization | Bearer {token}. Required. |
+| Content-Type | application/json. Required.|
+
+## Request body
+
+In the request body, supply a JSON representation of the [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.
+
+The following table shows the properties that are required when you update the [cloudPcUserSetting](../resources/cloudpcusersetting.md).
+
+|Property|Type|Description|
+|:|:|:|
+|displayName|String|The setting name displayed in the user interface.|
+|localAdminEnabled|Boolean|To turn on the local admin option, change this setting to `True`.ΓÇ» |
+|selfServiceEnabled|Boolean|To turn on the self-service option, change this setting to `True`.ΓÇ»|
+|lastModifiedDateTime|DateTimeOffset|The last date and time the setting was modified. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this:ΓÇ»'2014-01-01T00:00:00Z'.ΓÇ»|
+++
+## Response
+
+If successful, this method returns a `200 OK` response code and an updated [cloudPcUserSetting](../resources/cloudpcusersetting.md) object in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "update_cloudpcusersetting"
+}
+-->
+``` http
+PATCH https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettings/b0c2d35f-3385-46c8-a6f5-6c3dfad7ffff
+Content-Type: application/json
+Content-length: 159
+
+{
+ "@odata.type": "#microsoft.graph.cloudPcUserSetting",
+ "displayName": "Example",
+ "selfServiceEnabled": true,
+ "localAdminEnabled": false
+}
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true
+}
+-->
+``` http
+HTTP/1.1 204 No Content
+```
v1.0 Directoryrole Delete Member https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-delete-member.md
HTTP/1.1 204 No Content
Here is an example of the request. Replace `9f06204d-73c1-4d4c-880a-6edb90606fd8` with the value of your roleTemplateId and `bb165b45-151c-4cf6-9911-cd7188912848` with the **id** value of your user of directory object. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_directoryobject_from_directoryrole_templateId"
Here is an example of the request. Replace `9f06204d-73c1-4d4c-880a-6edb90606fd8
```http DELETE https://graph.microsoft.com/v1.0/directoryRoles/roleTemplateId=9f06204d-73c1-4d4c-880a-6edb90606fd8/members/bb165b45-151c-4cf6-9911-cd7188912848/$ref ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Directoryrole Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-get.md
Content-type: application/json
Here is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_directoryrole_templateId"
Here is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/beta/directoryRoles/roleTemplateId=88d8e3e3-8f55-4a1e-953a-9b9898b8876b ```
+# [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 Directoryrole List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-list-members.md
Content-type: application/json
#### Request Here is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_directoryrole_members_templateId"
Here is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/beta/directoryRoles/roleTemplateId=4a5d8f65-41da-4de4-8968-e035b65339cf/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 Directoryrole Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-post-members.md
HTTP/1.1 204 No content
#### Request In this request, replace `88d8e3e3-8f55-4a1e-953a-9b9898b8876b` with the value of the **roleTemplateId** for the directory role you wish to assign to the user or directory object. Replace `bb165b45-151c-4cf6-9911-cd7188912848` with the **id** value of your user or directory object. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_directoryobject_from_directoryrole_2_templateId"
Content-length: 30
"@odata.id": "https://graph.microsoft.com/beta/directoryObjects/bb165b45-151c-4cf6-9911-cd7188912848" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Driveitem Createlink https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/driveitem-createlink.md
Content-length: 212
``` # [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
"suppressions": [ ] }>
+-->
v1.0 Educationcategory Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationcategory-get.md
If successful, this method returns a `200 OK` response code and a [educationCate
##### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["dacbf757-888d-42ae-b701-5e57cec300ae"], "name": "get_class_category" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/education/classes/dacbf757-888d-42ae-b701-5e57cec300ae/assignmentCategories/7f64924d-4cdb-4e54-8c37-c0f3d46f0747 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ##### Response
Content-length: 85
"tocPath": "", "suppressions": [] }>
+-->
v1.0 Educationclass List Categories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-list-categories.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["4797d052-ebf5-4018-a088-e11adc6b2cbb"], "name": "get_class_categories" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/education/classes/4797d052-ebf5-4018-a088-e11adc6b2cbb/assignmentCategories ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ##### Response
v1.0 Educationclass Post Category https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-post-category.md
If successful, this method returns a `201 Created` response code and an [educati
## Example ##### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["9a5e4047-c1dc-4243-9628-580d3c64b80c"],
Content-length: 33
"displayName": "Quizzes" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ In the request body, supply a JSON representation of an [educationCategory](../resources/educationcategory.md) object. ##### Response
v1.0 Event Decline https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/event-decline.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/objc/event-decline-objc-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Java](#tab/java)
+
v1.0 Event Tentativelyaccept https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/event-tentativelyaccept.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/objc/event-tentativelyaccept-objc-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Java](#tab/java)
+ ### Response
v1.0 Listitem Createlink https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/listitem-createlink.md
The sharing link is configured to be read-only and usable by anyone with the lin
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "listItem_createlink",
Content-length: 212
] } ```
+# [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.
To create a company sharable link, use the **scope** parameter with a value of `
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "listItem_createlink",
Content-Type: application/json
"scope": "organization" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
Content-Type: application/json
"suppressions": [ ] }>
+-->
v1.0 Team List Permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-list-permissiongrants.md
+
+ Title: "List permissionGrants of a team"
+description: "Retrieve permissionGrants of a team."
+
+localization_priority: Priority
++
+# List permissionGrants of a team
+
+Namespace: microsoft.graph
++
+List all [resource-specific permission grants](../resources/resourcespecificpermissiongrant.md) on the [team](../resources/team.md). This is a list of Azure AD apps that have access to the team along with the kind of access that each app has.
+
+## 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).
+
+| Permission Type | Permissions (from least to most privileged) |
+| :- | :-- |
+| Delegated (work or school account) | TeamsAppInstallation.ReadForTeam, TeamsAppInstallation.ReadWriteSelfForTeam, TeamsAppInstallation.ReadWriteForTeam |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | TeamsAppInstallation.Read.Group*, TeamsAppInstallation.ReadForTeam.All, TeamsAppInstallation.ReadWriteSelfForTeam.All, TeamsAppInstallation.ReadWriteForTeam.All, TeamsApp.Read.Group* |
+
+> **Note**: Permissions marked with * use [resource-specific consent]( https://aka.ms/teams-rsc).
+
+## HTTP request
+<!-- { "blockType": "ignored" } -->
+```http
+GET /teams/{team-id}/permissionGrants
+```
+
+## Optional query parameters
+
+This operation does not support the [OData query parameters](/graph/query-parameters) to customize the response.
+
+## Request headers
+
+| Header | Value |
+| : | :- |
+| Authorization | Bearer {token}. Required. |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and a list of [resourceSpecificPermissionGrant](../resources/resourcespecificpermissiongrant.md) objects in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of the request.
+
+<!-- {
+ "blockType": "request",
+ "name": "team_list_permission_grants"
+}-->
+```msgraph-interactive
+GET https://graph.microsoft.com/beta/teams/14c981a4-dca9-4565-bae6-e13ada8861be/permissionGrants
+```
+++
+### Response
+
+The following example shows the response.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.resourceSpecificPermissionGrant",
+ "isCollection": true
+} -->
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#permissionGrants",
+ "value": [
+ {
+ "id": "Y2VkZGEyMWUtYTUwZS00ZDI3LWEyZjAtOTk0MTMwMGY3Y2I1IyNDaGF0U2V0dGluZ3MuUmVhZFdyaXRlLkNoYXQjI0FwcGxpY2F0aW9u",
+ "clientAppId": "fdebf36e-8b3a-4b00-99fb-2e4d1da706d6",
+ "resourceAppId": "00000003-0000-0000-c000-000000000000",
+ "clientId": "771b9da9-2260-41eb-a587-4d936e4aa08c",
+ "permissionType": "Application",
+ "permission": "TeamMember.Read.Group"
+ },
+ {
+ "id": "Y2VkZGEyMWUtYTUwZS00ZDI3LWEyZjAtOTk0MTMwMGY3Y2I1IyNUZWFtc0FwcEluc3RhbGxhdGlvbi5SZWFkLkNoYXQjI0FwcGxpY2F0aW9u",
+ "clientAppId": "fdebf36e-8b3a-4b00-99fb-2e4d1da706d6",
+ "resourceAppId": "00000003-0000-0000-c000-000000000000",
+ "clientId": "771b9da9-2260-41eb-a587-4d936e4aa08c",
+ "permissionType": "Application",
+ "permission": "TeamsTab.Create.Group"
+ },
+ {
+ "id": "ZmNmMGMzNjQtMWY1ZS00MDVjLThiN2QtNjI2YmRmOWQyZjI1IyNDaGF0U2V0dGluZ3MuUmVhZC5DaGF0IyNBcHBsaWNhdGlvbg==",
+ "clientAppId": "69024002-35ae-4574-a219-f261183580b4",
+ "resourceAppId": "00000003-0000-0000-c000-000000000000",
+ "clientId": "74c92190-dc0e-485a-81c6-fdffd4aadfd8",
+ "permissionType": "Application",
+ "permission": "TeamMember.Read.Group"
+ }
+ ]
+}
+```
+
+## See also
+- [List permission grants of a group](group-list-permissionGrants.md)
+- [List permission grants of a chat](chat-list-permissionGrants.md)
v1.0 Team Put Schedule https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-put-schedule.md
Content-length: 401
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "team-put-schedule-2"
PUT https://graph.microsoft.com/beta/teams/871dbd5c-3a6a-4392-bfe1-042452793a50/
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Virtualendpoint List Onpremisesconnections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-onpremisesconnections.md
Title: "List cloudPcOnPremisesConnection"
+ Title: "List cloudPcOnPremisesConnections"
description: "Get a list of the cloudPcOnPremisesConnection objects and their properties." localization_priority: Normal
v1.0 Virtualendpoint List Provisioningpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-provisioningpolicies.md
Title: "List cloudPcProvisioningPolicy"
+ Title: "List cloudPcProvisioningPolicies"
description: "View the properties and relationships of all cloud PC provisioning policies." localization_priority: Normal
v1.0 Virtualendpoint List Usersettings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-usersettings.md
+
+ Title: "List userSettings"
+description: "Retrieve a list of cloudPcUserSetting objects."
+
+localization_priority: Normal
++
+# List userSettings
+
+Namespace: microsoft.graph
++
+Retrieve a list of [cloudPcUserSetting](../resources/cloudpcusersetting.md) objects.
++
+## 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).
+
+|Permission type|Permissions (from least to most privileged)|
+|:|:|
+|Delegated (work or school account)|CloudPC.Read.All, CloudPC.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|CloudPC.Read.All, CloudPC.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+
+``` http
+GET /deviceManagement/virtualEndpoint/userSettings
+```
+
+## Optional query parameters
+
+This method the supports `$select`, `$filter`, and `$expand` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+## Request headers
+
+| Name | Description |
+| : | : |
+| Authorization | Bearer {token}. Required. |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and a collection of [cloudPcUserSetting](../resources/cloudpcusersetting.md) objects in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "list_cloudpcusersetting"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettings
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.cloudPcUserSetting)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": [
+ {
+ "@odata.type": "#microsoft.graph.cloudPcUserSetting",
+ "id": "556092f8-92f8-5560-f892-6055f8926055",
+ "displayName": "Test1",
+ "selfServiceEnabled": true,
+ "localAdminEnabled": false,
+ "lastModifiedDateTime": "2021-02-01T10:29:57Z",
+ "createdDateTime": "2021-02-01T10:29:57Z"
+ }
+ ]
+}
+```
v1.0 Virtualendpoint Post Usersettings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-post-usersettings.md
+
+ Title: "Create cloudPcUserSetting"
+description: "Create a new cloudPcUserSetting ."
+
+localization_priority: Normal
++
+# Create cloudPcUserSetting
+
+Namespace: microsoft.graph
++
+Create a new [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.
++
+## 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).
+
+|Permission type|Permissions (from least to most privileged)|
+|:|:|
+|Delegated (work or school account)|CloudPC.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|CloudPC.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+
+``` http
+POST /deviceManagement/virtualEndpoint/userSettings
+```
+
+## Request headers
+
+| Name | Description |
+| : | : |
+| Authorization | Bearer {token}. Required. |
+| Content-Type | application/json. Required.|
+
+## Request body
+
+In the request body, supply a JSON representation of the [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.
+
+The following table shows the properties that are required when you create the [cloudPcUserSetting](../resources/cloudpcusersetting.md).
+
+|Property|Type|Description|
+|:|:|:|
+|displayName|String|The setting name as it appears in the UI. |
+|localAdminEnabled|Boolean|To turn on the local admin option, change this setting to `True`.ΓÇ» |
+|selfServiceEnabled|Boolean|To turn on the self service option, change this setting to `True`.ΓÇ»|
+|lastModifiedDateTime|DateTimeOffset|The last date and time the setting was modified. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this:ΓÇ»'2014-01-01T00:00:00Z'.ΓÇ»|
+
+## Response
+
+If successful, this method returns a `201 Created` response code and a [cloudPcUserSetting](../resources/cloudpcusersetting.md) object in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "create_cloudpcusersetting_from_"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettings
+Content-Type: application/json
+Content-length: 159
+
+{
+ "@odata.type": "#microsoft.graph.cloudPcUserSetting",
+ "displayName": "Example",
+ "selfServiceEnabled": false,
+ "localAdminEnabled": true
+}
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.cloudPcUserSetting"
+}
+-->
+``` http
+HTTP/1.1 201 Created
+Content-Type: application/json
+
+{
+ "@odata.type": "#microsoft.graph.cloudPcUserSetting",
+ "id": "556092f8-92f8-5560-f892-6055f8926055",
+ "displayName": "Example",
+ "selfServiceEnabled": false,
+ "localAdminEnabled": true,
+ "lastModifiedDateTime": "2021-02-01T10:29:57Z"ΓÇ»
+}
+```
+
v1.0 Administrativeunit https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/administrativeunit.md
Title: "administrativeUnit resource type" description: "An administrative unit provides a conceptual container for User and Group directory objects." localization_priority: Normal-+ ms.prod: "directory-management" doc_type: resourcePageType
v1.0 Cloudpcusersetting https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/cloudpcusersetting.md
+
+ Title: "cloudPcUserSetting resource type"
+description: "Represent a cloud Pc user setting"
+
+localization_priority: Normal
++
+# cloudPcUserSetting resource type
+
+Namespace: microsoft.graph
++
+Represents a cloud PC user setting.
++
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[List cloudPcUserSettings](../api/virtualendpoint-list-usersettings.md)|[cloudPcUserSetting](../resources/cloudpcusersetting.md) collection|Get a list of the [cloudPcUserSetting](../resources/cloudpcusersetting.md) objects and their properties.|
+|[Get cloudPcUserSetting](../api/cloudpcusersetting-get.md)|[cloudPcUserSetting](../resources/cloudpcusersetting.md)|Read the properties and relationships of a [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.|
+|[Create cloudPcUserSetting](../api/virtualendpoint-post-usersettings.md)|[cloudPcUserSetting](../resources/cloudpcusersetting.md)|Create a new [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.|
+|[Update cloudPcUserSetting](../api/cloudpcusersetting-update.md)|[cloudPcUserSetting](../resources/cloudpcusersetting.md)|Update the properties of a [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.|
+|[Delete cloudPcUserSetting](../api/cloudpcusersetting-delete.md)|None|Deletes a [cloudPcUserSetting](../resources/cloudpcusersetting.md) object.|
+|[assign](../api/cloudpcusersetting-assign.md)|None|Assign a [cloudPcUserSetting](../resources/cloudpcusersetting.md) to user groups.|
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|id|String|Unique identifier for the cloud PC user setting. Read-only.|
+|displayName|String|The setting name displayed in the user interface. |
+|localAdminEnabled|Boolean|Indicates whether the local admin option is enabled. Default value is `false`. To enable the local admin option, change the setting to `true`. |
+|selfServiceEnabled|Boolean|Indicates whether the self-service option is enabled. Default value is `false`. To enable the self-service option, change the setting to `true`.ΓÇ»|
+|lastModifiedDateTime|DateTimeOffset|The last date and time the setting was modified. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this:ΓÇ»'2014-01-01T00:00:00Z'.ΓÇ»|
+|createdDateTime|DateTimeOffset|The date and time the setting was created. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'.ΓÇ»|
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|assignments|[cloudPcUserSettingAssignment](../resources/cloudpcusersettingassignment.md) collection|Office 365 and security groups in Azure AD can have a set of user settings assigned.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.cloudPcUserSetting",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.cloudPcUserSetting",
+ "id": "String (identifier)",
+ "displayName": "String",
+ "selfServiceEnabled": "Boolean",
+ "localAdminEnabled": "Boolean",
+ "lastModifiedDateTime": "String (timestamp)",
+ "createdDateTime": "String (timestamp)"
+}
+```
v1.0 Cloudpcusersettingassignment https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/cloudpcusersettingassignment.md
+
+ Title: "cloudPcUserSettingAssignment resource type"
+description: "Represents a defined collection of user setting assignments."
+
+localization_priority: Normal
++
+# cloudPcUserSettingAssignment resource type
+
+Namespace: microsoft.graph
++
+Represents a defined collection of user setting assignments.
++
+## Properties
+
+|Property|Type|Description|
+|:|:|:|
+|id|String|Unique Identifier for the user setting assignment. Read-only. If `target` is a user group, the ID has this structure: {policyID}_{groupID}.|
+|target|[cloudPcManagementAssignmentTarget](../resources/cloudpcmanagementassignmenttarget.md)|The assignment target for the user setting. Currently, the only target supported for user setting is a user group.|
+|createdDateTime|DateTimeOffset|The date and time this assignment was created. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'. ΓÇ»|
+
+## Relationships
+
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.cloudPcUserSettingAssignment",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.cloudPcUserSettingAssignment",
+ "id": "String (identifier)",
+ "createdDateTime": "String (timestamp)",
+ "target": {
+ "@odata.type": "microsoft.graph.cloudPcManagementAssignmentTarget"
+ }
+}
+```
v1.0 Group https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/group.md
This resource supports:
| **Other group resources** ||| | [List photos](../api/group-list-photos.md) | [profilePhoto](photo.md) collection | Get a collection of profile photos for the group. | | [List plannerPlans](../api/plannergroup-list-plans.md) | [plannerPlan](plannerplan.md) collection | Get Planner plans owned by the group. |
+| [List permissionGrants](../api/group-list-permissiongrants.md) | [resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md) collection | List permissions that have been granted to apps to access the group. |
| **User settings** ||| | [addFavorite](../api/group-addfavorite.md) | None | Add the group to the list of the signed-in user's favorite groups. Supported for only Microsoft 365 groups. | | [removeFavorite](../api/group-removefavorite.md) | None | Remove the group from the list of the signed-in user's favorite groups. Supported for Microsoft 365 groups only. |
This resource supports:
|membersWithLicenseErrors|[user](user.md) collection|A list of group members with license errors from this group-based license assignment. Read-only.| |onenote|[onenote](onenote.md)| Read-only.| |owners|[directoryObject](directoryobject.md) collection|The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable.|
-|permissionGrants|[resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md)|The permission that has been granted for a group to a specific application.|
+|permissionGrants|[resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md)|The permissions that have been granted for a group to a specific application.|
|photo|[profilePhoto](profilephoto.md)| The group's profile photo. | |photos|[profilePhoto](profilephoto.md) collection| The profile photos owned by the group. Read-only. Nullable.| |planner|[plannerGroup](plannergroup.md)| Selective Planner services available to the group. Read-only. Nullable. |
v1.0 Resourcespecificpermissiongrant https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/resourcespecificpermissiongrant.md
A resourceSpecificPermissionGrant declares the permission that has been granted
| : | :- | :-- | |[List permission grants of a chat](../api/chat-list-permissiongrants.md) | [resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md) collection | List permissions that have been granted in a specific chat. | |[List permission grants of a group](../api/group-list-permissiongrants.md) | [resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md) collection | List permissions that have been granted in a specific group. |
+|[List permission grants of a team](../api/team-list-permissiongrants.md) | [resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md) collection | List permissions that have been granted in a specific team. |
## Properties
v1.0 Team https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/team.md
Every team is associated with a [group](../resources/group.md). The group has th
|[Get app installed in team](../api/team-get-installedapps.md) | [teamsAppInstallation](teamsappinstallation.md) | Get the specified app installed in a team.| |[Upgrade app installed in team](../api/team-teamsappinstallation-upgrade.md) | None | Upgrade the app installed in a team to the latest version.| |[Remove app from team](../api/team-delete-installedapps.md) | None | Remove (uninstall) an app from a team.|
+|[List permission grants](../api/team-list-permissiongrants.md) | [resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md) collection | List permissions that have been granted to apps to access the team.|
## Properties
For a POST request example, see [Request (create team in migration state)](https
|[primaryChannel](../api/team-get-primarychannel.md)|[channel](channel.md)| The general channel for the team. | |schedule|[schedule](schedule.md)| The schedule of shifts for this team.| |template|[teamsTemplate](teamstemplate.md)| The template this team was created from. See [available templates](/MicrosoftTeams/get-started-with-teams-templates). |
+|permissionGrants|[resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md) collection| A collection of permissions granted to apps to access the team.|
## JSON representation
v1.0 Virtualendpoint https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/virtualendpoint.md
Use the cloud PC API to provision and manage virtual desktops for employees in a
|[Create cloudPcOnPremisesConnection](../api/virtualendpoint-post-onpremisesconnections.md)|[cloudPcOnPremisesConnection](../resources/cloudpconpremisesconnection.md)|Create a new [cloudPcOnPremisesConnection](../resources/cloudpconpremisesconnection.md) object.| |[List provisioningPolicies](../api/virtualendpoint-list-provisioningpolicies.md)|[cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md) collection|List properties and relationships of the [cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md) objects.| |[Create cloudPcProvisioningPolicy](../api/virtualendpoint-post-provisioningpolicies.md)|[cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md)|Create a new [cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md) object.|
+|[List userSettings](../api/virtualendpoint-list-usersettings.md)|[cloudPcUserSetting](../resources/cloudpcusersetting.md) collection|Get the cloudPcUserSetting resources from the userSettings navigation property.|
+|[Create cloudPcUserSetting](../api/virtualendpoint-post-usersettings.md)|[cloudPcUserSetting](../resources/cloudpcusersetting.md)|Create a new cloudPcUserSetting object.|
## Properties
Use the cloud PC API to provision and manage virtual desktops for employees in a
|cloudPCs|[cloudPC](../resources/cloudpc.md) collection|Cloud managed virtual desktops.| |deviceImages|[cloudPcDeviceImage](../resources/cloudpcdeviceimage.md) collection|The image resource on cloud PC.| |onPremisesConnections|[cloudPcOnPremisesConnection](../resources/cloudpconpremisesconnection.md) collection|A defined collection of Azure resource information that can be used to establish on-premises network connectivity for cloud PCs.|
-|provisioningPolicies|[cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md) collection|cloud PC provisioning policy.|
+|provisioningPolicies|[cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md) collection|Cloud PC provisioning policy.|
+|userSettings|[cloudPcUserSetting](../resources/cloudpcusersetting.md) collection|Cloud PC user settings. |
## JSON representation
v1.0 Administrativeunit Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-delete-members.md
Title: "Remove a member" description: "Use this API to remove a member (user or group) from an administrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Delete Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-delete-scopedrolemembers.md
Title: "Remove a scopedRoleMember" description: "Remove a scoped-role member from an adminstrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-delete.md
Title: "Delete administrativeUnit" description: "Delete an administrativeUnit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-get-members.md
Title: "Get a member" description: "Use this API to get a specific member (user or group) in an administrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Get Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-get-scopedrolemembers.md
Title: "Get a scopedRoleMember" description: "Retrieve a specific scopedRoleMembership resource."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-get.md
Title: "Get administrativeUnit" description: "Retrieve the properties and relationships of an administrativeUnit object."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-list-members.md
Title: "List members" description: "Use this API to get the members list (user and group) in an administrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit List Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-list-scopedrolemembers.md
Title: "List scopedRoleMembers" description: "Retrieve a list of scopedRoleMembership resources."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-list.md
Title: "List administrativeUnits" description: "Retrieve a list of administrativeUnit objects."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Post Administrativeunits https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-post-administrativeunits.md
Title: "Create administrativeUnit" description: "Use this API to create a new administrativeUnit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-post-members.md
Title: "Add a member" description: "Use this API to add a member (user or group) to an administrative unit."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Post Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-post-scopedrolemembers.md
Title: "Add a scopedRoleMember" description: "Add a new scopedRoleMembership. NOTE: Only the *User account administrator* and *Helpdesk administrator* roles are currently supported for scoped-role memberships." localization_priority: Normal-+ ms.prod: "directory-management" doc_type: apiPageType
v1.0 Administrativeunit Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-update.md
Title: "Update administrativeunit" description: "Update the properties of an administrativeUnit object."-+ localization_priority: Normal ms.prod: "directory-management" doc_type: apiPageType
v1.0 Educationassignment Delete Rubric https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-delete-rubric.md
If successful, this method returns a `204 No Content` response code. It does not
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_educationrubric_from_educationassignment"
The following is an example of the request.
```http DELETE https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric/$ref ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationassignment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-delete.md
If successful, this method returns a `204 No Content` response code. It does not
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["1fdf61ee-c129-4960-9b7c-8df159aa64b0"],
The following is an example of the request.
```http DELETE https://graph.microsoft.com/v1.0/education/classes/c42f493f-42b4-4e7d-8148-af894cbc518b/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationassignment Get Rubric https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-get-rubric.md
If successful, this method returns a `200 OK` response code and an [educationRub
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["cf6005fc-9e13-44a2-a6ac-a53322006454"],
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationassignment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-get.md
If successful, this method returns a `200 OK` response code and an [educationAss
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["1fdf61ee-c129-4960-9b7c-8df159aa64b0"],
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/5edb6a5f-fc6b-441b-8952-bcbfc33ef0e5/assignments/1fdf61ee-c129-4960-9b7c-8df159aa64b0 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationassignment List Categories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-list-categories.md
If successful, this method returns a `200 OK` response code and collection of [e
## Example ### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["1fdf61ee-c129-4960-9b7c-8df159aa64b0"], "name": "get_assignment_categories" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/education/classes/a17025d0-62a8-4450-9e6e-db31d8c8feb8/assignments/1fdf61ee-c129-4960-9b7c-8df159aa64b0/categories ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationassignment List Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-list-resources.md
If successful, this method returns a `200 OK` response code and a collection of
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["ad8afb28-c138-4ad7-b7f5-a6986c2655a8"],
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/d38ffdea-da93-46ac-90ba-d568c6073075/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/resources ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationassignment List Submissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-list-submissions.md
If successful, this method returns a `200 OK` response code and collection of [e
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["ad8afb28-c138-4ad7-b7f5-a6986c2655a8"],
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/submissions ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationassignment Post Categories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-post-categories.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": "add_educationcategory_to_educationassignment"
Content-length: 212
} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ In the request body, supply the odata.id of the existing [educationCategory](../resources/educationcategory.md) object to add to this assignment. ### Response
v1.0 Educationassignment Post Resource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-post-resource.md
If successful, this method returns a `201 Created` response code and an [educati
## Example ### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["ad8afb28-c138-4ad7-b7f5-a6986c2655a8"],
Content-length: 212
} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ In the request body, supply a JSON representation of the [educationAssignmentResource](../resources/educationassignmentresource.md) object. ### Response
v1.0 Educationassignment Publish https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-publish.md
The following example shows how to call this API.
### Request The following is an example of a request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["ad8afb28-c138-4ad7-b7f5-a6986c2655a8"],
The following is an example of a request.
```http POST https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/publish ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of a response.
v1.0 Educationassignment Put Rubric https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-put-rubric.md
If successful, this method returns a `204 No Content` response code. It does not
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["cf6005fc-9e13-44a2-a6ac-a53322006454"],
Content-type: application/json
"@odata.id": "https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-ac41-3c2bb7b6672d" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationassignment Remove Category https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-remove-category.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", "sampleKeys": ["ec98f158-341d-4fea-9f8c-14a250d489ac"],
The following is an example of the request.
```http DELETE https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/categories/ec98f158-341d-4fea-9f8c-14a250d489ac/$ref ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationassignment Setupresourcesfolder https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/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", "sampleKeys": ["ad8afb28-c138-4ad7-b7f5-a6986c2655a8"],
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 Educationassignment Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-update.md
If successful, this method returns a `200 OK` response code and an updated [educ
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["ad8afb28-c138-4ad7-b7f5-a6986c2655a8"],
Content-length: 279
"dueDateTime": "2014-02-01T00:00:00Z" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationassignmentdefaults Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentdefaults-get.md
If successful, this method returns a `200 OK` response code and an [educationAss
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_educationassignmentdefaults"
If successful, this method returns a `200 OK` response code and an [educationAss
``` http GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentDefaults ```
+# [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 Educationassignmentdefaults Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentdefaults-update.md
If successful, this method returns a `200 OK` response code and an updated [educ
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_educationassignmentdefaults"
Content-length: 181
"notificationChannelUrl": "https://graph.microsoft.com/beta/teams('acdefc6b-2dc6-4e71-b1e9-6d9810ab1793')/channels('3da03fc4-8eac-4459-84fb-1422dc01f65e')" } ```
+# [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 Educationassignmentresource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentresource-delete.md
If successful, this method returns a `204 No Content` response code. It does not
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_educationassignmentresource"
The following is an example of the request.
```http DELETE https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/resources/22002 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationassignmentresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentresource-get.md
If successful, this method returns a `200 OK` response code and an [educationAss
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_educationassignmentresource" }-->
-```http
+```msgraph-interactive
GET /education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/resources/8b01c1d0-aafc-4f8c-bd73-89faa3df1c1c ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationassignmentsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentsettings-get.md
If successful, this method returns a `200 OK` response code and an [educationAss
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_educationassignmentsettings"
If successful, this method returns a `200 OK` response code and an [educationAss
``` http GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentSettings ```
+# [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 Educationassignmentsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentsettings-update.md
If successful, this method returns a `200 OK` response code and an updated [educ
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_educationassignmentsettings"
Content-length: 114
"submissionAnimationDisabled": true } ```
+# [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 Educationcategory Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationcategory-delete.md
If successful, this method returns a `204 No Content` response code. It does not
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_educationassignment_2"
The following is an example of the request.
```http DELETE https://graph.microsoft.com/v1.0/education/classes/c42f493f-42b4-4e7d-8148-af894cbc518b/assignmentCategories/b93d3b6b-360c-45c0-8764-e8bb622a9504 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationcategory Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationcategory-get.md
If successful, this method returns a `200 OK` response code and a [educationCate
### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["acdefc6b-2dc6-4e71-b1e9-6d9810ab1793"], "name": "get_class_category" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories/96821157-5efb-4706-8ca2-a90b26c44852 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
Content-length: 85
"tocPath": "", "suppressions": [] }>
+-->
v1.0 Educationclass List Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-list-assignments.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_assignments" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
Content-length: 344
"tocPath": "", "suppressions": [] }>
+-->
v1.0 Educationclass List Categories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-list-categories.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["acdefc6b-2dc6-4e71-b1e9-6d9810ab1793"], "name": "get_class_categories" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationclass Post Assignment https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-post-assignment.md
If successful, this method returns a `201 Created` response code and an [educati
## Example ### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_educationassignment_from_educationclass"
Content-length: 279
"allowStudentsToAddResourcesToSubmission": true } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ In the request body, supply a JSON representation of an [educationAssignment](../resources/educationassignment.md) object. ### Response
v1.0 Educationoutcome Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationoutcome-update.md
If successful, this method returns a `200 OK` response code and an updated [educ
The following is an example of the request for updating a feedback outcome. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_educationfeedbackoutcome"
Content-type: application/json
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
Content-type: application/json
The following is an example of the request for updating a points outcome. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_educationpointsoutcome"
Content-type: application/json
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
Content-type: application/json
The following is an example of the request for updating a rubric outcome. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_educationoutcome"
Content-type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Educationrubric Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationrubric-delete.md
If successful, this method returns a `204 No Content` response code. It does not
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_educationrubric"
The following is an example of the request.
```http DELETE https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-ac41-3c2bb7b6672d ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationrubric Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationrubric-get.md
If successful, this method returns a `200 OK` response code and the requested [e
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_educationrubric"
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-ac41-3c2bb7b6672d ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationrubric Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationrubric-update.md
If successful, this method returns a `200 OK` response code and an updated [educ
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_educationrubric"
Content-type: application/json
"displayName": "Example Credit Rubric after display name patch" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationsubmission Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-get.md
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/11010/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/submissions/33223 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationsubmission List Outcomes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-list-outcomes.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_outcomes"
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/submissions/d1bee293-d8bb-48d4-af3e-c8cb0e3c7fe7/outcomes ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationsubmission List Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-list-resources.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_resources_2"
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/submissions/d1bee293-d8bb-48d4-af3e-c8cb0e3c7fe7/resources ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationsubmission List Submittedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-list-submittedresources.md
If successful, this method returns a `200 OK` response code and a collection of
## Example ### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_submittedresources" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/submissions/fbe51c90-78b7-418a-b5f3-871bf8d8d21e/submittedResources ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationsubmission Post Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-post-resources.md
If successful, this method returns a `201 Created` response code and an [educati
## Example ### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_educationsubmissionresource_from_educationsubmission"
Content-length: 1097
"@odata.type": "microsoft.graph.educationResource" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationsubmission Return https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-return.md
If successful, this method returns a `204 No Content` response code. It does not
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "educationsubmission_return"
The following is an example of the request.
```http POST https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/submissions/fbe51c90-78b7-418a-b5f3-871bf8d8d21e/return ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationsubmission Setupresourcesfolder https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/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 Educationsubmission Submit https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-submit.md
The following example shows how to call this API.
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "educationsubmission_submit"
The following is an example of the request.
```http POST https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/submissions/fbe51c90-78b7-418a-b5f3-871bf8d8d21e/submit ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationsubmission Unsubmit https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-unsubmit.md
The following example shows how to call this API.
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "educationsubmission_unsubmit"
The following is an example of the request.
```http POST https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/submissions/fbe51c90-78b7-418a-b5f3-871bf8d8d21e/unsubmit ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationsubmissionresource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmissionresource-delete.md
If successful, this method returns a `204 No Content` response code. It does not
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_educationsubmissionresource"
The following is an example of the request.
```http DELETE https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/submissions/fbe51c90-78b7-418a-b5f3-871bf8d8d21e/resources/f2387c3b-ec39-4bf2-a399-d7242677f024 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationsubmissionresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmissionresource-get.md
If successful, this method returns a `200 OK` response code and an [educationSub
### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_educationsubmissionresource"
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/submissions/fbe51c90-78b7-418a-b5f3-871bf8d8d21e/resources/f2387c3b-ec39-4bf2-a399-d7242677f024 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response The following is an example of the response.
v1.0 Educationuser List Rubrics https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-list-rubrics.md
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/me/rubrics ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Educationuser Post Rubrics https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-post-rubrics.md
If successful, this method returns a `201 Created` response code and a new [educ
The following is an example of the request to post a credit rubric (a rubric with no points). +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_educationrubric_from_educationuser_1"
Content-type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
Content-type: application/json
The following is an example of the request to post a rubric with points. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_educationrubric_from_educationuser_2"
Content-type: application/json
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Administrativeunit https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/administrativeunit.md
Title: "administrativeUnit resource type" description: "An administrative unit provides a conceptual container for User and Group directory objects." localization_priority: Normal-+ ms.prod: "directory-management" doc_type: resourcePageType