Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
e057356
Migrate Reports shared directives to v3 configuration
ramsessanchez Oct 22, 2026
bb53e3c
Regenerate Reports v1.0 client and cmdlets
ramsessanchez Oct 22, 2026
1a44a80
Regenerate Reports beta client and cmdlets
ramsessanchez Oct 22, 2026
d2e5c62
Merge remote-tracking branch 'origin/powershell-v3' into ramsessanche…
ramsessanchez Oct 27, 2026
8bf1f2d
Reconcile Reports directives with aligned compatible IDs
ramsessanchez Oct 27, 2026
fd5d6a3
Refresh Reports v1.0 generation on current compatible spec
ramsessanchez Oct 27, 2026
6a5848a
Refresh Reports beta client and cmdlets on current compatible spec
ramsessanchez Oct 27, 2026
eaa76b7
Merge current powershell-v3 after operation-variant support
ramsessanchez Oct 30, 2026
f309828
Align Reports migration validation with merged generator API
ramsessanchez Oct 30, 2026
0357ab4
Merge published Authentication profile transport target into Reports
ramsessanchez Nov 3, 2026
e45edd0
Pin Reports profile transport after Authentication integration
ramsessanchez Nov 3, 2026
b0e7506
Regenerate Reports v1.0 with adapted Authentication profile transport
ramsessanchez Nov 3, 2026
df3412a
Regenerate Reports beta with adapted Authentication profile transport
ramsessanchez Nov 3, 2026
4ccdc02
Merge final PATCH response and required-query target into Reports
ramsessanchez Nov 6, 2026
cc3d297
Pin Reports single-operation PATCH and actual query scope
ramsessanchez Nov 6, 2026
f63614c
Regenerate Reports v1.0 after single-operation PATCH integration
ramsessanchez Nov 6, 2026
cc375ba
Regenerate Reports beta after single-operation PATCH integration
ramsessanchez Nov 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 26 additions & 0 deletions src/Reports/Reports.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ require:

``` yaml
directive:
# Wrapper migration: DeferredParameter. The Period completer remains AutoRest-only;
# parameter/schema behavior is outside this cmdlet-surface migration.
- where:
parameter-name: Period
set:
Expand All @@ -25,40 +27,64 @@ directive:
description: Gets the list of Period values.
script: "'D7', 'D30', 'D90', 'D180'"
# Remove invalid paths.
# Wrapper migration: exact surviving method/path operations are suppressed in
# Reports_cmdletConfigurations.cs. ReportsDirectiveSourceReview.json in the generator
# tests records the complete original match set (beta: 66 survivors, 18 pruned routes).
# After #3861 aligned IDs, the unchanged regex literally also selects 17 additional
# beta resource mutations; each is separately justified in that test fixture. The
# baseline inventory validates every current match (v1.0: 34; beta: 83).
# Use exact entries, not broad root prefixes. Keep all AutoRest directives active.
- remove-path-by-operation: auditLog\.auditLogRoot.*|report.reportRoot.*|(auditLog|report)_(Create|Delete|Update).*
# Remove cmdlets
# Wrapper migration: reviewed absence in both compatible and legacy Reports specs.
# The POST getCertificatesReport action is a different operation and remains.
- where:
verb: Get
subject: ^ReportTenantSecureScore$|^DeviceManagementReportCertificateReport$
remove: true
# Wrapper migration: functions already use Get; curated nouns preserve the shared
# singular TopFailure name and distinguish the parameterized overload. Checked-in
# v1.0 derived overload rows do not match normalized parameter placeholders;
# both actual overload routes remain, without changing the shared derived data.
- where:
verb: Invoke
subject: ^TopReport$
set:
verb: Get
subject: ReportManagedDeviceEnrollmentTopFailure
# Wrapper migration: StructuralNaming already supplies Get and the two
# ReportDeviceConfiguration*Activity nouns; no redundant overrides.
- where:
verb: Invoke
subject: ^(Device)Report(.*)$
set:
verb: Get
subject: Report$1$2
# Wrapper migration: exact failure/abandonment detail function nouns are curated;
# distinct failure-details overloads are not treated as duplicate operations.
- where:
verb: Invoke
subject: ^(Detail)Report(.*)$
set:
verb: Get
subject: Report$2$1
# Wrapper migration: exact beta abandonment summary and failure trend nouns are
# curated. These operations are absent from v1.0, not owned by a revived Actions module.
- where:
verb: Invoke
subject: ^(Managed)Report(.*)$
set:
verb: Get
subject: Report$1$2
# Wrapper migration: StructuralNaming retains InDetailedSummary for collection
# and item operations. Mutations remain suppressed by the shared path directive;
# the separate Count neighbor stays structurally named.
- where:
subject: ^(ReportApplicationSign)$
set:
subject: $1InDetailedSummary
# Wrapper migration: the sole beta function receives the shared AzureAd noun,
# including the InSummary suffix; no matching v1.0 operation exists.
- where:
subject: ^(ReportAzureAdApplicationSign)$
set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques
{
}
/// <summary>
/// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
/// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/sharepointreportsettings-list-apiusagereportmetrics?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatusCollectionResponse"/></returns>
Expand Down Expand Up @@ -103,7 +103,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques
return await RequestAdapter.SendAsync<global::Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatus>(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
/// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Power
return new global::Microsoft.Graph.PowerShell.Reports.Client.Admin.ReportSettings.SharePoint.ApiUsageReportMetrics.ApiUsageReportMetricsRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
/// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ApiUsageReportMetricsRequestBuilderGetQueryParameters
Expand Down
2 changes: 1 addition & 1 deletion src/Reports/wrapper/Beta/Client/Models/ApiApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public partial class ApiApplication : IAdditionalDataHolder, IParsable
#else
public List<Guid?> KnownClientApplications { get; set; }
#endif
/// <summary>The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes.</summary>
/// <summary>The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. These scopes and the application&apos;s appRoles share a default limit of 700 permission definitions per application. Enabled and disabled definitions both count. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.Reports.Client.Models.PermissionScope>? Oauth2PermissionScopes { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public partial class ApiUsageReportEnablementStatus : IAdditionalDataHolder, IPa
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The name of the API usage report metric. The supported values are: egressReport, throttlingReport.</summary>
/// <summary>The name of the API usage report metric. The supported values are: egressReport, sharePointServicePrioritizationReport, throttlingReport.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? Metric { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Reports/wrapper/Beta/Client/Models/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public partial class Application : global::Microsoft.Graph.PowerShell.Reports.Cl
#else
public List<global::Microsoft.Graph.PowerShell.Reports.Client.Models.AppManagementPolicy> AppManagementPolicies { get; set; }
#endif
/// <summary>The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.</summary>
/// <summary>The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. App roles and exposed delegated permission scopes (api.oauth2PermissionScopes) share a default limit of 700 permission definitions per application. Enabled and disabled definitions both count. This limit is separate from the aggregate 1,200-entry application manifest limit and from app role assignment limits. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.Reports.Client.Models.AppRole>? AppRoles { get; set; }
Expand Down
9 changes: 9 additions & 0 deletions src/Reports/wrapper/Beta/Client/Models/Entity.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// <auto-generated/>
#pragma warning disable CS0618
using Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring;
using Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance;
using Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing;
using Microsoft.Graph.PowerShell.Reports.Client.Models.Partners;
using Microsoft.Kiota.Abstractions.Extensions;
Expand Down Expand Up @@ -96,6 +97,12 @@ public Entity()
"#microsoft.graph.homeRealmDiscoveryPolicy" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.HomeRealmDiscoveryPolicy(),
"#microsoft.graph.identityAnalyticsRoot" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityAnalyticsRoot(),
"#microsoft.graph.identityCorrelation" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityCorrelation(),
"#microsoft.graph.identityGovernance.complianceIssue" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.ComplianceIssue(),
"#microsoft.graph.identityGovernance.identityLifecycle" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.IdentityLifecycle(),
"#microsoft.graph.identityGovernance.lifecyclePolicy" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicy(),
"#microsoft.graph.identityGovernance.lifecyclePolicyReport" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReport(),
"#microsoft.graph.identityGovernance.lifecyclePolicyRule" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyRule(),
"#microsoft.graph.identityGovernance.lifecyclePolicySubjectReport" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReport(),
"#microsoft.graph.inactiveUsersByApplicationMetricBase" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.InactiveUsersByApplicationMetricBase(),
"#microsoft.graph.inactiveUsersMetricBase" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.InactiveUsersMetricBase(),
"#microsoft.graph.insightSummary" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.InsightSummary(),
Expand All @@ -118,7 +125,9 @@ public Entity()
"#microsoft.graph.office365GroupsActivityStorage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Office365GroupsActivityStorage(),
"#microsoft.graph.office365ServicesUserCounts" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Office365ServicesUserCounts(),
"#microsoft.graph.partners" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Partners(),
"#microsoft.graph.partners.billing.azureAggregatedUsage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage(),
"#microsoft.graph.partners.billing.azureUsage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureUsage(),
"#microsoft.graph.partners.billing.billedAggregatedUsage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage(),
"#microsoft.graph.partners.billing.billedReconciliation" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledReconciliation(),
"#microsoft.graph.partners.billing.billedUsage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledUsage(),
"#microsoft.graph.partners.billing.billing" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Billing(),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
// <auto-generated/>
#pragma warning disable CS0618
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using System.Collections.Generic;
using System.IO;
using System;
namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
#pragma warning disable CS1591
public partial class ComplianceIssue : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable
#pragma warning restore CS1591
{
/// <summary>A human-readable description of the compliance issue.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? Description { get; set; }
#nullable restore
#else
public string Description { get; set; }
#endif
/// <summary>The identifier of the lifecycle policy that generated the compliance issue.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? GoverningPolicyReferenceId { get; set; }
#nullable restore
#else
public string GoverningPolicyReferenceId { get; set; }
#endif
/// <summary>A code that identifies the type of compliance issue.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? IssueCode { get; set; }
#nullable restore
#else
public string IssueCode { get; set; }
#endif
/// <summary>The type of rule that generated the compliance issue, so callers can identify which rule caused non-compliance.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? RuleType { get; set; }
#nullable restore
#else
public string RuleType { get; set; }
#endif
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.ComplianceIssue"/></returns>
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.ComplianceIssue CreateFromDiscriminatorValue(IParseNode parseNode)
{
if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.ComplianceIssue();
}
/// <summary>
/// The deserialization information for the current model
/// </summary>
/// <returns>A IDictionary&lt;string, Action&lt;IParseNode&gt;&gt;</returns>
public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>(base.GetFieldDeserializers())
{
{ "description", n => { Description = n.GetStringValue(); } },
{ "governingPolicyReferenceId", n => { GoverningPolicyReferenceId = n.GetStringValue(); } },
{ "issueCode", n => { IssueCode = n.GetStringValue(); } },
{ "ruleType", n => { RuleType = n.GetStringValue(); } },
};
}
/// <summary>
/// Serializes information the current object
/// </summary>
/// <param name="writer">Serialization writer to use to serialize this model</param>
public override void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
writer.WriteStringValue("description", Description);
writer.WriteStringValue("governingPolicyReferenceId", GoverningPolicyReferenceId);
writer.WriteStringValue("issueCode", IssueCode);
writer.WriteStringValue("ruleType", RuleType);
}
}
}
#pragma warning restore CS0618
Loading
Loading