Solved

Modify Send Connector on Office 365

Posted on 2014-01-06
4
3,558 Views
Last Modified: 2014-01-07
I need to modify one of the send connector we have setup in our Office 365 implimentation, to require TLS. I have tried using the below powershell commands, but these all error with:
"Set-SendConnector : The operation couldn't be performed because object 'PartnerCo Outbound' couldn't be found on 'DomainController1.ourdomain.local"

#connect to Exchange Online
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session –AllowClobber
add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010

#modify send connector
Set-sendconnector –identity “PartnerCo Outbound” –requiretls $true
#Using Online Domain as a prefix:
Set-sendconnector –identity “CloudDomain\PartnerCo Outbound” –requiretls $true
#Using GUI:
Set-sendconnector –identity 74930198-55f9-4e5b-ba36-7fb3cf473f1e –requiretls $true

How can I connect to Office 365 and modify the send connector?
0
Comment
Question by:bjblackmore
  • 2
  • 2
4 Comments
 
LVL 40

Expert Comment

by:Vasil Michev (MVP)
ID: 39759904
Remove the

add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010

Open in new window


part of your script, using this will send the cmdlets to your on-prem server
0
 

Author Comment

by:bjblackmore
ID: 39760258
Thanks for the reply.

If I remove that line from the script, the cmdlet is not recognised.

I get an error: "The term 'Set-sendconnector' is not recognised as the name of a cmdlet, function, script file, or operable program."

set-sendconnector error
0
 
LVL 40

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 39760300
Sorry, I dind't read the rest of the post it seems. The correct cmdlets to use with Exchange Online are the following:

Set-InboundConnector or Set-OutboundConnector

http://technet.microsoft.com/en-us/library/jj200710(v=exchg.150).aspx
0
 

Author Closing Comment

by:bjblackmore
ID: 39761491
Thanks, that seems to have sorted it!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
Adoption of Microsoft’s Enterprise Mobility and Security solution and Office 365 will re-order the File Sync and Share market Microsoft has stated that its Enterprise Mobility + Security (EMS) is the fastest growing product in the history of the …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question