EntraID provide removeDate based on Access Request for AzureActiveRoles | PIM

Dear Developer Community,

we are currently trying to provide a dynamic removeDate or duration (based on the Access Request input) for AzureActiveRoles Provisioning.

Based on this documentation, Azure expects either a duration or a startDateTime and endDateTime and a justification to work properly for locked AzureActiveRoles:

To provide a static endDateTime or duration is achievable through a cloud rule:

But how can we provide those attributes dynamically from the Access Request?

We´ve tried to set the enDateTime via a Standard Cloud rule but weren´t lucky.

Thanks and best in advance
Nils

What do you mean by ‘dynamically’?
Surely if you want a variable date, just have the duration field on the form and pass that value over

Hi Phil,

thanks for the response!

By dynamically I mean pulling the removeDate within the before Provisioning Cloud Rule from the Access Request to provide it in the provisioning Plan.

If thats possible, how can I pull it?