Do the PIM Cmdlets support conditional access? #18216
Replies: 10 comments 15 replies
-
According to this community cmdlet at least, that's the message that means your conditional access policy failed, so theoretically it does. BTW I've done a lot of this legwork already: |
Beta Was this translation helpful? Give feedback.
-
@brfabia can you please share some insights? |
Beta Was this translation helpful? Give feedback.
-
Has this been updated or fixed? We are still not able to get New-AzRoleAssignmentScheduleRequest to work on elevating an Azure subscription in powershell. We can elevate properly in the gui. The token/cache is erroring on the c1 policy, which is set to require executing from a SAW device. New-AzRoleAssignmentScheduleRequest : &claims=%7B%22access_token%22%3A%7B%22acrs%22%3A%7B%22essential%22%3Atrue%2C%20%22value%22%3A%22c1%22%7D%7D%7D
|
Beta Was this translation helpful? Give feedback.
-
@VeryEarly Can you take a look at this question? CC @isra-fel |
Beta Was this translation helpful? Give feedback.
-
The error RoleAssignmentRequestAcrsValidationFailed indicates that the Role Assignment request is failing due to a missing or mismatched ACR (Authentication Context Reference) claim in the access token. Conditional Access policies using ACRs require specific claims, and PIM (Privileged Identity Management) currently doesn't natively support conditional access with ACR validation. |
Beta Was this translation helpful? Give feedback.
-
To resolve this, ensure the access token includes the required acrs claim: Verify your Conditional Access policy configuration. |
Beta Was this translation helpful? Give feedback.
-
Check Azure AD logs to identify token issues. |
Beta Was this translation helpful? Give feedback.
-
If the issue persists, consider reaching out to Microsoft Support. They can assist in fine-tuning policies or identifying alternative solutions to work around the problem. |
Beta Was this translation helpful? Give feedback.
-
Also, don’t be shy about asking for updates on related features. Sometimes a small nudge brings big insights—or at least gets someone to notice there’s a gremlin in the code! |
Beta Was this translation helpful? Give feedback.
-
seems like bots...
|
Beta Was this translation helpful? Give feedback.
-
I have the following error when Acrs is enabled.
Do we know if the PIM activation will support conditional access?
I have the following exception:
'RoleAssignmentRequestAcrsValidationFailed'
via:
Beta Was this translation helpful? Give feedback.
All reactions