diff --git a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs
index 03a53022d8f4..5d9df1fce4b1 100644
--- a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs
@@ -44,7 +44,7 @@ public partial class AdminRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.CloudLicensingRequestBuilder(PathParameters, RequestAdapter);
}
- /// Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity.
+ /// The configurationManagement property
public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder ConfigurationManagement
{
get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder(PathParameters, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs
index 4bf2a47991ca..9e30be74b718 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs
@@ -78,31 +78,6 @@ public ConfigurationDriftsRequestBuilder(string rawUrl, IRequestAdapter requestA
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationDriftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to configurationDrifts for admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPostRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get a list of the configurationDrift objects and their properties.
///
/// A
@@ -122,28 +97,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to configurationDrifts for admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
/// A
@@ -226,14 +179,6 @@ public partial class ConfigurationDriftsRequestBuilderGetQueryParameters
public partial class ConfigurationDriftsRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationDriftsRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs
index 6624dccb0d21..5d115765f23b 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs
@@ -35,28 +35,6 @@ public ConfigurationDriftItemRequestBuilder(string rawUrl, IRequestAdapter reque
{
}
///
- /// Delete navigation property configurationDrifts for admin
- ///
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- var requestInfo = ToDeleteRequestInformation(requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get the properties and relationships of a configurationDrift object.
/// Find more info here
///
@@ -81,50 +59,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property configurationDrifts in admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property configurationDrifts for admin
- ///
- /// A
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
- {
-#endif
- var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- return requestInfo;
- }
- ///
/// Get the properties and relationships of a configurationDrift object.
///
/// A
@@ -144,28 +78,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property configurationDrifts in admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
/// A
@@ -175,14 +87,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta
return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationDriftItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// Get the properties and relationships of a configurationDrift object.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -217,14 +121,6 @@ public partial class ConfigurationDriftItemRequestBuilderGetQueryParameters
public partial class ConfigurationDriftItemRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationDriftItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs
index 6ee69214e71f..4a34fc69728b 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs
@@ -5,20 +5,16 @@
using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors;
using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs;
using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots;
-using Microsoft.Graph.Beta.Models.ODataErrors;
-using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Extensions;
-using Microsoft.Kiota.Abstractions.Serialization;
using Microsoft.Kiota.Abstractions;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
-using System.Threading;
using System;
namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement
{
///
- /// Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity.
+ /// Builds and executes requests for operations under \admin\configurationManagement
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ConfigurationManagementRequestBuilder : BaseRequestBuilder
@@ -53,7 +49,7 @@ public partial class ConfigurationManagementRequestBuilder : BaseRequestBuilder
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ConfigurationManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", pathParameters)
+ public ConfigurationManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement", pathParameters)
{
}
///
@@ -61,197 +57,7 @@ public ConfigurationManagementRequestBuilder(Dictionary pathPara
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ConfigurationManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", rawUrl)
- {
- }
- ///
- /// Delete navigation property configurationManagement for admin
- ///
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- var requestInfo = ToDeleteRequestInformation(requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Get configurationManagement from admin
- ///
- /// A
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- var requestInfo = ToGetRequestInformation(requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Update the navigation property configurationManagement in admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationManagement body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationManagement body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property configurationManagement for admin
- ///
- /// A
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
- {
-#endif
- var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- return requestInfo;
- }
- ///
- /// Get configurationManagement from admin
- ///
- /// A
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
- {
-#endif
- var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- return requestInfo;
- }
- ///
- /// Update the navigation property configurationManagement in admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationManagement body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationManagement body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
- /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
- ///
- /// A
- /// The raw URL to use for the request builder.
- public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder WithUrl(string rawUrl)
- {
- return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder(rawUrl, RequestAdapter);
- }
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationManagementRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
- /// Get configurationManagement from admin
- ///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationManagementRequestBuilderGetQueryParameters
- {
- /// Expand related entities
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%24expand")]
- public string[]? Expand { get; set; }
-#nullable restore
-#else
- [QueryParameter("%24expand")]
- public string[] Expand { get; set; }
-#endif
- /// Select properties to be returned
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%24select")]
- public string[]? Select { get; set; }
-#nullable restore
-#else
- [QueryParameter("%24select")]
- public string[] Select { get; set; }
-#endif
- }
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationManagementRequestBuilderGetRequestConfiguration : RequestConfiguration
- {
- }
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationManagementRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ public ConfigurationManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement", rawUrl)
{
}
}
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs
index d151361d8076..131da6a51e4c 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs
@@ -78,31 +78,6 @@ public ConfigurationMonitoringResultsRequestBuilder(string rawUrl, IRequestAdapt
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to configurationMonitoringResults for admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPostRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get a list of the configurationMonitoringResult objects and their properties.
///
/// A
@@ -122,28 +97,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to configurationMonitoringResults for admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
/// A
@@ -226,14 +179,6 @@ public partial class ConfigurationMonitoringResultsRequestBuilderGetQueryParamet
public partial class ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs
index ad1e77eef1c6..cfada489b484 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs
@@ -35,28 +35,6 @@ public ConfigurationMonitoringResultItemRequestBuilder(string rawUrl, IRequestAd
{
}
///
- /// Delete navigation property configurationMonitoringResults for admin
- ///
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- var requestInfo = ToDeleteRequestInformation(requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Read the properties and relationships of a configurationMonitoringResult object.
/// Find more info here
///
@@ -81,50 +59,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property configurationMonitoringResults in admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property configurationMonitoringResults for admin
- ///
- /// A
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
- {
-#endif
- var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- return requestInfo;
- }
- ///
/// Read the properties and relationships of a configurationMonitoringResult object.
///
/// A
@@ -144,28 +78,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property configurationMonitoringResults in admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
/// A
@@ -175,14 +87,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta
return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// Read the properties and relationships of a configurationMonitoringResult object.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -217,14 +121,6 @@ public partial class ConfigurationMonitoringResultItemRequestBuilderGetQueryPara
public partial class ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs
index cfeb3edc60ad..bd253713ddf8 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs
@@ -35,28 +35,6 @@ public BaselineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b
{
}
///
- /// Delete navigation property baseline for admin
- ///
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- var requestInfo = ToDeleteRequestInformation(requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
/// Find more info here
///
@@ -81,50 +59,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property baseline in admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property baseline for admin
- ///
- /// A
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
- {
-#endif
- var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- return requestInfo;
- }
- ///
/// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
///
/// A
@@ -144,28 +78,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property baseline in admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
/// A
@@ -175,14 +87,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta
return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class BaselineRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -217,14 +121,6 @@ public partial class BaselineRequestBuilderGetQueryParameters
public partial class BaselineRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class BaselineRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs
index 8eae90db9124..88de6bd04995 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs
@@ -1,6 +1,5 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count;
using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item;
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models;
@@ -20,11 +19,6 @@ namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapsh
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ConfigurationSnapshotJobsRequestBuilder : BaseRequestBuilder
{
- /// Provides operations to count the resources in the collection.
- public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder Count
- {
- get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder(PathParameters, RequestAdapter);
- }
/// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity.
/// The unique identifier of configurationSnapshotJob
/// A
@@ -78,31 +72,6 @@ public ConfigurationSnapshotJobsRequestBuilder(string rawUrl, IRequestAdapter re
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to configurationSnapshotJobs for admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPostRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get a list of the configurationSnapshotJob objects and their properties.
///
/// A
@@ -122,28 +91,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to configurationSnapshotJobs for admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
/// A
@@ -226,14 +173,6 @@ public partial class ConfigurationSnapshotJobsRequestBuilderGetQueryParameters
public partial class ConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationSnapshotJobsRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs
index d78189f4d288..932e1cabebe4 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs
@@ -82,31 +82,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property configurationSnapshotJobs in admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Delete a configurationSnapshotJob object.
///
/// A
@@ -145,28 +120,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property configurationSnapshotJobs in admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
/// A
@@ -218,14 +171,6 @@ public partial class ConfigurationSnapshotJobItemRequestBuilderGetQueryParameter
public partial class ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationSnapshotJobItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs
index c3f2183f7934..bda3f9f905db 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs
@@ -1,6 +1,5 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count;
using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item;
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models;
@@ -20,11 +19,6 @@ namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapsh
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ConfigurationSnapshotsRequestBuilder : BaseRequestBuilder
{
- /// Provides operations to count the resources in the collection.
- public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder Count
- {
- get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder(PathParameters, RequestAdapter);
- }
/// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity.
/// The unique identifier of configurationBaseline
/// A
@@ -78,31 +72,6 @@ public ConfigurationSnapshotsRequestBuilder(string rawUrl, IRequestAdapter reque
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaselineCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to configurationSnapshots for admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPostRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get a list of configurationBaseline objects that represent configuration snapshots and their properties.
///
/// A
@@ -122,28 +91,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to configurationSnapshots for admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
/// A
@@ -226,14 +173,6 @@ public partial class ConfigurationSnapshotsRequestBuilderGetQueryParameters
public partial class ConfigurationSnapshotsRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationSnapshotsRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs
index 546c394ee166..38709ac311c8 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs
@@ -35,28 +35,6 @@ public ConfigurationBaselineItemRequestBuilder(string rawUrl, IRequestAdapter re
{
}
///
- /// Delete navigation property configurationSnapshots for admin
- ///
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- var requestInfo = ToDeleteRequestInformation(requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// A container for configuration snapshot baselines.
///
/// A
@@ -80,50 +58,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property configurationSnapshots in admin
- ///
- /// A
- /// The request body
- /// Cancellation token to use when cancelling requests
- /// Configuration for the request such as headers, query parameters, and middleware options.
- /// When receiving a 4XX or 5XX status code
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
- var errorMapping = new Dictionary>
- {
- { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property configurationSnapshots for admin
- ///
- /// A
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
- {
-#endif
- var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- return requestInfo;
- }
- ///
/// A container for configuration snapshot baselines.
///
/// A
@@ -143,28 +77,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property configurationSnapshots in admin
- ///
- /// A
- /// The request body
- /// Configuration for the request such as headers, query parameters, and middleware options.
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default)
- {
-#endif
- if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
- var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
- requestInfo.Configure(requestConfiguration);
- requestInfo.Headers.TryAdd("Accept", "application/json");
- requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
- return requestInfo;
- }
- ///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
/// A
@@ -174,14 +86,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta
return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationBaselineItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// A container for configuration snapshot baselines.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -216,14 +120,6 @@ public partial class ConfigurationBaselineItemRequestBuilderGetQueryParameters
public partial class ConfigurationBaselineItemRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
- ///
- /// Configuration for the request such as headers, query parameters, and middleware options.
- ///
- [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationBaselineItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
index ce01d8d1eae5..0850489e3817 100644
--- a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
+++ b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
@@ -822,6 +822,7 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder
///
/// A
/// Alternate key of servicePrincipal
+ [Obsolete("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01")]
public global::Microsoft.Graph.Beta.ServicePrincipalsWithAppId.ServicePrincipalsWithAppIdRequestBuilder ServicePrincipalsWithAppId(string appId)
{
if(string.IsNullOrEmpty(appId)) throw new ArgumentNullException(nameof(appId));
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
index 0feb917fdddf..14786e073257 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
@@ -229,7 +229,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
/// Update deviceAppManagement
///
/// A
- /// The request body
+ /// Singleton entity that acts as a container for all device app management functionality.
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
@@ -273,7 +273,7 @@ public RequestInformation ToGetRequestInformation(Action
/// A
- /// The request body
+ /// Singleton entity that acts as a container for all device app management functionality.
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/CancelEnhancedLogCollection/CancelEnhancedLogCollectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/CancelEnhancedLogCollection/CancelEnhancedLogCollectionRequestBuilder.cs
new file mode 100644
index 000000000000..393cc4c8262e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/CancelEnhancedLogCollection/CancelEnhancedLogCollectionRequestBuilder.cs
@@ -0,0 +1,96 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.CancelEnhancedLogCollection
+{
+ ///
+ /// Provides operations to call the cancelEnhancedLogCollection method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CancelEnhancedLogCollectionRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CancelEnhancedLogCollectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CancelEnhancedLogCollectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", rawUrl)
+ {
+ }
+ ///
+ /// Cancels an in-progress enhanced log collection session on a supervised Apple device.
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Cancels an in-progress enhanced log collection session on a supervised Apple device.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.CancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.CancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CancelEnhancedLogCollectionRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs
index c8548e5dcb88..5cea44505bba 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs
@@ -3,6 +3,7 @@
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ActivateDeviceEsim;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.AssignmentFilterEvaluationStatusDetails;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.BypassActivationLock;
+using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.CancelEnhancedLogCollection;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ChangeAssignments;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.CleanWindowsDevice;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.CreateDeviceLogCollectionRequest;
@@ -55,6 +56,7 @@
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SyncDevice;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerConfigurationManagerAction;
+using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.UpdateWindowsDeviceAccount;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Users;
using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.WindowsDefenderScan;
@@ -94,6 +96,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.BypassActivationLock.BypassActivationLockRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the cancelEnhancedLogCollection method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.CancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder CancelEnhancedLogCollection
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.CancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the changeAssignments method.
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ChangeAssignments.ChangeAssignmentsRequestBuilder ChangeAssignments
{
@@ -354,6 +361,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the triggerEnhancedLogCollection method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder TriggerEnhancedLogCollection
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the updateWindowsDeviceAccount method.
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountRequestBuilder UpdateWindowsDeviceAccount
{
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Count/CountRequestBuilder.cs
index a2436edad80c..583d2dcccfca 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Count/CountRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Count/CountRequestBuilder.cs
@@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
@@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder WithUrl(string rawUrl)
{
return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder(rawUrl, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SecurityBaselineStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SecurityBaselineStateItemRequestBuilder.cs
index b3e1a99c03cf..41f1a71269c7 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SecurityBaselineStateItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SecurityBaselineStateItemRequestBuilder.cs
@@ -20,6 +20,7 @@ namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBa
public partial class SecurityBaselineStateItemRequestBuilder : BaseRequestBuilder
{
/// Provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.SettingStatesRequestBuilder SettingStates
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.SettingStatesRequestBuilder(PathParameters, RequestAdapter);
@@ -46,6 +47,7 @@ public SecurityBaselineStateItemRequestBuilder(string rawUrl, IRequestAdapter re
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -69,6 +71,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -93,6 +96,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.SecurityBaselineState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -115,6 +119,7 @@ public async Task DeleteAsync(Action
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
@@ -134,6 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
@@ -154,6 +160,7 @@ public RequestInformation ToGetRequestInformation(ActionA
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.SecurityBaselineState body, Action>? requestConfiguration = default)
@@ -175,6 +182,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta
///
/// A
/// The raw URL to use for the request builder.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SecurityBaselineStateItemRequestBuilder WithUrl(string rawUrl)
{
return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SecurityBaselineStateItemRequestBuilder(rawUrl, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/Count/CountRequestBuilder.cs
index 314b9ef664f4..df5b1bfa4511 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/Count/CountRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/Count/CountRequestBuilder.cs
@@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
@@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.Count.CountRequestBuilder WithUrl(string rawUrl)
{
return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.Count.CountRequestBuilder(rawUrl, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/Item/SecurityBaselineSettingStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/Item/SecurityBaselineSettingStateItemRequestBuilder.cs
index ebca47a720d1..dc19d783c56d 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/Item/SecurityBaselineSettingStateItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/Item/SecurityBaselineSettingStateItemRequestBuilder.cs
@@ -40,6 +40,7 @@ public SecurityBaselineSettingStateItemRequestBuilder(string rawUrl, IRequestAda
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -63,6 +64,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -87,6 +89,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.SecurityBaselineSettingState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -109,6 +112,7 @@ public async Task DeleteAsync(Action
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
@@ -128,6 +132,7 @@ public RequestInformation ToDeleteRequestInformation(Action
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
@@ -148,6 +153,7 @@ public RequestInformation ToGetRequestInformation(ActionA
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.SecurityBaselineSettingState body, Action>? requestConfiguration = default)
@@ -169,6 +175,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta
///
/// A
/// The raw URL to use for the request builder.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.Item.SecurityBaselineSettingStateItemRequestBuilder WithUrl(string rawUrl)
{
return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.Item.SecurityBaselineSettingStateItemRequestBuilder(rawUrl, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/SettingStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/SettingStatesRequestBuilder.cs
index 464418fcfdda..194168c7e756 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/SettingStatesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/Item/SettingStates/SettingStatesRequestBuilder.cs
@@ -21,6 +21,7 @@ namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBa
public partial class SettingStatesRequestBuilder : BaseRequestBuilder
{
/// Provides operations to count the resources in the collection.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.Count.CountRequestBuilder Count
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.Count.CountRequestBuilder(PathParameters, RequestAdapter);
@@ -28,6 +29,7 @@ public partial class SettingStatesRequestBuilder : BaseRequestBuilder
/// Provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity.
/// The unique identifier of securityBaselineSettingState
/// A
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.Item.SecurityBaselineSettingStateItemRequestBuilder this[string position]
{
get
@@ -60,6 +62,7 @@ public SettingStatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -84,6 +87,7 @@ public SettingStatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PostAsync(global::Microsoft.Graph.Beta.Models.SecurityBaselineSettingState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -106,6 +110,7 @@ public SettingStatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
@@ -126,6 +131,7 @@ public RequestInformation ToGetRequestInformation(ActionA
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.SecurityBaselineSettingState body, Action>? requestConfiguration = default)
@@ -147,6 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
///
/// A
/// The raw URL to use for the request builder.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.SettingStatesRequestBuilder WithUrl(string rawUrl)
{
return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SettingStates.SettingStatesRequestBuilder(rawUrl, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/SecurityBaselineStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/SecurityBaselineStatesRequestBuilder.cs
index 7416232bfa9a..a8bb87741aba 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/SecurityBaselineStatesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SecurityBaselineStates/SecurityBaselineStatesRequestBuilder.cs
@@ -21,6 +21,7 @@ namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBa
public partial class SecurityBaselineStatesRequestBuilder : BaseRequestBuilder
{
/// Provides operations to count the resources in the collection.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder Count
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder(PathParameters, RequestAdapter);
@@ -28,6 +29,7 @@ public partial class SecurityBaselineStatesRequestBuilder : BaseRequestBuilder
/// Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity.
/// The unique identifier of securityBaselineState
/// A
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Item.SecurityBaselineStateItemRequestBuilder this[string position]
{
get
@@ -60,6 +62,7 @@ public SecurityBaselineStatesRequestBuilder(string rawUrl, IRequestAdapter reque
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -84,6 +87,7 @@ public SecurityBaselineStatesRequestBuilder(string rawUrl, IRequestAdapter reque
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PostAsync(global::Microsoft.Graph.Beta.Models.SecurityBaselineState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -106,6 +110,7 @@ public SecurityBaselineStatesRequestBuilder(string rawUrl, IRequestAdapter reque
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
@@ -126,6 +131,7 @@ public RequestInformation ToGetRequestInformation(ActionA
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.SecurityBaselineState body, Action>? requestConfiguration = default)
@@ -147,6 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
///
/// A
/// The raw URL to use for the request builder.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder WithUrl(string rawUrl)
{
return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder(rawUrl, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/TriggerEnhancedLogCollection/TriggerEnhancedLogCollectionPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/TriggerEnhancedLogCollection/TriggerEnhancedLogCollectionPostRequestBody.cs
new file mode 100644
index 000000000000..e8d0970c7e34
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/TriggerEnhancedLogCollection/TriggerEnhancedLogCollectionPostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class TriggerEnhancedLogCollectionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// The appleCareToken property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? AppleCareToken
+ {
+ get { return BackingStore?.Get("appleCareToken"); }
+ set { BackingStore?.Set("appleCareToken", value); }
+ }
+#nullable restore
+#else
+ public string AppleCareToken
+ {
+ get { return BackingStore?.Get("appleCareToken"); }
+ set { BackingStore?.Set("appleCareToken", value); }
+ }
+#endif
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public TriggerEnhancedLogCollectionPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "appleCareToken", n => { AppleCareToken = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("appleCareToken", AppleCareToken);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/TriggerEnhancedLogCollection/TriggerEnhancedLogCollectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/TriggerEnhancedLogCollection/TriggerEnhancedLogCollectionRequestBuilder.cs
new file mode 100644
index 000000000000..ca61f128559e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/TriggerEnhancedLogCollection/TriggerEnhancedLogCollectionRequestBuilder.cs
@@ -0,0 +1,101 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection
+{
+ ///
+ /// Provides operations to call the triggerEnhancedLogCollection method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class TriggerEnhancedLogCollectionRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public TriggerEnhancedLogCollectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public TriggerEnhancedLogCollectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", rawUrl)
+ {
+ }
+ ///
+ /// Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device.
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device.
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class TriggerEnhancedLogCollectionRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/RefreshDeviceComplianceReportSummarization/RefreshDeviceComplianceReportSummarizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/RefreshDeviceComplianceReportSummarization/RefreshDeviceComplianceReportSummarizationRequestBuilder.cs
index 2b55af66e952..a529ff9934ce 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/RefreshDeviceComplianceReportSummarization/RefreshDeviceComplianceReportSummarizationRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/RefreshDeviceComplianceReportSummarization/RefreshDeviceComplianceReportSummarizationRequestBuilder.cs
@@ -39,6 +39,7 @@ public RefreshDeviceComplianceReportSummarizationRequestBuilder(string rawUrl, I
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -60,6 +61,7 @@ public async Task PostAsync(Action>
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
@@ -79,6 +81,7 @@ public RequestInformation ToPostRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
+ [Obsolete("This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.DeviceCompliancePolicies.RefreshDeviceComplianceReportSummarization.RefreshDeviceComplianceReportSummarizationRequestBuilder WithUrl(string rawUrl)
{
return new global::Microsoft.Graph.Beta.DeviceManagement.DeviceCompliancePolicies.RefreshDeviceComplianceReportSummarization.RefreshDeviceComplianceReportSummarizationRequestBuilder(rawUrl, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurationUserStateSummaries/DeviceConfigurationUserStateSummariesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurationUserStateSummaries/DeviceConfigurationUserStateSummariesRequestBuilder.cs
index fd38b3ef25d2..baca9f947559 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurationUserStateSummaries/DeviceConfigurationUserStateSummariesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurationUserStateSummaries/DeviceConfigurationUserStateSummariesRequestBuilder.cs
@@ -40,6 +40,7 @@ public DeviceConfigurationUserStateSummariesRequestBuilder(string rawUrl, IReque
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -63,6 +64,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -87,6 +89,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DeviceConfigurationUserStateSummary body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -109,6 +112,7 @@ public async Task DeleteAsync(Action
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
@@ -128,6 +132,7 @@ public RequestInformation ToDeleteRequestInformation(Action
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
@@ -148,6 +153,7 @@ public RequestInformation ToGetRequestInformation(ActionA
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DeviceConfigurationUserStateSummary body, Action>? requestConfiguration = default)
@@ -169,6 +175,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta
///
/// A
/// The raw URL to use for the request builder.
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
public global::Microsoft.Graph.Beta.DeviceManagement.DeviceConfigurationUserStateSummaries.DeviceConfigurationUserStateSummariesRequestBuilder WithUrl(string rawUrl)
{
return new global::Microsoft.Graph.Beta.DeviceManagement.DeviceConfigurationUserStateSummaries.DeviceConfigurationUserStateSummariesRequestBuilder(rawUrl, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CancelEnhancedLogCollection/CancelEnhancedLogCollectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CancelEnhancedLogCollection/CancelEnhancedLogCollectionRequestBuilder.cs
new file mode 100644
index 000000000000..095d41e2274a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CancelEnhancedLogCollection/CancelEnhancedLogCollectionRequestBuilder.cs
@@ -0,0 +1,96 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.CancelEnhancedLogCollection
+{
+ ///
+ /// Provides operations to call the cancelEnhancedLogCollection method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CancelEnhancedLogCollectionRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CancelEnhancedLogCollectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CancelEnhancedLogCollectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", rawUrl)
+ {
+ }
+ ///
+ /// Cancels an in-progress enhanced log collection session on a supervised Apple device.
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Cancels an in-progress enhanced log collection session on a supervised Apple device.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.CancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.CancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CancelEnhancedLogCollectionRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs
index 6db52ce63eb3..42ef39b48adb 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs
@@ -3,6 +3,7 @@
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ActivateDeviceEsim;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.AssignmentFilterEvaluationStatusDetails;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.BypassActivationLock;
+using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.CancelEnhancedLogCollection;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ChangeAssignments;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.CleanWindowsDevice;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.CreateDeviceLogCollectionRequest;
@@ -55,6 +56,7 @@
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SyncDevice;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.TriggerConfigurationManagerAction;
+using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.TriggerEnhancedLogCollection;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.UpdateWindowsDeviceAccount;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Users;
using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.WindowsDefenderScan;
@@ -94,6 +96,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.BypassActivationLock.BypassActivationLockRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the cancelEnhancedLogCollection method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.CancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder CancelEnhancedLogCollection
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.CancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the changeAssignments method.
public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ChangeAssignments.ChangeAssignmentsRequestBuilder ChangeAssignments
{
@@ -354,6 +361,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.TriggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the triggerEnhancedLogCollection method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder TriggerEnhancedLogCollection
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.TriggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the updateWindowsDeviceAccount method.
public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountRequestBuilder UpdateWindowsDeviceAccount
{
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SecurityBaselineStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SecurityBaselineStates/Count/CountRequestBuilder.cs
index 71f9680f3e9b..7828c78156c4 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SecurityBaselineStates/Count/CountRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SecurityBaselineStates/Count/CountRequestBuilder.cs
@@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task GetAsync(Action