{"id":13742605,"url":"https://github.com/aaronparker/entra-export-template","last_synced_at":"2025-10-28T23:32:15.571Z","repository":{"id":162848696,"uuid":"637340779","full_name":"aaronparker/entra-export-template","owner":"aaronparker","description":"Workflows for scheduled export of settings from an Azure AD tenant","archived":false,"fork":false,"pushed_at":"2023-12-16T21:56:38.000Z","size":208,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-17T20:11:59.409Z","etag":null,"topics":["azure-ad","azuread","entra","entra-id","export","powershell"],"latest_commit_sha":null,"homepage":"https://stealthpuppy.com","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaronparker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-07T08:54:59.000Z","updated_at":"2024-09-04T10:25:34.000Z","dependencies_parsed_at":"2023-12-16T22:42:51.865Z","dependency_job_id":null,"html_url":"https://github.com/aaronparker/entra-export-template","commit_stats":null,"previous_names":["aaronparker/entra-export-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronparker%2Fentra-export-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronparker%2Fentra-export-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronparker%2Fentra-export-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronparker%2Fentra-export-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronparker","download_url":"https://codeload.github.com/aaronparker/entra-export-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236713494,"owners_count":19193079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-ad","azuread","entra","entra-id","export","powershell"],"created_at":"2024-08-03T05:00:34.028Z","updated_at":"2025-10-28T23:32:15.168Z","avatar_url":"https://github.com/aaronparker.png","language":"PowerShell","funding_links":[],"categories":["Tools"],"sub_categories":["CLI"],"readme":"# Entra Export Template\n\nA template repo using the [EntraExporter](https://github.com/microsoft/EntraExporter) module to export Entra ID settings and generate a report.\n\n* [.github/workflows/entra-export.yml](.github/workflows/entra-export.yml) - a GitHub workflow to connect to Entra ID, export settings and commit to the repository\n* [.devops/entra-export.yml](.devops/entra-export.yml) - an Azure Pipeline to connect to Entra ID, export settings and commit to the repository\n* [Export-EntraID.ps1](Export-EntraID.ps1) - a PowerShell script to run the export locally. Expects a `auth.json` file that contains the authentication values\n\n## Workflow / Pipeline Secrets\n\nWorkflows expect the following secrets to be available in the repository:\n\n* `TENANT_ID`\n* `CLIENT_ID`\n* `CLIENT_SECRET`\n* `GPGKEY`\n* `GPGPASSPHRASE`\n* `COMMIT_NAME`\n* `COMMIT_EMAIL`\n\n## Auth.json\n\nWhen running the `Export-EntraID.ps1` script, ensure `auth.json` exists locally with credentials for connecting to an Entra ID app registration in the target tenant.\n\n```json\n{\n    \"Tenant_Id\": \"9a3ceddc-3faa-42e1-841b-4fc7d3c57c19\",\n    \"Client_Id\": \"19ab2050-1bf2-4e97-8b69-0e1a4543bc4e\",\n    \"Secret\": \"\u003csecret\u003e\",\n}\n```\n\n## Permissions\n\nThe following permissions are required to enable an unattended export via a pipeline:\n\n|API / Permissions name|Type|Description|\n|:----|:----|:----|\n|AccessReview.Read.All|Application|Read all access reviews|\n|AdministrativeUnit.Read.All|Application|Read all administrative units|\n|Agreement.Read.All|Application|Read all terms of use agreements|\n|APIConnectors.Read.All|Application|Read API connectors for authentication flows|\n|Directory.Read.All|Application|Read directory data|\n|EntitlementManagement.Read.All|Application|Read all entitlement management resources|\n|Group.Read.All|Application|Read all groups|\n|GroupMember.Read.All|Application|Read all group memberships|\n|IdentityProvider.Read.All|Application|Read identity providers|\n|IdentityUserFlow.Read.All|Application|Read all identity user flows|\n|Organization.Read.All|Application|Read organization information|\n|Policy.Read.All|Application|Read your organization's policies|\n|Policy.Read.PermissionGrant|Application|Read consent and permission grant policies|\n|PrivilegedAccess.Read.AzureAD|Application|Read privileged access to Entra ID roles|\n|PrivilegedAccess.Read.AzureResources|Application|Read privileged access to Azure resources|\n|RoleManagement.Read.Directory|Application|Read all directory RBAC settings|\n|User.Read|Delegated|Sign in and read user profile|\n|User.Read.All|Application|Read all users' full profiles|\n|UserAuthenticationMethod.Read.All|Application|Read all users' authentication methods|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronparker%2Fentra-export-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronparker%2Fentra-export-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronparker%2Fentra-export-template/lists"}