Solved

Modify Send Connector on Office 365

Posted on 2014-01-06
4
3,166 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 38

Expert Comment

by:Vasil Michev (MVP)
Comment Utility
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
Comment Utility
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 38

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
Comment Utility
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
Comment Utility
Thanks, that seems to have sorted it!
0

Featured Post

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now