如何在 Microsoft Azure AD 中为用户配置电子邮件地址? [英] How to configure email address for a user in Microsoft Azure AD?

查看:12
本文介绍了如何在 Microsoft Azure AD 中为用户配置电子邮件地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为 Microsoft Azure 创建了一个试用帐户.在 Azure Active Directory 中,我正在尝试创建一个新用户,但我没有看到电子邮件地址字段.我只看到用户名、名字、姓氏和显示名称字段.Azure 会将用户名(如 testuser@mydomain.onmicrosoft.com)视为电子邮件吗?或者我错过了什么?我在它的文档中没有找到太多信息.

I have created a trial account for Microsoft Azure. In Azure Active Directory, I'm trying to create a new user, but I'm not seeing email address field. I see only username, firstname, lastname and display name fields. Will Azure treat username (like testuser@mydomain.onmicrosoft.com) as an email? or I'm I missing something? I didn't find much information in its documentation.

推荐答案

不,Azure AD 不会假定用户名(在 Azure AD Graph API 和 Azure AD PowerShell 模块中称为UserPrincipalName")实际上是电子邮件可以接收邮件的地址.

No, Azure AD will not assume that the username (known as "UserPrincipalName", in the Azure AD Graph API and Azure AD PowerShell module) is actually an email address that can receive emails.

如果您只是想要一个地方来存储给定用户的电子邮件地址(其背后实际上有一个邮箱),您可以使用 Azure 门户中的备用电子邮件地址"字段(在个人资料"部分下给定用户在您的目录):

If you would simply want a place to store a given user's email address (one that actually has a mailbox behind it), you can use the "Alternate Email Address" field in the Azure Portal (under "Profile" section for a given user in your directory):

(注意:此字段在 Azure AD Graph API 中称为 otherMails,在 Azure AD PowerShell v1 (MSOnline) 中称为 AlternateEmailAddresses,以及 OtherMails 在 Azure AD PowerShell v2 (AzureAD) 中.在所有情况下,它都是字符串数组,而不是单个值.)

(Note: This field is known as otherMails in Azure AD Graph API, AlternateEmailAddresses in Azure AD PowerShell v1 (MSOnline), and OtherMails in Azure AD PowerShell v2 (AzureAD). In all cases, it's an array of strings, not a single value.)

您可以通过向 Azure AD 目录添加和验证自定义域名来创建更加用户友好的用户名:https://docs.microsoft.com/en-us/azure/active-directory/active-directory-add-domain.完成此操作后,您可以创建具有 user@contoso.com 等用户名的用户(假设 contoso.com 是您添加的域).

You can create more user-friendly usernames by adding and verifying a custom domain name to you Azure AD directory: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-add-domain. Once you've done this, you can create users that have usernames such as user@contoso.com (assuming contoso.com is the domain you added).

此时,可能user@contoso.com也是该用户的电子邮件地址,但同样......在 Azure AD 中没有假设是这种情况.

At this point, it may be that user@contoso.com is also the email address of that user, but again—there is no assumption in Azure AD that this is the case.

这篇关于如何在 Microsoft Azure AD 中为用户配置电子邮件地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆