- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
0ffice 365 connection error
Hi , my objective is to create a office 365 connector. following the office 365 connector data sheet document ,i am trying to connect the trail office 365 account. I installed the power shell also .But in connection setting when i am givving the credentials and clicking test setting its showing the error.
my port 22 is also open , please help.
- Tags:
- Access Fulfillment Express
- afx connector
- Community Thread
- Connector
- Discussion
- Forum Thread
- Identity G&L
- Identity Governance & Lifecycle
- IG&L
- IGL
- RSA Identity
- RSA Identity G&L
- RSA Identity Governance & Lifecycle
- RSA Identity Governance and Lifecycle
- RSA IGL
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Even though the port is listening, connection refused means that there is most probably a network issue between the L&G server and the Office365 server. Try the following:
1. SSH to the Via L&G server.
2. Run the below command (replace <user> with the user in the credentials, and <server_ip> with the IP/Hostname of the Office365 server used in the connector settings):
ssh <user>@<server_ip>
3. You can also try the below command (replace the <server_ip> with the IP/Hostname of the Office365 server used in the connector settings):
openssl s_client -connect <server_ip>:22
If there is no network issue, the output should look like this:
CONNECTED(00000003)
4225:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:610:
If you do not get "CONNECTED(00000003)" in the very first line, then something is wrong with the connection (might be DNS, machine or intermediate firewall ... etc).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Even though the port is listening, connection refused means that there is most probably a network issue between the L&G server and the Office365 server. Try the following:
1. SSH to the Via L&G server.
2. Run the below command (replace <user> with the user in the credentials, and <server_ip> with the IP/Hostname of the Office365 server used in the connector settings):
ssh <user>@<server_ip>
3. You can also try the below command (replace the <server_ip> with the IP/Hostname of the Office365 server used in the connector settings):
openssl s_client -connect <server_ip>:22
If there is no network issue, the output should look like this:
CONNECTED(00000003)
4225:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:610:
If you do not get "CONNECTED(00000003)" in the very first line, then something is wrong with the connection (might be DNS, machine or intermediate firewall ... etc).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
now getting this error from L & G.
java.io.IOException: Auth fail
at net.sf.commons.ssh.jsch.JschConnectionFactory.connectUsingPassword(JschConnectionFactory.java:82)
at net.sf.commons.ssh.jsch.JschConnectionFactory.openConnection(JschConnectionFactory.java:142)
at com.aveksa.AFX.transport.ssh.SshSettingsTest.runTest(SshSettingsTest.java:66)
at com.aveksa.afx.server.component.SettingsTestExecutorComponent.onCall(SettingsTestExecutorComponent.java:29)
but from command prompt of L&G server machine if i try this command
openssl s_client -connect <server_ip>:22
i am getting the bellow output:
CONNECTED(00000003)
27185:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:601:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Great! So now the network issue is resolved. This error most probably means the SSH credentials are incorrect. Now try step 2 from my above comment:
ssh <user>@<server_ip>
It should prompt you for a password and successfully log you in if the credentials are correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ssh <user>@<server_ip>
output:
<user>@<ipaddress>'s password:
Permission denied, please try again.
note: password is correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Looks like the service account being used does not have the necessary privileges to login via SSH. Try using a local administrator just for testing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
the username which i am using have the administrator privilege
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
thank you very much,now able to connect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Great. If any you have the solution or if any of the above comments was the solution, please mark it for future reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
May I know How you solved the Auth Fail error?
