A cloud-based identity and access management service for securing user authentication and resource access
Try this Graph API query:
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackages?$expand=accessPackageResourceRoleScopes($expand=accessPackageResourceRole,accessPackageResourceScope)
It will output all access packages and roles/scopes.