Hi, that is not possible or supported yet. Service Principals should be assigned whatever directory role is needed, not set as PIM eligible.
Service Principals Using the Azure PIM

Syed Nawazuddin
0
Reputation points
We have service principals with administrative privileges for automation purposes. How do we enable PIM for them?
And the best practice for Azure PIM
Microsoft Security Microsoft Entra Microsoft Entra Private Access
129 questions
Microsoft Security Microsoft Entra Other
2,589 questions
1 answer
Sort by: Most helpful
-
Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
2023-10-31T11:23:21.03+00:00