You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Extended Azure AD Hybrid Join checks to include User Device Registration Event Log Invoke-AnalyzeHybridJoinStatus
* Check manually defined IE Intranet Sites Invoke-AnalyzeHybridJoinStatus
if ([String]::IsNullOrWhiteSpace($scp.Keywords)) {
51
-
$possibleErrors+=New-AnalyzeResult-TestName "ADServiceConnectionPoint"-Type Error -Issue "No Service COnnection Point defined in Active Directory."-PossibleCause "Join the device to a domain, otherwise no Hybrid Join will be possible."
51
+
$possibleErrors+=New-AnalyzeResult-TestName "ADServiceConnectionPoint"-Type Error -Issue "No Service Connection Point defined in Active Directory."-PossibleCause "Join the device to a domain, otherwise no Hybrid Join will be possible."
52
52
}
53
53
else {
54
54
$possibleErrors+=New-AnalyzeResult-TestName "ADServiceConnectionPoint"-Type Warning -Issue "Current Value: $($scp.Keywords)`n Validate if the AzureAD GUID and tenant name is correct."-PossibleCause "Sometimes there are incorrect vslues left from a PoC or Testenvironment which can result in an incorrect entriy."
@@ -62,14 +62,22 @@ function Invoke-AnalyzeHybridJoinStatus {
$possibleErrors+=New-AnalyzeResult-TestName "IE Site Assignment"-Type Warning -Issue "We could not detect https://autologon.microsoftazuread-sso.com in the Local Intranet Zone of Internet Explorer."-PossibleCause "One possibility is, that you have configured it manually on this test client in Internet Explorer. This check only validates, if it is assigned through a group policy.
66
-
The second option is, that you configured a toplevel site in the intranet site and not especially the above mentioned URL including the protocol."
$possibleErrors+=New-AnalyzeResult-TestName "IE Site Assignment"-Type Warning -Issue "We could not detect https://autologon.microsoftazuread-sso.com in the Local Intranet Zone of Internet Explorer."-PossibleCause "One possibility is, that you have configured it manually on this test client in Internet Explorer. This check only validates, if it is assigned through a group policy.
69
+
The second option is, that you configured a toplevel site in the intranet site and not especially the above mentioned URL including the protocol."
$possibleErrors+=New-AnalyzeResult-TestName "IE Site Assignment"-Type Warning -Issue "We could not detect https://device.login.microsoftonline.com in the Local Intranet Zone of Internet Explorer. To avoid certificate prompts when users in register devices authenticate to Azure AD you can push a policy to your domain-joined devices to add the following URL to the Local Intranet zone in Internet Explorer."-PossibleCause "One possibility is, that you have configured it manually on this test client in Internet Explorer. This check only validates, if it is assigned through a group policy.
72
-
The second option is, that you configured a toplevel site in the intranet site and not especially the above mentioned URL including the protocol."
$possibleErrors+=New-AnalyzeResult-TestName "IE Site Assignment"-Type Warning -Issue "We could not detect https://device.login.microsoftonline.com in the Local Intranet Zone of Internet Explorer. To avoid certificate prompts when users in register devices authenticate to Azure AD you can push a policy to your domain-joined devices to add the following URL to the Local Intranet zone in Internet Explorer."-PossibleCause "One possibility is, that you have configured it manually on this test client in Internet Explorer. This check only validates, if it is assigned through a group policy.
79
+
The second option is, that you configured a toplevel site in the intranet site and not especially the above mentioned URL including the protocol."
80
+
}
73
81
}
74
82
# GPO Checks
75
83
try {
@@ -118,6 +126,11 @@ function Invoke-AnalyzeHybridJoinStatus {
@@ -157,7 +170,7 @@ function Invoke-AnalyzeHybridJoinStatus {
157
170
158
171
# No errors detected, return success message
159
172
if ($possibleErrors.Count-eq0) {
160
-
$possibleErrors+=New-AnalyzeResult-TestName "All"-Type Information -Issue "All tests went through successfully."-PossibleCause ""
173
+
$possibleErrors+=New-AnalyzeResult-TestName "All"-Type Information -Issue "All tests went through successfully.$(if(-not$IncludeEventLog){'You can try to run the command again with the -IncludeEventLog parameter.'})"-PossibleCause ""
0 commit comments