Skip to content

MSFT_AADRoleEligibilityScheduleRequest and MSFT_AADRoleAssignmentScheduleRequest should throw if Role lookup fails on set #6841

@mpoulson

Description

@mpoulson

Description of the issue

Both MSFT_AADRoleEligibilityScheduleRequest and MSFT_AADRoleAssignmentScheduleRequest should throw if Role lookup fails on set. This way a post to the PIM API won't happen if the role provided isn't correct.

Microsoft 365 DSC Version

Dev

Which workloads are affected

Azure Active Directory (Entra ID)

The DSC configuration

Verbose logs showing the problem

Environment Information + PowerShell Version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions