Does office 365 exchange server supports Foreign Connector?
if yes, then How to create Foreign Connector in Office 365.
Requirement:
Create the Transport Rule and Foreign Connector in office 365 exchange server using remote power shell script.
Step Completed:
I created the 30 days trailer office 365 developer account
and i am able to import all powershell commands from office 365 using below scripts remotely
$username="test@msdn466.onmicrosoft.com"
$pwd="test@123$"
$cred = New-Object System.Management.Automation.PSCredential -ArgumentList @($username,(ConvertTo-SecureString -String $pwd -AsPlainText -Force))
$pso = New-PSSessionOption -SkipCACheck -SkipCNCheck
$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $cred -Authentication Basic –AllowRedirection -SessionOption $pso
Import-PSSession $s
After importing i able to create the Transport Rule Using "New-TransportRule" Command
but i didn't find the "New-ForeignConnector" command in imported session, after running "New-ForeignConnector" command it gives the error like "Not recognized command"
How to solve the above problem?
Thanks in advance