DEV Community

Cover image for Error: The active duration is too short while removing role assignment
Arindam Mitra
Arindam Mitra

Posted on • Edited on

Error: The active duration is too short while removing role assignment

Greetings my fellow Technology Advocates and Specialists.

In this Troubleshooting Session, I will demonstrate, how to resolve the encountered error - "The Active Duration is too short" while removing PIM role assignment.

Azure DevOps Administrator PIM role was assigned (Active Assignment) to the Service Principal configured as DevOps Service Connection.

Immediately, within couple of minutes, I tried removing the assigned PIM role when I encountered the mentioned error.

This is how it looks:-

Image description
Image description
Image description

When tried after 5 minutes, Assigned PIM role (Azure DevOps Administrator) could be removed successfully.

Hope You Enjoyed the Session!!!

Stay Safe | Keep Learning | Spread Knowledge

Top comments (0)