Skip to content

Commit 1deded9

Browse files
authored
Merge pull request #2400 from microsoftgraph/dev
Release 5.46.0
2 parents 1db72a8 + fea8c90 commit 1deded9

File tree

182 files changed

+1562
-652
lines changed

Some content is hidden

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

182 files changed

+1562
-652
lines changed

.github/workflows/auto-merge-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Dependabot metadata
2121
id: metadata
22-
uses: dependabot/fetch-metadata@v1.6.0
22+
uses: dependabot/fetch-metadata@v2.0.0
2323
with:
2424
github-token: "${{ secrets.GITHUB_TOKEN }}"
2525

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
77

88
## [Unreleased]
99

10+
## [5.46.0] - 2024-03-27
11+
12+
- Latest metadata updates from 27th March 2024.
13+
1014
## [5.45.0] - 2024-03-21
1115

1216
- Latest metadata updates from 20th March 2024.

scripts/IncrementMinorVersion.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ $patchVersion = $currentProjectVersion.Build.ToString()
3838
# Get the current version of the latest public NuGet package.
3939
$url = "https://api.nuget.org/v3/registration5-gz-semver2/microsoft.graph/index.json"
4040
$nugetIndex = Invoke-RestMethod -Uri $url -Method Get
41-
$currentPublishedVersion = $nugetIndex.items[0].upper
41+
$currentPublishedVersion = $nugetIndex.items[$nugetIndex.items.Count-1].upper
4242
$publishedMajorVersion = $currentPublishedVersion.Split(".")[0]
4343
$publishedMinorVersion = $currentPublishedVersion.Split(".")[1]
4444
$publishedPatchVersion = $currentPublishedVersion.Split(".")[2]

src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<RequestConfigur
8181
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
8282
}
8383
/// <summary>
84-
/// Send a new reply to a chatMessage in a specified channel.
85-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0" />
84+
/// Create a new reply to a chatMessage in a specified channel.
85+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0" />
8686
/// </summary>
8787
/// <returns>A <see cref="ChatMessage"/></returns>
8888
/// <param name="body">The request body</param>
@@ -126,7 +126,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Re
126126
return requestInfo;
127127
}
128128
/// <summary>
129-
/// Send a new reply to a chatMessage in a specified channel.
129+
/// Create a new reply to a chatMessage in a specified channel.
130130
/// </summary>
131131
/// <returns>A <see cref="RequestInformation"/></returns>
132132
/// <param name="body">The request body</param>

src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<RequestConfigur
8181
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
8282
}
8383
/// <summary>
84-
/// Send a new chatMessage in the specified chat. This API can&apos;t create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
85-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0" />
84+
/// Send a new chatMessage in the specified channel or a chat.
85+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0" />
8686
/// </summary>
8787
/// <returns>A <see cref="ChatMessage"/></returns>
8888
/// <param name="body">The request body</param>
@@ -126,7 +126,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Me
126126
return requestInfo;
127127
}
128128
/// <summary>
129-
/// Send a new chatMessage in the specified chat. This API can&apos;t create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
129+
/// Send a new chatMessage in the specified channel or a chat.
130130
/// </summary>
131131
/// <returns>A <see cref="RequestInformation"/></returns>
132132
/// <param name="body">The request body</param>

src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
3232
{
3333
}
3434
/// <summary>
35-
/// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
36-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0" />
35+
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
36+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0" />
3737
/// </summary>
3838
/// <returns>A <see cref="InviteParticipantsOperation"/></returns>
3939
/// <param name="body">The request body</param>
@@ -58,7 +58,7 @@ public async Task<InviteParticipantsOperation> PostAsync(InvitePostRequestBody b
5858
return await RequestAdapter.SendAsync<InviteParticipantsOperation>(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
5959
}
6060
/// <summary>
61-
/// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
61+
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
6262
/// </summary>
6363
/// <returns>A <see cref="RequestInformation"/></returns>
6464
/// <param name="body">The request body</param>

src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
123123
}
124124
/// <summary>
125125
/// Read properties and relationships of the deviceAppManagement object.
126-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0" />
126+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-get?view=graph-rest-1.0" />
127127
/// </summary>
128128
/// <returns>A <see cref="Microsoft.Graph.Models.DeviceAppManagement"/></returns>
129129
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -147,7 +147,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
147147
}
148148
/// <summary>
149149
/// Update the properties of a deviceAppManagement object.
150-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0" />
150+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0" />
151151
/// </summary>
152152
/// <returns>A <see cref="Microsoft.Graph.Models.DeviceAppManagement"/></returns>
153153
/// <param name="body">The request body</param>

src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
6060
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
6161
}
6262
/// <summary>
63-
/// Read properties and relationships of the windowsInformationProtection object.
64-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0" />
63+
/// Read properties and relationships of the managedAppConfiguration object.
64+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0" />
6565
/// </summary>
6666
/// <returns>A <see cref="ManagedAppPolicy"/></returns>
6767
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -128,7 +128,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
128128
return requestInfo;
129129
}
130130
/// <summary>
131-
/// Read properties and relationships of the windowsInformationProtection object.
131+
/// Read properties and relationships of the managedAppConfiguration object.
132132
/// </summary>
133133
/// <returns>A <see cref="RequestInformation"/></returns>
134134
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -185,7 +185,7 @@ public class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration : Requ
185185
{
186186
}
187187
/// <summary>
188-
/// Read properties and relationships of the windowsInformationProtection object.
188+
/// Read properties and relationships of the managedAppConfiguration object.
189189
/// </summary>
190190
public class ManagedAppPolicyItemRequestBuilderGetQueryParameters
191191
{

src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
3232
}
3333
/// <summary>
3434
/// Not yet documented
35-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0" />
35+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0" />
3636
/// </summary>
3737
/// <param name="body">The request body</param>
3838
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>

src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd
5151
{
5252
}
5353
/// <summary>
54-
/// List properties and relationships of the managedAppConfiguration objects.
55-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0" />
54+
/// List properties and relationships of the managedAppPolicy objects.
55+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0" />
5656
/// </summary>
5757
/// <returns>A <see cref="ManagedAppPolicyCollectionResponse"/></returns>
5858
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -100,7 +100,7 @@ public async Task<ManagedAppPolicy> PostAsync(ManagedAppPolicy body, Action<Requ
100100
return await RequestAdapter.SendAsync<ManagedAppPolicy>(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
101101
}
102102
/// <summary>
103-
/// List properties and relationships of the managedAppConfiguration objects.
103+
/// List properties and relationships of the managedAppPolicy objects.
104104
/// </summary>
105105
/// <returns>A <see cref="RequestInformation"/></returns>
106106
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -150,7 +150,7 @@ public ManagedAppPoliciesRequestBuilder WithUrl(string rawUrl)
150150
return new ManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter);
151151
}
152152
/// <summary>
153-
/// List properties and relationships of the managedAppConfiguration objects.
153+
/// List properties and relationships of the managedAppPolicy objects.
154154
/// </summary>
155155
public class ManagedAppPoliciesRequestBuilderGetQueryParameters
156156
{

src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
3232
}
3333
/// <summary>
3434
/// Not yet documented
35-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0" />
35+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0" />
3636
/// </summary>
3737
/// <param name="body">The request body</param>
3838
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>

src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
3232
}
3333
/// <summary>
3434
/// Not yet documented
35-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0" />
35+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0" />
3636
/// </summary>
3737
/// <param name="body">The request body</param>
3838
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>

src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
7272
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
7373
}
7474
/// <summary>
75-
/// Read properties and relationships of the managedAppRegistration object.
76-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0" />
75+
/// Read properties and relationships of the androidManagedAppRegistration object.
76+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0" />
7777
/// </summary>
7878
/// <returns>A <see cref="ManagedAppRegistration"/></returns>
7979
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -140,7 +140,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
140140
return requestInfo;
141141
}
142142
/// <summary>
143-
/// Read properties and relationships of the managedAppRegistration object.
143+
/// Read properties and relationships of the androidManagedAppRegistration object.
144144
/// </summary>
145145
/// <returns>A <see cref="RequestInformation"/></returns>
146146
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -197,7 +197,7 @@ public class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration
197197
{
198198
}
199199
/// <summary>
200-
/// Read properties and relationships of the managedAppRegistration object.
200+
/// Read properties and relationships of the androidManagedAppRegistration object.
201201
/// </summary>
202202
public class ManagedAppRegistrationItemRequestBuilderGetQueryParameters
203203
{

src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requ
5757
{
5858
}
5959
/// <summary>
60-
/// List properties and relationships of the androidManagedAppRegistration objects.
61-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0" />
60+
/// List properties and relationships of the iosManagedAppRegistration objects.
61+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0" />
6262
/// </summary>
6363
/// <returns>A <see cref="ManagedAppRegistrationCollectionResponse"/></returns>
6464
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -107,7 +107,7 @@ public async Task<ManagedAppRegistration> PostAsync(ManagedAppRegistration body,
107107
return await RequestAdapter.SendAsync<ManagedAppRegistration>(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
108108
}
109109
/// <summary>
110-
/// List properties and relationships of the androidManagedAppRegistration objects.
110+
/// List properties and relationships of the iosManagedAppRegistration objects.
111111
/// </summary>
112112
/// <returns>A <see cref="RequestInformation"/></returns>
113113
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -157,7 +157,7 @@ public ManagedAppRegistrationsRequestBuilder WithUrl(string rawUrl)
157157
return new ManagedAppRegistrationsRequestBuilder(rawUrl, RequestAdapter);
158158
}
159159
/// <summary>
160-
/// List properties and relationships of the androidManagedAppRegistration objects.
160+
/// List properties and relationships of the iosManagedAppRegistration objects.
161161
/// </summary>
162162
public class ManagedAppRegistrationsRequestBuilderGetQueryParameters
163163
{

src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ public async Task<ManagedEBookAssignmentCollectionResponse> GetAsync(Action<Requ
7575
return await RequestAdapter.SendAsync<ManagedEBookAssignmentCollectionResponse>(requestInfo, ManagedEBookAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
7676
}
7777
/// <summary>
78-
/// Create a new managedEBookAssignment object.
79-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0" />
78+
/// Create a new iosVppEBookAssignment object.
79+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0" />
8080
/// </summary>
8181
/// <returns>A <see cref="ManagedEBookAssignment"/></returns>
8282
/// <param name="body">The request body</param>
@@ -120,7 +120,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<As
120120
return requestInfo;
121121
}
122122
/// <summary>
123-
/// Create a new managedEBookAssignment object.
123+
/// Create a new iosVppEBookAssignment object.
124124
/// </summary>
125125
/// <returns>A <see cref="RequestInformation"/></returns>
126126
/// <param name="body">The request body</param>

0 commit comments

Comments
 (0)