用管理员帐户登录到 Azure AD。
适用于企业。
概述
要实施定制体验、增强安全性并确保合规性,管理员现在可以在 Adobe Admin Console 中针对现有的 Azure 同步和新的 Azure 设置为用户添加教育工作者和学生标记。 在设置 Azure 同步后,可添加属性映射以指示哪些用户是教育工作者以及哪些用户是学生。
以后通过这些教育工作者和学生标记,Adobe 可为教育工作者和学生根据其角色显示量身定制的体验。 例如,教育工作者将能够为学生设置课堂,并监测作业进度,查看对学生隐藏的课程计划等。 要解锁这些将来特定于教育工作者的功能,请执行以下步骤。
先决条件
- 在您的机构中设置了 Microsoft Azure AD。
- 一种识别学生和教育工作者的独特方法(例如,在 Azure 中教师填写了 JobTitle 属性;学生拥有唯一的电子邮件域;学生的电子邮件都以类似前缀开头等)
- 已设置 Microsoft Azure 同步以在 Adobe Admin Console 中同步用户。 了解如何设置 Azure 同步。
执行角色同步的步骤
导航到 Azure Active Directory 下的企业应用程序。
选择您已在其中配置了自动设置的 Adobe Identity Management 应用程序。
选择设置。
导航到编辑属性映射。
在“映射”部分下,选择设置 Azure Active Directory 用户。
然后选择添加新映射。
应用角色映射
为了使 Adobe Express 可为教育工作者和学生提供量身定制的体验,我们需要通过属性映射的过程将角色信息从 Azure AD 共享到 Adobe。
仅当所有用户的属性都为 Educator 或 Student 时,才能使用从 Azure AD 到 Adobe 的角色直接映射。
通过表达式映射,可使用规则生成 Educator 或 Student 的输出。 在下一部分中,我们为教育行业中的常见用例提供了带评论的示例。
仅当所有用户的属性均包含 Educator 或 Student 时,才能使用从 Azure AD 到 Adobe 的角色直接映射。 例如,如果 Azure AD“Job title”属性的值为“Educator”(对于教师)和“Student”(对于学生)。 那么可以直接映射到目标属性。
选择直接映射类型。
设置源属性。
设置目标属性。
单击“确定”。
保存映射。
选择“保存”。
如果使用“employeeType”等属性标识教师与学生,则以下是可用于根据值的列表设置角色的表达式的示例。
选择表达式映射类型。
构建表达式。
//The following expression defaults to the Student role and assigns the Educator role when employeeType has a value of Faculty, Staff or Coach.
Switch([employeeType], student, <teachers_employeeType>, Educator)
示例:employeeType = [Faculty, Staff, Coach...]
Switch([employeeType], Student, Faculty, Educator, Staff, Educator, Coach, Educator)
使用表达式生成器测试属性映射。
设置目标属性。
单击“确定”。
保存映射。
选择“保存”。
如果您通过电子邮件域区分角色,则可使用表达式根据 @example.org 发送 Educator 角色属性。 并根据 @student.example.org 发送 Student 角色。
选择表达式映射类型。
构建表达式。
// Users with an email address on the students domain will be marked as students. Users with email on the teachers domain will be marked as educators. 其他所有用户都不会被标记
Switch(Item(Split([mail], "@"), 2), "", "<students_domain>",
"Student", "<teachers_domain>", "Educator")
示例:student_domain = student.example.org
Teacher_domain = example.org
Switch(Item(Split([mail], “@”), 2), “”,“student.example.org”, “Student”, “example.org”, “Educator”)
使用表达式生成器测试属性映射。
设置目标属性。
单击“确定”。
保存映射。
选择“保存”。
如果您通过 UPN 区分角色,则可使用表达式根据 @example.org 发送 Educator 角色属性。 并根据 @student.example.org 发送 Student 角色。
选择表达式映射类型。
构建表达式。
// UPN - Users who have a UPN based on the teacher's domain will be marked as teachers. 其他所有用户都将被标记为学生
Switch(Item(Split([userPrincipalName], "@"), 2), "student", "<teachers_domain>", "teacher")
示例:student_domain = student.example.org
Teacher_domain = example.org
Switch(Item(Split([userPrincipalName], "@"), 2),"student", "example.org", "Educator")
使用表达式生成器测试属性映射。
设置目标属性。
单击“确定”。
保存映射。
选择“保存”。
如果您根据电子邮件前缀(例如 s_username@students.example.org)区分角色,如果存在 s_,则可使用表达式发送 Student 角色属性,否则发送 Educator 角色。
选择表达式映射类型。
构建表达式。
// email prefix – Users with an “s_” email prefix will be marked as Student. 其他所有用户都将被标记为 Educator。
示例:电子邮件地址 = s_johnson@student.example.org
IIF(Left([mail], "2") = "s_", "Student", "Educator")
使用表达式生成器测试属性映射。
设置目标属性。
单击“确定”。
保存映射。
选择“保存”。
测试角色同步
可通过按需设置用户或等待更改开始在 Azure AD 和 Adobe 之间传递来测试角色引入。
通过按需设置测试角色引入
在 Azure AD 中按需设置用户
返回 Adobe Identity Management 应用程序。
选择按需设置。
选择“用户”并单击“设置”。
审查结果。
验证分配