@Backer, Faris
Thank you for your post!
Using Graph APIs to create an Azure AD Groups with Privileged Identity Management (PIM) enabled, currently isn't supported. Additionally editing settings for Privileged access groups, is only supported through the Azure Portal. The PIM APIs are in public preview and with the current iteration now in beta, the PIM API consists of two categories: Azure AD roles and Azure resource roles: assignment, and activation API requests, and policy settings.
When it comes to the relationship between PIM entities and role assignment entities, the only link between the PIM entity and the role assignment entity for persistent (active) assignment for either Azure AD roles or Azure roles is the roleAssignmentScheduleInstance
. There is a one-to-one mapping between the two entities. For more info.
If you'd like the ability to be able to create PIM enabled Azure AD groups and edit their settings using the Graph API, I'd recommend leveraging our User Voice forum and creating a feature request, so our engineering team can look into implementing this. I've also created an internal feature request, so our engineering team is aware of this as well.
Links:
Understand the Privileged Identity Management APIs
Bring privileged access groups (preview) into Privileged Identity Management
Configure privileged access group settings (preview) in Privileged Identity Management
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.