Cannot change Office 365 connected account to POP

I have a Office 365 user mailbox to which I want to attach an external email via POP3.

Whenever I enter the email address and pasword for this external mailbox it connects automatically via IMAP and mail starts flowing in the Office 365 mailbox. But I don't want this. I want POP3 so the external mailbox is purged upon retrieval.

My question is how can I default to POP3.
LVL 4
FrankBusiness OwnerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
You can create a new subscription via POP3 using the New-PopSubscription cmdlet:

https://technet.microsoft.com/en-us/library/dd351039(v=exchg.150).aspx
FrankBusiness OwnerAuthor Commented:
Thanks for responding.

When I try to use the cmdlet i get an error:

New-PopSubscription : The term 'New-PopSubscription' is not recognized as the name of a cmdlet, function, script file,or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I used this command:
New-PopSubscription -Name "xxxxxxx" -EmailAddress user.name@domain.com -IncomingUserName user.name@domain.com -IncomingPassword (ConvertTo-SecureString -String 'abcd1234' -AsPlainText -Force) -IncomingServer pop.server.com  -IncomingSecurity Ssl -IncomingPort 995
Vasil Michev (MVP)Commented:
Well you need to connect PowerShell to Exchange Online first: https://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx

Sorry for skipping that part, I always assume people know stuff that has become routine to me :)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FrankBusiness OwnerAuthor Commented:
Thanks Vasil. I finally got it.

There were also some other parts to my solution , therefor i'll put the complete solution to aid other users in my position. These are the complete steps I followed:

- Opened powershell as an administrator

PS C:\Windows\system32> $UserCredential = Get-Credential
PS C:\Windows\system32> $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
PS C:\Windows\system32>Set-ExecutionPolicy RemoteSigned
PS C:\Windows\system32>Import-PSSession $Session
PS C:\Windows\system32>New-PopSubscription -Name "xxxxxxx" -EmailAddress user.name@domain.com -IncomingUserName user.name@domain.com -IncomingPassword (ConvertTo-SecureString -String 'P@ssw0rd1' -AsPlainText -Force) -IncomingServer my.popserver.com  -IncomingSecurity none -IncomingPort 110
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Office 365

From novice to tech pro — start learning today.