[英]How do I add/manage local windows users with domain names in Azure AD?
New to Azure AD. Azure AD 的新功能。 I have a Winforms application that I'm adding Azure AD (with MFA) authentication to.
我有一个 Winforms 应用程序,我正在向其中添加 Azure AD(带 MFA)身份验证。 In Azure AD, I've registered an application and added some test users.
在 Azure AD 中,我注册了一个应用程序并添加了一些测试用户。 The users have MFA enabled (through Azure).
用户启用了 MFA(通过 Azure)。
The Winforms application uses SQL DB on the backend. Winforms 应用程序在后端使用 SQL DB。 Currently, users logging into our application either with user/pwd or windows account login.
目前,用户使用 user/pwd 或 windows 帐户登录登录我们的应用程序。 (Users are stored and verified against a table in our SQL DB).
(用户被存储并根据我们 SQL DB 中的表进行验证)。
We would like the user names stored in our local SQL DB to match those stored in Azure AD.我们希望存储在本地 SQL DB 中的用户名与存储在 Azure AD 中的用户名匹配。
This works fine when user names are simple like: TestUser, Admin, SomeUser.当用户名很简单时,这很好用:TestUser、Admin、SomeUser。 What happens when the user name is a windows login that is prepended with a domain name?
如果用户名是 windows 登录名并带有域名,会发生什么情况? (Consider LAPTOP-ZXCQKGH67\SomeUser) Potentially we could have users from different domains.
(考虑 LAPTOP-ZXCQKGH67\SomeUser)我们可能有来自不同域的用户。
That user can't be added manually to AD because of embedded the "" character.由于嵌入了“”字符,该用户无法手动添加到 AD。 Is there a way to add users with this naming format to AD?
有没有办法将具有这种命名格式的用户添加到 AD 中? Is there something we can do programatically to hand this?
我们可以通过编程方式做些什么来解决这个问题吗?
“LAPTOP-ZXCQKGH67\SomeUser” could never be an AAD user. “LAPTOP-ZXCQKGH67\SomeUser”永远不可能是 AAD 用户。 AAD users are identified by a UPN, like “SomeUser@SomeCompany.com”.
AAD 用户由 UPN 标识,例如“SomeUser@SomeCompany.com”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.