
我們剛剛設定了 Azure AD 並將其與我們的 G Suite 系統結合。我看到 G Suite 中配置的用戶,並且可以使用他們登入 Azure 和 Office,沒有問題。
我還有一台 Windows 10 Pro PC 並將其加入 Azure。我們網域中的使用者onmicrosoft.com
可以毫無問題地登入電腦。我們真實網域上的聯合用戶(從 Google 匯入)不能。它只是說:“用戶名或密碼不正確。請重試。”
任何幫助深表感謝。
如果有幫助的話,以下是 的輸出dregcmd /status
:
| Device State |
+----------------------------------------------------------------------+
AzureAdJoined : YES
EnterpriseJoined : NO
DomainJoined : NO
Device Name : DESKTOP-HGU3NIR
+----------------------------------------------------------------------+
| Device Details |
+----------------------------------------------------------------------+
DeviceId : f4873935-0c29-46f1-ab19-09ede789fa92
Thumbprint : 7874F6B739CD8E9C7562F8DFAC3487DE48E2782F
DeviceCertificateValidity : [ 2020-09-01 18:35:09.000 UTC -- 2030-09-01 19:05:09.000 UTC ]
KeyContainerId : d3bf6055-56ac-4cd1-9f1d-bc2203c26d44
KeyProvider : Microsoft Platform Crypto Provider
TpmProtected : YES
DeviceAuthStatus : SUCCESS
+----------------------------------------------------------------------+
| Tenant Details |
+----------------------------------------------------------------------+
TenantName : translifeline.org
TenantId : 417bd5b1-b5ae-4bca-a87a-adadeb358522
Idp : login.windows.net
AuthCodeUrl : https://login.microsoftonline.com/[ID]/oauth2/authorize
AccessTokenUrl : https://login.microsoftonline.com/[ID]/oauth2/token
MdmUrl :
MdmTouUrl :
MdmComplianceUrl :
SettingsUrl :
JoinSrvVersion : 2.0
JoinSrvUrl : https://enterpriseregistration.windows.net/EnrollmentServer/device/
JoinSrvId : urn:ms-drs:enterpriseregistration.windows.net
KeySrvVersion : 1.0
KeySrvUrl : https://enterpriseregistration.windows.net/EnrollmentServer/key/
KeySrvId : urn:ms-drs:enterpriseregistration.windows.net
WebAuthNSrvVersion : 1.0
WebAuthNSrvUrl : https://enterpriseregistration.windows.net/webauthn/[ID]/
WebAuthNSrvId : urn:ms-drs:enterpriseregistration.windows.net
DeviceManagementSrvVer : 1.0
DeviceManagementSrvUrl : https://enterpriseregistration.windows.net/manage/[ID]/
DeviceManagementSrvId : urn:ms-drs:enterpriseregistration.windows.net
+----------------------------------------------------------------------+
| User State |
+----------------------------------------------------------------------+
NgcSet : YES
NgcKeyId : {972D2D93-F29A-44D4-8B35-BD4C8F6BBF11}
CanReset : DestructiveOnly
WorkplaceJoined : NO
WamDefaultSet : YES
WamDefaultAuthority : organizations
WamDefaultId : https://login.microsoft.com
WamDefaultGUID : {B16898C6-A148-4967-9171-64D755DA8520} (AzureAd)
+----------------------------------------------------------------------+
| SSO State |
+----------------------------------------------------------------------+
AzureAdPrt : YES
AzureAdPrtUpdateTime : 2020-09-01 19:21:01.000 UTC
AzureAdPrtExpiryTime : 2020-09-15 19:21:00.000 UTC
AzureAdPrtAuthority : https://login.microsoftonline.com/[ID]
EnterprisePrt : NO
EnterprisePrtAuthority :
+----------------------------------------------------------------------+
| Diagnostic Data |
+----------------------------------------------------------------------+
AadRecoveryEnabled : NO
Executing Account Name : AzureAD\Chris'TestAccount, [email protected]
KeySignTest : PASSED
+----------------------------------------------------------------------+
| IE Proxy Config for Current User |
+----------------------------------------------------------------------+
Auto Detect Settings : YES
Auto-Configuration URL :
Proxy Server List :
Proxy Bypass List :
+----------------------------------------------------------------------+
| WinHttp Default Proxy Config |
+----------------------------------------------------------------------+
Access Type : DIRECT
For more information, please visit https://www.microsoft.com/aadjerrors```
答案1
上面的日誌僅顯示裝置確實已加入 Azure AD,它不會顯示使用者驗證過程中發生的情況。
從您的設定/錯誤的描述來看,與 Google 的 SAML 聯合似乎未正確啟用,參考:https://docs.microsoft.com/en-us/azure/active-directory/devices/faq#q-why-do-i-get-a-username-or-password-is-in Correct-message-for - a-設備-我-剛加入-azure-ad
若要檢查您與 Google 的 SAML 聯合:https://cloud.google.com/architecture/identity/federating-gcp-with-azure-ad-configuring-provisioning-and-single-sign-on#configure_saml_settings
若要排除設備註冊的任何問題,請使用以下腳本:https://gallery.technet.microsoft.com/scriptcenter/Hybrid-Azure-AD-Joined-0ea7e778
有關 AAD 加入設備的更多基本故障排除:https://docs.microsoft.com/en-us/azure/active-directory/devices/troubleshoot-hybrid-join-windows-current
希望這可以幫助。