Skip to content

Commit 55cf0ff

Browse files
Merge pull request #28578 from microsoftgraph/main
Merge to publish.
2 parents 48739ca + ed8bd63 commit 55cf0ff

45 files changed

Lines changed: 758 additions & 298 deletions

Some content is hidden

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

.github/policies/resourceManagement.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,42 @@ configuration:
10141014
then:
10151015
- addLabel:
10161016
label: ready to merge
1017+
- description: Remove do not merge label when pull request is labeled ready to merge
1018+
if:
1019+
- payloadType: Pull_Request
1020+
- labelAdded:
1021+
label: ready to merge
1022+
- isOpen
1023+
then:
1024+
- removeLabel:
1025+
label: do not merge
1026+
- description: Remove ready to merge label when pull request is labeled do not merge
1027+
if:
1028+
- payloadType: Pull_Request
1029+
- labelAdded:
1030+
label: do not merge
1031+
- isOpen
1032+
then:
1033+
- removeLabel:
1034+
label: ready to merge
1035+
- description: Remove resolved awaiting prod deployment label when pull request is labeled schema live
1036+
if:
1037+
- payloadType: Pull_Request
1038+
- labelAdded:
1039+
label: schema live
1040+
- isOpen
1041+
then:
1042+
- removeLabel:
1043+
label: 'resolved: awaiting prod deployment'
1044+
- description: Add schema live label when pull request is labeled resolved awaiting prod deployment
1045+
if:
1046+
- payloadType: Pull_Request
1047+
- labelAdded:
1048+
label: 'resolved: awaiting prod deployment'
1049+
- isOpen
1050+
then:
1051+
- addLabel:
1052+
label: schema live
10171053
- description: Add do not merge label to new pull requests opened by contributors
10181054
if:
10191055
- payloadType: Pull_Request

api-reference/beta/api/channel-getallmessages.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Retrieve [messages](../resources/chatmessage.md) across all [channels](../resour
1818

1919
To learn more about using the Microsoft Teams export APIs to export content, see [Export content with the Microsoft Teams export APIs](/microsoftteams/export-teams-content).
2020

21-
[!INCLUDE [teams-metered-apis](../../includes/teams-metered-apis.md)]
2221

2322
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
2423

@@ -38,16 +37,6 @@ GET /teams/{team-id}/channels/getAllMessages
3837

3938
## Optional query parameters
4039

41-
You can use `model` query parameter, which supports the values `A` and `B`, based on the preferred [licensing and payment model](/graph/teams-licenses),
42-
as shown in the following examples.
43-
If no `model` is specified, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) is used.
44-
45-
```http
46-
GET /teams/{team-id}/channels/getAllMessages?model=A
47-
GET /teams/{team-id}/channels/getAllMessages?model=B
48-
```
49-
If no `model` parameter is specified, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) is used.
50-
5140
You can use the [$top](/graph/query-parameters#top-parameter) query parameter to control the number of items per response.
5241
Additionally, [$filter](/graph/query-parameters#filter-parameter) is supported with **dateTime** range query on **lastModifiedDateTime**. The other [OData query parameters](/graph/query-parameters) aren't currently supported.
5342

api-reference/beta/api/channel-getallretainedmessages.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Get all retained [messages](../resources/chatmessage.md) across all [channels](.
1818

1919
To learn more about how to use the Microsoft Teams export APIs to export content, see [Export content with the Microsoft Teams export APIs](/microsoftteams/export-teams-content).
2020

21-
[!INCLUDE [teams-metered-apis](../../includes/teams-metered-apis.md)]
2221

2322
> [!NOTE]
2423
> This API requires [Teams retention policies](/purview/create-retention-policies?tabs=teams-retention) to be configured. For more information, see [Learn about retention for Microsoft Teams](/purview/retention-policies-teams).
@@ -47,13 +46,6 @@ GET /teams/{teamsId}/channels/getAllRetainedMessages
4746

4847
## Optional query parameters
4948

50-
The following example shows how to use the `model` query parameter with values `A` or `B` to select the preferred [licensing and payment model](/graph/teams-licenses). If you don't specify a `model`, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) is used by default.
51-
52-
```http
53-
GET /teams/{team-id}/channels/getAllRetainedMessages?model=A
54-
GET /teams/{team-id}/channels/getAllRetainedMessages?model=B
55-
```
56-
5749
This method supports the following OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
5850

5951
| Name |Description|

api-reference/beta/api/channel-list-enabledapps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Don't supply a request body for this method.
5151

5252
## Response
5353

54-
If successful, this method returns a `200 OK` response code and a collection of [teamsApp](../resources/teamsapp.md) objects in the response body. The response also includes the **@odata.id** property which can be used to access the **teamsApp** and run other operations on the [teamsApp](../resources/teamsApp.md) object.
54+
If successful, this method returns a `200 OK` response code and a collection of [teamsApp](../resources/teamsapp.md) objects in the response body. The response also includes the **@odata.id** property which can be used to access the **teamsApp** and run other operations on the [teamsApp](../resources/teamsapp.md) object.
5555

5656
## Examples
5757

api-reference/beta/api/channel-patch.md

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

1717
Update the properties of the specified [channel](../resources/channel.md).
1818

19-
[!INCLUDE [teams-model-A-only-disclaimer](../../includes/teams-model-A-only-disclaimer.md)]
20-
2119
[!INCLUDE [national-cloud-support](../../includes/all-clouds.md)]
2220

2321
## Permissions

api-reference/beta/api/chat-getallretainedmessages.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Get all retained [messages](../resources/chatmessage.md) from all [chats](../res
1818

1919
To learn more about how to use the Microsoft Teams export APIs to export content, see [Export content with the Microsoft Teams export APIs](/microsoftteams/export-teams-content).
2020

21-
[!INCLUDE [teams-metered-apis](../../includes/teams-metered-apis.md)]
2221

2322
> [!NOTE]
2423
> This API requires [Teams retention policies](/purview/create-retention-policies?tabs=teams-retention) to be configured. For more information, see [Learn about retention for Microsoft Teams](/purview/retention-policies-teams).
@@ -44,13 +43,6 @@ GET /users/{id}/chats/getAllRetainedMessages
4443

4544
## Optional query parameters
4645

47-
The following example shows how to use the `model` query parameter with values `A` or `B` to select the preferred [licensing and payment model](/graph/teams-licenses). If you don't specify a payment model, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) is used by default.
48-
49-
```http
50-
GET /users/{id}/chats/getAllRetainedMessages?model=A
51-
GET /users/{id}/chats/getAllRetainedMessages?model=B
52-
```
53-
5446
This method supports the following OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
5547

5648
| Name |Description|

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

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ Updating works only for chats where conversation members are Microsoft Teams use
2020

2121
This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message.
2222

23-
[!INCLUDE [teams-model-A-only-disclaimer](../../includes/teams-model-A-only-disclaimer.md)]
23+
> [!NOTE]
24+
> When used with application permissions, a [license](/office365/servicedescriptions/microsoft-365-service-descriptions/microsoft-365-tenantlevel-services-licensing-guidance/microsoft-365-security-compliance-licensing-guidance#microsoft-purview-data-loss-prevention-graph-apis-for-teams-data-loss-prevention-dlp-and-for-teams-export) that includes the Microsoft Communications DLP [service plan](/azure/active-directory/enterprise-users/licensing-service-plan-reference) is required.
2425
2526
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
2627

@@ -64,19 +65,6 @@ To update a **chatMessage** in a **chat**:
6465
```http
6566
PATCH /chats/{chatThread-id}/messages/{message-id}
6667
```
67-
68-
## Optional query parameters
69-
70-
You can use `model` query parameter, which only supports the value `A`, as shown in the following examples.
71-
72-
```http
73-
PATCH /teams/(team-id)/channels/{channel-id}/messages/{message-id}?model=A
74-
PATCH /teams/(team-id)/channels/{channel-id}/messages/{message-id}/replies/{reply-id}?model=A
75-
PATCH /chats/{chatThread-id}/messages/{message-id}?model=A
76-
```
77-
78-
If no `model` is specified, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) is used.
79-
8068
## Request headers
8169

8270
| Name | Description |
@@ -108,7 +96,11 @@ If successful, this method returns a `200 OK` response.
10896

10997
### Errors
11098

111-
[!INCLUDE [teams-model-A-only-errors](../../includes/teams-model-A-only-errors.md)]
99+
The following table lists other response codes that this API can return.
100+
101+
| Sample error type | Status code | Sample error messages |
102+
|:---|:---|:---|
103+
| E5 license or Microsoft Communications service plan requirement not met. | 402 Payment Required | `"...needs a valid license to access this API..."` </br> `"...tenant needs a valid license to access this API..."` |
112104

113105
## Examples
114106

api-reference/beta/api/chats-getallmessages.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Get all messages from all [chats](../resources/chatmessage.md) in which a user i
1818

1919
To learn more about how to use the Microsoft Teams export APIs to export content, see [Export content with the Microsoft Teams export APIs](/microsoftteams/export-teams-content).
2020

21-
[!INCLUDE [teams-metered-apis](../../includes/teams-metered-apis.md)]
2221

2322
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
2423

@@ -38,17 +37,6 @@ GET /users/{id | user-principal-name}/chats/getAllMessages
3837

3938
## Optional query parameters
4039

41-
You can use the `model` query parameter, which supports the values `A` and `B`, based on the preferred [licensing and payment model](/graph/teams-licenses),
42-
as shown in the following examples.
43-
44-
<!-- { "blockType": "ignored" } -->
45-
```http
46-
GET /users/{id | user-principal-name}/chats/getAllMessages?model=A
47-
GET /users/{id | user-principal-name}/chats/getAllMessages?model=B
48-
```
49-
50-
If no `model` parameter is specified, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) will be used.
51-
5240
This method also supports [date range parameters](/graph/query-parameters) to customize the response, as shown in the following example.
5341

5442
<!-- { "blockType": "ignored" } -->

api-reference/beta/api/deletedteam-getallmessages.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ Retrieve all [messages](../resources/chatmessage.md) across all [channels](../re
1717

1818
To learn more about using the Microsoft Teams export APIs to export content, see [Export content with the Microsoft Teams Export APIs](/microsoftteams/export-teams-content).
1919

20-
[!INCLUDE [teams-model-A-and-B-disclaimer](../../includes/teams-model-A-and-B-disclaimer.md)]
21-
2220
[!INCLUDE [national-cloud-support](../../includes/all-clouds.md)]
2321

2422
## Permissions
@@ -44,16 +42,6 @@ GET /teamwork/deletedTeams/{deletedTeamId}/channels/getAllMessages
4442

4543
## Optional query parameters
4644

47-
You can use the `model` query parameter, which supports the values `A` and `B`, based on the preferred [licensing and payment model](/graph/teams-licenses),
48-
as shown in the following examples.
49-
50-
```http
51-
GET /teamwork/deletedTeams/{deletedTeamId}/channels/getAllMessages?model=A
52-
GET /teamwork/deletedTeams/{deletedTeamId}/channels/getAllMessages?model=B
53-
```
54-
55-
If the `model` parameter is not specified, the [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) will be used.
56-
5745
This method supports the [$top](/graph/query-parameters#top-parameter) query parameter to control the number of items per response and the [$filter](/graph/query-parameters#filter-parameter) query parameter with the **dateTime** range query on **lastModifiedDateTime**. Other [OData query parameters](/graph/query-parameters) are currently not supported.
5846

5947
## Request body

api-reference/beta/resources/teamsapp.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ Users can see these apps in the Microsoft Teams Store, and these apps can be ins
4343

4444
### teamsAppDistributionMethod values
4545

46-
|Member|Value|Description|
47-
|:---|:---|:---|
48-
|store|0| The app is available to all tenants through the Microsoft Teams app store.|
49-
|organization|1|The app is available only in this tenant.|
50-
|sideloaded|2|The app is available only to the user/team its installed to.|
46+
|Member|Description|
47+
|:---|:---|
48+
|store| The app is available to all tenants through the Microsoft Teams app store.|
49+
|organization|The app is available only in this tenant.|
50+
|sideloaded|The app is available only to the user or team it's installed to.|
51+
|unknownFutureValue|Evolvable enumeration sentinel value. Don't use. |
5152

5253
## Relationships
5354

0 commit comments

Comments
 (0)