Exporting All Access Packages\Settings and Roles Assigned

H Raja 306 Reputation points
2022-01-31T16:43:28.107+00:00

Hi, I'm trying to find out a way to export all Access Packages with settings in my Tenant with Roles assigned. You can't seem seem to export this information via the portal, does any of the nice folks here have a Powershell Script that can achieve this please. I don't really want to be going to each Access Packages and checking each setting. I hope that makes sense. Thanks

Microsoft Security | Microsoft Entra | Microsoft Entra ID

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Vasil Michev 128.4K Reputation points MVP Volunteer Moderator
    2022-01-31T17:04:05.957+00:00

    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.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.