[2022-01-12 02:36:45] [INFO] ========================================================= [2022-01-12 02:36:45] [INFO] Starting AAD Connect connectivity and resolution testing. [2022-01-12 02:36:46] [INFO] Starting Office 365 global administrator and credential tests. [2022-01-12 02:36:46] [ERROR] Credential required to validate Office 365 credentials. Enter global admin credential. [2022-01-12 02:38:21] [INFO] Checking Microsoft Online Services Module. [2022-01-12 02:38:22] [INFO] Checking for Microsoft Azure AD Module. [2022-01-12 02:38:22] [INFO] Finished Microsoft Online Service Module check. [2022-01-12 02:38:22] [INFO] Attempting logon as xxx@contosoxxx0rg.onmicrosoft.com to Azure Active Directory. [2022-01-12 02:38:30] [SUCCESS] Successfully logged on to Azure Active Directory as xxx@contosoxxx0rg.onmicrosoft.com. [2022-01-12 02:38:31] [ERROR] Unable to log on to Azure Active Directory as xxx@contosoxxx0rg.onmicrosoft.com. Check 2022-01-12_AADConnectConnectivity.txt for additional details. [2022-01-12 02:38:31] [ERROR] The parameter'RoleObjectId' cannot be bound to the target. An exception occurred while setting "RoleObjectId": "Null cannot be converted to type" System.Guid ". [2022-01-12 02:38:31] [ERROR] Exception while attempting to log onto Azure AD. Exception data: [2022-01-12 02:38:31] [ERROR] A positional parameter that accepts the argument'System.Management.Automation.PSCredential' cannot be found. [2022-01-12 02:38:31] [INFO] Starting local network port tests. [2022-01-12 02:38:35] [SUCCESS] TCP connection to xxxxx.xxx:53 succeeded. [2022-01-12 02:38:35] [SUCCESS] TCP connection to xxxxx.xxx:135 succeeded. [2022-01-12 02:38:35] [SUCCESS] TCP connection to xxxxx.xxx:389 succeeded. [2022-01-12 02:38:35] [SUCCESS] TCP connection to xxxxx.xxx:445 succeeded. [2022-01-12 02:38:35] [SUCCESS] TCP connection to xxxxx.xxx:3268 succeeded. [2022-01-12 02:38:36] [INFO] Finished local network port tests. [2022-01-12 02:38:36] [INFO] Done! Logfile is 2022-01-12_AADConnectConnectivity.txt. [2022-01-12 02:38:36] [INFO] ---------------------------------------------------------