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