Add Office 365 account with a script

Occasional Contributor

Hi folks,

I need to add Office 365 account to Outlook Office 365. Windows 10 version is 1809.

Currently there is one Exchange on-premises account in Outlook.


Is there any way to add that account with a logon script?


5 Replies

Just remember that the only *supported* method to add an O365 account is via Autodiscover.

Do you think Office customization tool and PRF files will work for Office 365 accounts?

So, as I understand, I need to make changes to my Active directory to make clients to look mail server at and no more at local Exchange server.

Am I right?


Can you please advise what settings in AD I need to change?