Skip to content

AADEntitlementManagementAccessPackageAssignmentPolicy: Add missing sub-property#6931

Merged
FabienTschanz merged 3 commits intomicrosoft:Devfrom
ricmestre:Dev
Feb 24, 2026
Merged

AADEntitlementManagementAccessPackageAssignmentPolicy: Add missing sub-property#6931
FabienTschanz merged 3 commits intomicrosoft:Devfrom
ricmestre:Dev

Conversation

@ricmestre
Copy link
Contributor

Pull Request (PR) description

This PR adds missing sub-property IsAgenticExperienceEnabled to complex object AccessReviewSettings on resource AADEntitlementManagementAccessPackageAssignmentPolicy

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
    Entry should say what was changed and how that affects users (if applicable), and
    reference the issue being resolved (if applicable).
  • Resource parameter descriptions added/updated in the schema.mof.
  • Resource documentation added/updated in README.md.
  • Resource settings.json file contains all required permissions.
  • [] Examples appropriately added/updated.
  • Unit tests added/updated.
  • New/changed code adheres to DSC Community Style Guidelines.

@ricmestre
Copy link
Contributor Author

@jan-kre Could you please try this patch?

@FabienTschanz Aaaannnddddd another property without proper documentation... I found it used in some cmdlets but those also lack documentation 🤡

@jan-kre
Copy link

jan-kre commented Feb 24, 2026

@ricmestre Thank you for the quick fix! Seems to be working but apparently there are more parameters that need to be added, because now comes the next error:

Error parsing configuration: At line:472 char:25
+                         ApproverInformationVisibility = "notVisible"
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The member 'ApproverInformationVisibility' is not valid. Valid members are
'ApprovalStageTimeOutInDays', 'EscalationApprovers', 'EscalationTimeInMinutes', 'IsApproverJustificationRequired', 'IsEscalationEnabled', 'PrimaryApprovers'.
At C:\Program Files\WindowsPowerShell\Modules\DSCParser\2.0.0.21\Modules\DSCParser.psm1:526 char:9
+         throw "$($errorPrefix)Error parsing configuration: $parseErro ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Error parsing c...maryApprovers'.:String) [], RuntimeException
    + FullyQualifiedErrorId : Error parsing configuration: At line:472 char:25
+                         ApproverInformationVisibility = "notVisible"
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The member 'ApproverInformationVisibility' is not valid. Valid members are
'ApprovalStageTimeOutInDays', 'EscalationApprovers', 'EscalationTimeInMinutes', 'IsApproverJustificationRequired', 'IsEscalationEnabled', 'PrimaryApprovers'.
 

@ricmestre
Copy link
Contributor Author

Please test again with my latest update, if it still fails on the same place or anywhere else you'll have to share the whole affected resource to understand what's still missing.

@FabienTschanz Not sure if there's code needed to be added in the module, maybe not but I don't have any tenant available right now where to test this, do you?

@jan-kre
Copy link

jan-kre commented Feb 24, 2026

Works now! The Report generation no longer fails.

@FabienTschanz
Copy link
Collaborator

Thanks @ricmestre for the quick fix. Yes, it indeed works now, just tested it. However I'll open another PR which simplifies the structure of the resource and fixes an issue with date time conversion.

@FabienTschanz FabienTschanz merged commit f704d9c into microsoft:Dev Feb 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Error with parameter 'IsAgenticExperienceEnabled' in AADEntitlementManagementAccessPackageAssignmentPolicy when generating HTML Report

3 participants