Symantec IGA

Expand all | Collapse all

Facing issue with Office 365 connection with CAIM 14.0

Jump to Best Answer
  • 1.  Facing issue with Office 365 connection with CAIM 14.0

    Posted 03-29-2018 10:09 PM

    Hi,

     

    As per client requirement, i  want to integrate office 365 with CAIM 14.0 but facing some issue connecting to Office 365 from the CAIM application server. 

    i have tried below scripts to test connection between caim and office 365 from caim server.

    Import-Module MsOnline

    $UserCredential = Get-Credential

    Connect-MsolService -Credential $UserCredential

    $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $UserCredential -Authentication Basic -AllowRedirection -SessionOption (New-PSSessionOption -IdleTimeOut 60000)

    Import-PSSession $session

     

    but getting error can't connect some proxy issue.

     

    It seems firewall issue between caim server and office 365.

     

    I think it would require to open firewall between caim server and office 365.

    Can anyone help me on this, what port should be open between caim and office 365?

    also what will be Office 365 destination url?

     

    Regards,

    Rajesh



  • 2.  Re: Facing issue with Office 365 connection with CAIM 14.0
    Best Answer

    Broadcom Employee
    Posted 04-02-2018 02:58 AM

    Hi Rajesh,

    Before running the test, did you install the pre-reqs?

    1. Powershell

    2. Windows Azure Active Directory Module for Windows PowerShell

     

    While running below step, what credentials did you enter? You need to enter the O365 Admin credentials. Did you register a trial O365 account (or) using a Licensed one?

    $UserCredential = Get-Credential

     

    Firewall Ports to be open:

    Server/ServicePortProtocolDirection
    ADFS   (Internal)443TCPInbound/Outbound
    ADFS (Proxy DMZ) or WAP Server443TCPInbound/Outbound
    Microsoft Online Portal (Website)443TCPInbound/Outbound
    Outlook Web Access (Website)443TCPInbound/Outbound
    Lync/Skype for Business Client443TCPInbound/Outbound
    SharePoint Online (Website)443TCPInbound/Outbound
    Outlook for Mac443TCPInbound/Outbound
    Outlook Client443TCPInbound/Outbound
    Mail Routing25TCPInbound/Outbound
    SMTP Relay (requires TLS)587TCPInbound/Outbound
    Simple IMAP4 migration Tool143/993TCPInbound/Outbound
    POP3 (requires SSL)995TCPInbound/Outbound
    DirSync/Azure Active Directory Sync80/443TCPInbound/Outbound
    Exchange Migration Tool80/443TCPInbound/Outbound
    IMAP Migration Tool80/443TCPInbound/Outbound
    Exchange Management Console80/443TCPInbound/Outbound
    Exchange Management Shell80/443TCPInbound/Outbound
    Lync (Data Sharing Sessions)443TCPOutbound
    Lync (Video, Audio, Application Sharing)443TCPOutbound
    Lync (Audio & Video)3478UDPOutbound
    Lync (Audio & Video)50000-59999TCP/UDPOutbound
    Lync Mobile Push iOS Only5223TCPOutbound

     

    Use "https://portal.office.com/" to connect to O365. Did you register a trial O365 account ?



  • 3.  Re: Facing issue with Office 365 connection with CAIM 14.0

    Broadcom Employee
    Posted 04-04-2018 08:59 PM

    The Windows Remote Management uses SOAP over HTTPS. If the HTTP traffic needs to go through an HTTP proxy, then you might need configure it: Proxy Servers and WinRM (Windows)