From 7d8b602f2b8c859d03798d9faf6e4bc21b96491e Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Mon, 2 Dec 2024 08:46:04 -0500 Subject: [PATCH] AADAccessReviewDefinition - Fixing Accepted Odata.Type --- CHANGELOG.md | 4 +++- .../MSFT_AADAccessReviewDefinition.schema.mof | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebacfe81c2..2523162608 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ * All resources * Applying project default formatting on all files, to improve - reading and troubleshooting + reading and troubleshooting. +* AADAccessReviewDefinition + * Added support for #microsoft.graph.accessReviewInactiveUsersQueryScope in odatatype. * AADRoleManagementPolicyRule * Added the logic to handle filters in the Export logic flow. * EXOTeamsProtectionPolicy diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAccessReviewDefinition/MSFT_AADAccessReviewDefinition.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAccessReviewDefinition/MSFT_AADAccessReviewDefinition.schema.mof index dcac4dc864..d1dd7c9b71 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAccessReviewDefinition/MSFT_AADAccessReviewDefinition.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAccessReviewDefinition/MSFT_AADAccessReviewDefinition.schema.mof @@ -6,7 +6,7 @@ class MSFT_MicrosoftGraphAccessReviewScope [Write, Description("Indicates the type of query. Types include MicrosoftGraph and ARM.")] String QueryType; [Write, Description("Defines the scopes of the principals for which access to resources are reviewed in the access review."), EmbeddedInstance("MSFT_MicrosoftGraphAccessReviewScope")] String PrincipalScopes[]; [Write, Description("Defines the scopes of the resources for which access is reviewed."), EmbeddedInstance("MSFT_MicrosoftGraphAccessReviewScope")] String ResourceScopes[]; - [Write, Description("The type of the entity."), ValueMap{"#microsoft.graph.accessReviewQueryScope","#microsoft.graph.accessReviewReviewerScope","#microsoft.graph.principalResourceMembershipsScope"}, Values{"#microsoft.graph.accessReviewQueryScope","#microsoft.graph.accessReviewReviewerScope","#microsoft.graph.principalResourceMembershipsScope"}] String odataType; + [Write, Description("The type of the entity."), ValueMap{"#microsoft.graph.accessReviewQueryScope","#microsoft.graph.accessReviewReviewerScope","#microsoft.graph.principalResourceMembershipsScope","#microsoft.graph.accessReviewInactiveUsersQueryScope"}, Values{"#microsoft.graph.accessReviewQueryScope","#microsoft.graph.accessReviewReviewerScope","#microsoft.graph.principalResourceMembershipsScope","#microsoft.graph.accessReviewInactiveUsersQueryScope"}] String odataType; }; [ClassVersion("1.0.0")] class MSFT_MicrosoftGraphAccessReviewScheduleSettings