Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AADEntitlementManagementAccessPackageAssignmentPolicy issue with reviewers #3448

Closed
NikCharlebois opened this issue Jul 7, 2023 · 3 comments · Fixed by #3836
Closed

AADEntitlementManagementAccessPackageAssignmentPolicy issue with reviewers #3448

NikCharlebois opened this issue Jul 7, 2023 · 3 comments · Fixed by #3836
Labels
Bug Something isn't working Entra ID V1.23.705.1 Version 1.23.705.1

Comments

@NikCharlebois
Copy link
Collaborator

Reviewers are not properly returned by the Export

AADEntitlementManagementAccessPackageAssignmentPolicy "AADEntitlementManagementAccessPackageAssignmentPolicy-New Policy"
        {
            AccessPackageId         = "ae49804f-0fe0-42f8-8090-84adcae02d3b";
            AccessReviewSettings    = MSFT_MicrosoftGraphassignmentreviewsettings{
                IsEnabled = $True
                StartDateTime = '05/12/2023 15:35:08'
                IsAccessRecommendationEnabled = $True
                AccessReviewTimeoutBehavior = 'acceptAccessRecommendation'
                IsApprovalJustificationRequired = $True
                ReviewerType = 'Reviewers'
                RecurrenceType = 'quarterly'
                Reviewers = @(
                    Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphUserSet
                    Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphUserSet
                )
                DurationInDays = 25
            };
            CanExtend               = $False;
            Credential              = $Credscredential;
            Description             = "Test Policy -Updated";
            DisplayName             = "New Policy";
            DurationInDays          = 365;
            Ensure                  = "Present";
            Id                      = "c8b4da3c-4c44-4b2e-9f6c-cc689c54d31b";
            RequestApprovalSettings = MSFT_MicrosoftGraphapprovalsettings{
                ApprovalMode = 'NoApproval'
                IsRequestorJustificationRequired = $False
                IsApprovalRequired = $False
                IsApprovalRequiredForExtension = $False
            };
            RequestorSettings       = MSFT_MicrosoftGraphrequestorsettings{
                AllowedRequestors = @(                )
                AcceptRequests = $True
                ScopeType = 'SpecificDirectorySubjects'
            };
        }
@NikCharlebois NikCharlebois added Bug Something isn't working Entra ID labels Jul 7, 2023
@andikrueger andikrueger added the V1.23.705.1 Version 1.23.705.1 label Jul 7, 2023
@William-Francillette
Copy link
Contributor

William-Francillette commented Jul 9, 2023

I'll have a look at it as there was a few changes with the v2.0 API

@fraserdarwent
Copy link

fraserdarwent commented Oct 25, 2023

+1 also encountered this on 1.23.1018.1

@William-Francillette
Copy link
Contributor

Thank you to remind me @fraserdarwent
Working on this @NikCharlebois

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Entra ID V1.23.705.1 Version 1.23.705.1
Projects
None yet
4 participants