在 Azure Active Directory 门户中下载用户列表Download a list of users in Azure Active Directory portal
Azure Active Directory (Azure AD) 支持批量用户导入(创建)操作。Azure Active Directory (Azure AD) supports bulk user import (create) operations.
所需的权限Required permissions
若要从 Azure AD 管理中心下载用户列表,需要使用在 Azure AD 中分配有一个或多个组织级别管理员角色的用户进行登录(至少需要使用“用户管理员”角色)。To download the list of users from the Azure AD admin center, you must be signed in with a user assigned to one or more organization-level administrator roles in Azure AD (User Administrator is the minimum role required). 来宾邀请者和应用程序开发人员不被视为管理员角色。Guest inviter and application developer are not considered administrator roles.
下载用户列表To download a list of users
使用组织中的用户管理员帐户登录到 Azure AD 组织。Sign in to your Azure AD organization with a User administrator account in the organization.
导航到“Azure Active Directory”>“用户”。Navigate to Azure Active Directory > Users. 然后通过勾选左栏中每个用户旁边的框来选择要下载的用户。Then select the users you wish to include in the download by ticking the box in the left column next to each user. 注意:此时,无法选择所有导出用户。Note: At this time, there is no way to select all users for export. 必须单独选择每个用户。Each one must be individually selected.
在 Azure AD 中,选择“用户” > “下载用户” 。In Azure AD, select Users > Download users.
在“下载用户”页上,选择“开始”以接收列出用户配置文件属性的 CSV 文件 。On the Download users page, select Start to receive a CSV file listing user profile properties. 如果有错误,可以在“批量操作结果”页下载并查看结果文件。If there are errors, you can download and view the results file on the Bulk operation results page. 该文件包含每个错误的原因。The file contains the reason for each error.
下载文件将包含已筛选的用户列表。The download file will contain the filtered list of users.
包含以下用户属性:The following user attributes are included:
- userPrincipalNameuserPrincipalName
- displayNamedisplayName
- surnamesurname
- mailmail
- givenNamegivenName
- objectIdobjectId
- userTypeuserType
- jobTitlejobTitle
- departmentdepartment
- accountEnabledaccountEnabled
- usageLocationusageLocation
- streetAddressstreetAddress
- statestate
- countrycountry
- physicalDeliveryOfficeNamephysicalDeliveryOfficeName
- citycity
- postalCodepostalCode
- telephoneNumbertelephoneNumber
- mobilemobile
- authenticationAlternativePhoneNumberauthenticationAlternativePhoneNumber
- authenticationEmailauthenticationEmail
- alternateEmailAddressalternateEmailAddress
- ageGroupageGroup
- consentProvidedForMinorconsentProvidedForMinor
- legalAgeGroupClassificationlegalAgeGroupClassification
查看状态Check status
可在“批量操作结果”页中查看挂起的批量请求的状态。You can see the status of your pending bulk requests in the Bulk operation results page.
批量下载服务限制Bulk download service limits
创建用户列表的每个批量活动最多可运行一小时。Each bulk activity to create a list of users can run for up to one hour. 这允许创建和下载至少包含 500,000 个用户的列表。This enables creation and download of a list of at least 500,000 users.