简体   繁体   English

如何在 Azure AD 中添加/管理具有域名的本地 windows 用户?

[英]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.

相关问题 管理Azure AD身份验证以获取Windows凭据 - Manage Azure AD Authentication getting windows Credentials 如何获取已登录的本地Windows用户列表? - How do I get a list of local Windows users who are logged in? 如何创建用于身份验证的 Windows 服务,自定义 Web 应用程序可使用该服务对 AD 用户进行身份验证? - How do I create a windows service for authentication that custom web applications can use to authenticate AD users? 如何验证 Azure AD 用户? - How to Authenticate Azure AD users? 如何从 Azure AD 获取用户列表? - How can i get List of users from Azure AD? asp.net - 如何同步域上的用户以进行 windows 身份验证 - asp.net - How do I synchronize users on domain for windows authentication 如何获取Windows 8应用程序的本地URL的生成域名? - How do I get the generated domain name for local URL's for a Windows 8 app? 如何将 Azure AD 和非 Azure AD 令牌添加到同一个 .NET 核心 Z72664DC1959F3B0C047C048 - How I can add both Azure AD and non Azure AD tokens to the same .NET Core Api 如何检索Azure AD用户及其所有属性 - How to retrive azure AD users and all their properties C#ActiveDirectory - 如何从已加入域的计算机远程添加本地用户帐户到非域计算机 - C# ActiveDirectory - How do I add a local user account remotely from a domain-joined machine to a non-domain machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM