Updates from: 07/07/2021 03:08:38
Service Microsoft Docs article Related commit history on GitHub Change details
v1.0 Chat Sendactivitynotification https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-sendactivitynotification.md
This example shows how you can send an activity feed notification to all chat me
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "chat_sendactivitynotification_4"
Content-Type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response <!-- {
v1.0 Cloudpcauditevent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcauditevent-get.md
If successful, this method returns a `200 OK` response code and a [cloudPcAuditE
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_cloudpcauditevent"
If successful, this method returns a `200 OK` response code and a [cloudPcAuditE
``` http GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/auditEvents/{id} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Cloudpcauditevent Getauditactivitytypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcauditevent-getauditactivitytypes.md
If successful, this method returns a `200 OK` response code and a String collect
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "cloudpcauditevent_getauditactivitytypes"
If successful, this method returns a `200 OK` response code and a String collect
``` http GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/auditEvents/getAuditActivityTypes ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Ediscovery Noncustodialdatasource Release https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-noncustodialdatasource-release.md
Title: "noncustodialDataSource: Release"
+ Title: "noncustodialDataSource: release"
description: "Releases the non-custodial data source from the case." localization_priority: Normal
One of the following permissions is required to call this API. To learn more, in
--> ``` http
-POST /compliance/ediscovery/cases/{caseId}/noncustodialDataSources/{noncustodialDataSourceId}/Release
+POST /compliance/ediscovery/cases/{caseId}/noncustodialDataSources/{noncustodialDataSourceId}/release
``` ## Request headers
v1.0 Group Post Groups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-groups.md
The following table shows the properties of the [group](../resources/group.md) r
| mailEnabled | boolean | Set to **true** for mail-enabled groups. Required. | | mailNickname | string | The mail alias for the group. These characters cannot be used in the mailNickName: `@()\[]";:.<>,SPACE`. Required. | | securityEnabled | boolean | Set to **true** for security-enabled groups, including Microsoft 365 groups. Required. |
-| owners | [directoryObject](../resources/directoryobject.md) collection | This property represents the owners for the group at creation time. Optional. |
+| owners | [directoryObject](../resources/directoryobject.md) collection | This property represents the owners for the group at creation time. Owners aren't automatically added as group members unless specified in the **members** property. Optional. |
| members | [directoryObject](../resources/directoryobject.md) collection | This property represents the members for the group at creation time. Optional. | |visibility|String|Specifies the visibility of a Microsoft 365 group. Possible values are: `Private`, `Public`, `HiddenMembership`, or empty (which is interpreted as `Public`).|
Content-type: application/json
#### Request
-The following is an example of the request.
+The following is an example of the request. The calling user must be assigned the *Directory.AccessAsUser.All* permission to set the **isAssignableToRole** property.
# [HTTP](#tab/http)
v1.0 Group Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-update.md
Because the **group** resource supports [extensions](/graph/extensibility-overvi
> **Note:** >
-> - You can update **allowExternalSenders** and **autoSubscribeNewMembers** by specifying them in their own PATCH request, without including the other properties in the table above.
+> - To update the following Exchange-specific properties, you must specify them in their own PATCH request, without including the other properties listed in the table above: **allowExternalSenders**, **autoSubscribeNewMembers**, **hideFromAddressLists**, **hideFromOutlookClients**, **isSubscribedByMail**, **unseenCount**.
> - Only a subset of the group API pertaining to core group administration and management support application and delegated permissions. All other members of the group API, including updating **autoSubscribeNewMembers**, support only delegated permissions. See [known issues](/graph/known-issues#group) for examples. > - The rules for updating mail-enabled security groups in Microsoft Exchange Server can be complex; to learn more, see [Manage mail-enabled security groups in Exchange Server](/Exchange/recipients/mail-enabled-security-groups?view=exchserver-2019).
The following is an example of the request.
```http PATCH https://graph.microsoft.com/beta/groups/{id} Content-type: application/json
-Content-length: 211
{
- "description":"description-value",
- "displayName":"displayName-value"
+ "description":"Contoso Life v2.0",
+ "displayName":"Contoso Life Renewed"
} ``` # [C#](#tab/csharp)
v1.0 Grouplifecyclepolicy Addgroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/grouplifecyclepolicy-addgroup.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Adds a group to a lifecycle policy.
+Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the **managedGroupTypes** property of [groupLifecyclePolicy](../resources/grouplifecyclepolicy.md) is set to `Selected`.
## Permissions
In the request body, provide a JSON object with the following parameters.
| Parameter | Type | Description | |:|:--|:-|
-|groupId|Guid| The id of the group to add to the policy. |
+|groupId|String| The identifier of the group to add to the policy. |
+
+When the **managedGroupTypes** property of [groupLifecyclePolicy](../resources/grouplifecyclepolicy.md) is set to `Selected`, you can add up to 500 groups to the list. If you need to add more than 500 groups, the **managedGroupTypes** property of [groupLifecyclePolicy](../resources/grouplifecyclepolicy.md) must be set to `All`.
+
+Only one group can be added per request.
## Response
-If successful, this method returns `200 OK` response code. If the group is added to the policy, a **true** value is returned in the response body. Otherwise, a **false** value is returned in the reponse body.
+If successful, this method returns `200 OK` response code. If the group is added to the policy, a `true` value is returned in the response body. Otherwise, a `false` value is returned in the response body.
## Example
v1.0 Grouplifecyclepolicy Removegroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/grouplifecyclepolicy-removegroup.md
In the request body, provide a JSON object with the following parameters.
| Parameter | Type | Description | |:|:--|:-|
-|groupId|Guid| The id of the group to remove from the policy.|
+|groupId|String| The identifier of the group to remove from the policy.|
## Response
-If successful, this method returns `200 OK` response code. If the group is removed from the policy, a **true** value is returned in the response body. Otherwise, a **false** value is returned in the reponse body.
+If successful, this method returns `200 OK` response code. If the group is removed from the policy, a `true` value is returned in the response body. Otherwise, a `false` value is returned in the response body.
## Example
v1.0 Orgcontact Get Transitivereports https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/orgcontact-get-transitivereports.md
Title: "Get transitiveReports for orgContact"
description: "Get the count of transitive reports for an organizational contact." localization_priority: Normal doc_type: apiPageType
v1.0 Serviceprincipal Delete Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-delete-approleassignedto.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-DELETE /servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{principal-id}
+DELETE /servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{appRoleAssignment-id}
``` > [!NOTE]
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" }--> ```http
-DELETE https://graph.microsoft.com/beta/servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{principal-id}
+DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{appRoleAssignment-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.
+In this example, `{resource-SP-id}` is the id of the resource service principal, and `{appRoleAssignment-id}` is the id of the appRoleAssignment object that represents an assignment to the user, group, or client service principal.
### Response
v1.0 Team Sendactivitynotification https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-sendactivitynotification.md
This example shows how you can send an activity feed notification to all team me
> **Note:** The ability to send notifications to all team members is limited to teams with 10,000 members or less. If the team exceeds 10,000 members, none of the team members will receive a notification. #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "team_sendactivitynotification_4"
Content-Type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response <!-- {
HTTP/1.1 204 No Content
This example shows how you can send an activity feed notification to all channel members. This example is similar to the previous example. However, in this case, the `recipient` is a [channelMembersNotificationRecipient](../resources/channelmembersnotificationrecipient.md). Note that the `teamId` specified in the `recipient` must match the `teamId` specified in the request URL. #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "team_sendactivitynotification_5"
Content-Type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response <!-- {
v1.0 User Get Transitivereports https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-get-transitivereports.md
Title: "Get transitiveReports for a user"
description: "Get the count of transitive reports for a user." localization_priority: Normal doc_type: apiPageType
v1.0 User Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-update.md
The following example shows a request that resets the password of another user.
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_user_passwordProfile"
Content-type: application/json
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Virtualendpoint List Auditevents https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-auditevents.md
If successful, this method returns a `200 OK` response code and a collection of
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_cloudpcauditevent"
If successful, this method returns a `200 OK` response code and a collection of
``` http GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/auditEvents ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Windowsupdates Updatableasset Unenrollassets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updatableasset-unenrollassets.md
One of the following permissions is required to call this API. To learn more, in
} --> ``` http
-POST /updatableAssetGroup/members/unenrollAssets
+POST /admin/windows/updates/updatableAssets/unenrollAssets
``` ## Request headers
If successful, this action returns a `202 Accepted` response code. It does not r
} --> ``` http
-POST https://graph.microsoft.com/beta/updatableAssetGroup/members/unenrollAssets
+POST https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/unenrollAssets
Content-Type: application/json {
v1.0 Windowsupdates Updatableassetgroup Addmembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updatableassetgroup-addmembers.md
One of the following permissions is required to call this API. To learn more, in
} --> ``` http
-POST /updatableAssetGroup/{updatableAssetGroupId}/addMembers
+POST /admin/windows/updates/updatableAssets/{updatableAssetGroupId}/addMembers
``` ## Request headers
If successful, this action returns a `202 Accepted` response code. It does not r
} --> ``` http
-POST https://graph.microsoft.com/beta/updatableAssetGroup/{updatableAssetGroupId}/addMembers
+POST https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/{updatableAssetGroupId}/addMembers
Content-Type: application/json {
v1.0 Windowsupdates Updatableassetgroup Removemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updatableassetgroup-removemembers.md
One of the following permissions is required to call this API. To learn more, in
} --> ``` http
-POST /updatableAssetGroup/{updatableAssetGroupId}/removeMembers
+POST /admin/windows/updates/updatableAssets/{updatableAssetGroupId}/removeMembers
``` ## Request headers
If successful, this action returns a `202 Accepted` response code. It does not r
} --> ``` http
-POST https://graph.microsoft.com/beta/updatableAssetGroup/{updatableAssetGroupId}/removeMembers
+POST https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/{updatableAssetGroupId}/removeMembers
Content-Type: application/json {
Content-Type: application/json
``` http HTTP/1.1 202 Accepted ```-
v1.0 Group https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/group.md
This resource supports:
|hideFromAddressLists |Boolean |`true` if the group is not displayed in certain parts of the Outlook user interface: in the **Address Book**, in address lists for selecting message recipients, and in the **Browse Groups** dialog for searching groups; false otherwise. Default value is `false`. <br><br>Returned only on `$select`. Supported only on the Get group API (`GET /groups/{ID}`).| |hideFromOutlookClients |Boolean |`true` if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web, false otherwise. Default value is `false`. <br><br>Returned only on `$select`. Supported only on the Get group API (`GET /groups/{ID}`).| |id|String|The unique identifier for the group. <br><br>Returned by default. Inherited from [directoryObject](directoryobject.md). Key. Not nullable. Read-only.|
-|isAssignableToRole|Boolean|Indicates whether this group can be assigned to an Azure Active Directory role.<br><br>This property can only be set while creating the group and is immutable. If set to `true`, the **securityEnabled** property must also be set to `true` and the group cannot be a dynamic group (that is, **groupTypes** cannot contain `DynamicMembership`).Only callers in Global Administrator and Privileged Role Administrator roles can set this property. For more, see [Using a group to manage Azure AD role assignments](https://go.microsoft.com/fwlink/?linkid=2103037)<br><br>Returned by default.|
+|isAssignableToRole|Boolean|Indicates whether this group can be assigned to an Azure Active Directory role.<br><br>This property can only be set while creating the group and is immutable. If set to `true`, the **securityEnabled** property must also be set to `true` and the group cannot be a dynamic group (that is, **groupTypes** cannot contain `DynamicMembership`). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must also be assigned the *Directory.AccessAsUser.All* permission to set this property. For more, see [Using a group to manage Azure AD role assignments](https://go.microsoft.com/fwlink/?linkid=2103037)<br><br>Returned by default.|
|infoCatalogs|String collection|Identifies the info segments assigned to the group. Returned by default.| |isSubscribedByMail|Boolean|Indicates whether the signed-in user is subscribed to receive email conversations. Default value is `true`. <br><br>Returned only on `$select`. Supported only on the Get group API (`GET /groups/{ID}`). | |licenseProcessingState|String|Indicates status of the group license assignment to all members of the group. Possible values: `QueuedForProcessing`, `ProcessingInProgress`, and `ProcessingComplete`. <br><br>Returned only on `$select`. Read-only. |
v1.0 Grouplifecyclepolicy https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/grouplifecyclepolicy.md
Represents a lifecycle policy for a Microsoft 365 group. A group lifecycle polic
|:|:--|:-| |alternateNotificationEmails|String| List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon. | |groupLifetimeInDays|Int32| Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined. |
-|id|Guid| A unique identifier for a policy. Read-only.|
+|id|String| A unique identifier for a policy. Read-only.|
|managedGroupTypes|String| The group type for which the expiration policy applies. Possible values are **All**, **Selected** or **None**. | ## Relationships
v1.0 List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/list.md
The following tasks are available for list resources.
**Note:** This beta only allows navigating lists, not creating or updating them. You can, however, create or update [list items][listItem].
-All examples below are relative to a site, eg: `https://graph.microsoft.com/beta/sites/{site-id}`.
+All examples below are relative to a site, for example, `https://graph.microsoft.com/beta/sites/{site-id}`.
| Common task | HTTP method |:--|:
v1.0 Group Post Groups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-groups.md
The following table shows the properties of the [group](../resources/group.md) r
| mailEnabled | boolean | Set to **true** for mail-enabled groups. Required. | | mailNickname | string | The mail alias for the group. Max. length: 64 characters. These characters cannot be used in the mailNickName: `@()\[]";:.<>,SPACE`. Required. | | securityEnabled | boolean | Set to **true** for security-enabled groups, including Microsoft 365 groups. Required. |
-| owners | string collection | This property represents the owners for the group at creation time. Optional. |
+| owners | string collection | This property represents the owners for the group at creation time. Owners aren't automatically added as group members unless specified in the **members** property. Optional. |
| members | string collection | This property represents the members for the group at creation time. Optional. | |visibility|String|Specifies the visibility of a Microsoft 365 group. Possible values are: `Private`, `Public`, `HiddenMembership`, or empty (which is interpreted as `Public`).|
Content-type: application/json
#### Request
-The following is an example of the request.
+The following is an example of the request. The calling user must be assigned the *Directory.AccessAsUser.All* permission to set the **isAssignableToRole** property.
# [HTTP](#tab/http)
v1.0 Group Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-update.md
In the request body, supply the values for relevant fields that should be update
> **Note:** >
-> - You can update **allowExternalSenders** and **autoSubscribeNewMembers** by specifying them in their own PATCH request, without including the other properties in the table above.
+> - To update the following Exchange-specific properties, you must specify them in their own PATCH request, without including the other properties listed in the table above: **allowExternalSenders**, **autoSubscribeNewMembers**, **hideFromAddressLists**, **hideFromOutlookClients**, **isSubscribedByMail**, **unseenCount**.
> - Only a subset of the group API pertaining to core group administration and management support application and delegated permissions. All other members of the group API, including updating **autoSubscribeNewMembers**, support only delegated permissions. See [known issues](/graph/known-issues#groups) for examples. > - The rules for updating mail-enabled security groups in Microsoft Exchange Server can be complex; to learn more, see [Manage mail-enabled security groups in Exchange Server](/Exchange/recipients/mail-enabled-security-groups?view=exchserver-2019).
The following is an example of the request.
```http PATCH https://graph.microsoft.com/v1.0/groups/{id} Content-type: application/json
-Content-length: 211
{
- "description": "description-value",
- "displayName": "displayName-value",
+ "description": "Library Assist",
+ "displayName": "Library Assist",
"groupTypes": [
- "groupTypes-value"
+ "Unified"
],
- "mail": "mail-value",
"mailEnabled": true,
- "mailNickname": "mailNickname-value"
+ "mailNickname": "library-help"
} ``` # [C#](#tab/csharp)
v1.0 Grouplifecyclepolicy Addgroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/grouplifecyclepolicy-addgroup.md
doc_type: apiPageType
Namespace: microsoft.graph
-Adds a group to a lifecycle policy.
+Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the **managedGroupTypes** property of [groupLifecyclePolicy](../resources/grouplifecyclepolicy.md) is set to `Selected`.
## Permissions
In the request body, provide a JSON object with the following parameters.
| Parameter | Type | Description | |:|:--|:-|
-|groupId|Guid| The id of the group to add to the policy. |
+|groupId|String| The identifier of the group to add to the policy. |
+
+When the **managedGroupTypes** property of [groupLifecyclePolicy](../resources/grouplifecyclepolicy.md) is set to `Selected`, you can add up to 500 groups to the list. If you need to add more than 500 groups, the **managedGroupTypes** property of [groupLifecyclePolicy](../resources/grouplifecyclepolicy.md) must be set to `All`.
+
+Only one group can be added per request.
## Response
-If successful, this method returns `200 OK` response code. If the group is added to the policy, a **true** value is returned in the response body. Otherwise, a **false** value is returned in the reponse body.
+If successful, this method returns `200 OK` response code. If the group is added to the policy, a `true` value is returned in the response body. Otherwise, a `false` value is returned in the response body.
## Example
v1.0 Grouplifecyclepolicy Removegroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/grouplifecyclepolicy-removegroup.md
In the request body, provide a JSON object with the following parameters.
| Parameter | Type | Description | |:|:--|:-|
-|groupId|Guid| The id of the group to remove from the policy.|
+|groupId|String| The identifier of the group to remove from the policy.|
## Response
-If successful, this method returns `200 OK` response code. If the group is removed from the policy, a **true** value is returned in the response body. Otherwise, a **false** value is returned in the reponse body.
+If successful, this method returns `200 OK` response code. If the group is removed from the policy, a `true` value is returned in the response body. Otherwise, a `false` value is returned in the response body.
## Example
v1.0 Serviceprincipal Delete Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-delete-approleassignedto.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-DELETE /servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{principal-id}
+DELETE /servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{appRoleAssignment-id}
``` > [!NOTE]
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" }--> ```http
-DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{principalId}
+DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{resource-SP-id}/appRoleAssignedTo/{appRoleAssignment-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.
+In this example, `{resource-SP-id}` is the id of the resource service principal, and `{appRoleAssignment-id}` is the id of the appRoleAssignment object that represents an assignment to the user, group, or client service principal.
### Response
v1.0 User Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-update.md
The following example shows a request to reset the password of another user.
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_user_passwordProfile"
Content-type: application/json
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Group https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/group.md
This resource supports:
|hideFromAddressLists |Boolean |True if the group is not displayed in certain parts of the Outlook UI: the **Address Book**, address lists for selecting message recipients, and the **Browse Groups** dialog for searching groups; otherwise, false. Default value is `false`. <br><br>Returned only on `$select`. Supported only on the Get group API (`GET /groups/{ID}`).| |hideFromOutlookClients |Boolean |True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. Default value is `false`. <br><br>Returned only on `$select`. Supported only on the Get group API (`GET /groups/{ID}`).| |id|String|The unique identifier for the group. <br><br>Returned by default. Inherited from [directoryObject](directoryobject.md). Key. Not nullable. Read-only.|
-|isAssignableToRole|Boolean|Indicates whether this group can be assigned to an Azure Active Directory role or not.<br><br>This property can only be set while creating the group and is immutable. Only Global Administrator and Privileged Role Administrator roles can set this property. For more information, see [Using a group to manage Azure AD role assignments](https://go.microsoft.com/fwlink/?linkid=2103037)<br><br>Returned by default.|
+|isAssignableToRole|Boolean|Indicates whether this group can be assigned to an Azure Active Directory role or not.<br><br>This property can only be set while creating the group and is immutable. If set to `true`, the **securityEnabled** property must also be set to `true` and the group cannot be a dynamic group (that is, **groupTypes** cannot contain `DynamicMembership`). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must also be assigned the *Directory.AccessAsUser.All* permission to set this property. For more, see [Using a group to manage Azure AD role assignments](https://go.microsoft.com/fwlink/?linkid=2103037)<br><br>Returned by default.|
|isSubscribedByMail|Boolean|Indicates whether the signed-in user is subscribed to receive email conversations. Default value is `true`. <br><br>Returned only on `$select`. Supported only on the Get group API (`GET /groups/{ID}`). | |licenseProcessingState|String|Indicates status of the group license assignment to all members of the group. Default value is `false`. Read-only. Possible values: `QueuedForProcessing`, `ProcessingInProgress`, and `ProcessingComplete`.<br><br>Returned only on `$select`. Read-only.| |mail|String|The SMTP address for the group, for example, "serviceadmins@contoso.onmicrosoft.com". <br><br>Returned by default. Read-only. Supports `$filter`.|
v1.0 Grouplifecyclepolicy https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/grouplifecyclepolicy.md
Represents a lifecycle policy for a Microsoft 365 group. A group lifecycle polic
|:|:--|:-| |alternateNotificationEmails|String| List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon. | |groupLifetimeInDays|Int32| Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined. |
-|id|Guid| A unique identifier for a policy. Read-only.|
+|id|String| A unique identifier for a policy. Read-only.|
|managedGroupTypes|String| The group type for which the expiration policy applies. Possible values are **All**, **Selected** or **None**. | ## Relationships
v1.0 List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/list.md
The following tasks are available for list resources.
**Note:** This beta only allows navigating lists, not creating or updating them. You can, however, create or update [list items][listItem].
-All examples below are relative to a site, eg: `https://graph.microsoft.com/v1.0/sites/{site-id}`.
+All examples below are relative to a site, for example, `https://graph.microsoft.com/v1.0/sites/{site-id}`.
| Common task | HTTP method |:--|:
v1.0 Toc.Yml https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/toc.yml a/api-reference/v1.0/toc.yml
items:
href: api/adminconsentrequestpolicy-get.md - name: Update href: api/adminconsentrequestpolicy-update.md
- - name: App consent requests
- href: resources/appconsentrequest.md
- items:
- - name: List
- href: api/appconsentrequest-list.md
- - name: Get
- href: api/appconsentrequest-get.md
- - name: Filter by current user
- href: api/appconsentrequest-filterByCurrentUser.md
+ - name: App consent requests
+ href: resources/appconsentrequest.md
+ items:
+ - name: List
+ href: api/appconsentrequest-list.md
+ - name: Get
+ href: api/appconsentrequest-get.md
+ - name: Filter by current user
+ href: api/appconsentrequest-filterByCurrentUser.md
- name: User consent requests href: resources/userconsentrequest.md items: