ldo pim eligible # roles you can activate, in all three areas
ldo pim active --permanent-only # standing access: active roles with no end date
ldo pim requests --pending # your requests still waiting
ldo pim approvals # requests waiting for you to approve
ldo pim eligible --azure --user ana@example.com
ldo pim settings "Global Administrator" # an Entra role
ldo pim settings Owner --scope /subscriptions/<id> # an Azure role
ldo pim settings --group "Platform Admins" --owner # a PIM for Groups groupEach command covers Azure resource roles (--azure), Entra roles (--entra) and PIM for
Groups (--groups): all three unless you pick. An area that cannot be read shows as a
warning with the reason, and the others still show. settings shows the longest activation,
whether MFA, a justification, a ticket or approval is needed, and who approves. Nothing here
activates or approves anything.
Azure resource PIM works with the Azure CLI's token. The Entra and group areas need an
interactive or device-code profile with
your own app registration, and the tenant
needs Entra ID P2.