Add Office 365 account with a script

%3CLINGO-SUB%20id%3D%22lingo-sub-356014%22%20slang%3D%22en-US%22%3EAdd%20Office%20365%20account%20with%20a%20script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356014%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20folks%2C%3C%2FP%3E%3CP%3EI%20need%20to%20add%20Office%20365%20account%20to%20Outlook%20Office%20365.%20Windows%2010%20version%20is%201809.%3C%2FP%3E%3CP%3ECurrently%20there%20is%20one%20Exchange%20on-premises%20account%20in%20Outlook.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20way%20to%20add%20that%20account%20with%20a%20logon%20script%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-356014%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-358509%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20Office%20365%20account%20with%20a%20script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-358509%22%20slang%3D%22en-US%22%3ENot%20in%20AD%20but%20DNS!%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fsv-se%2Foffice365%2Fadmin%2Fdns%2Fcreate-dns-records-using-windows-based-dns%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fsv-se%2Foffice365%2Fadmin%2Fdns%2Fcreate-dns-records-using-windows-based-dns%3Fview%3Do365-worldwide%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-358502%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20Office%20365%20account%20with%20a%20script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-358502%22%20slang%3D%22en-US%22%3E%3CP%3ESo%2C%20as%20I%20understand%2C%20I%20need%20to%20make%20changes%20to%20my%20Active%20directory%20to%20make%20clients%20to%20look%20mail%20server%20at%20outlook.office%20365.com%20and%20no%20more%20at%20local%20Exchange%20server.%3C%2FP%3E%3CP%3EAm%20I%20right%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20please%20advise%20what%20settings%20in%20AD%20I%20need%20to%20change%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-358498%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20Office%20365%20account%20with%20a%20script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-358498%22%20slang%3D%22en-US%22%3E%3CP%3EDo%20you%20think%20Office%20customization%20tool%20and%20PRF%20files%20will%20work%20for%20Office%20365%20accounts%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-356394%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20Office%20365%20account%20with%20a%20script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356394%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20remember%20that%20the%20only%20*supported*%20method%20to%20add%20an%26nbsp%3BO365%26nbsp%3Baccount%20is%20via%20Autodiscover.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-356015%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20Office%20365%20account%20with%20a%20script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356015%22%20slang%3D%22en-US%22%3EPlease%20see%20this%20link%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.howto-outlook.com%2Fhowto%2Fdeployprf.htm%23script%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.howto-outlook.com%2Fhowto%2Fdeployprf.htm%23script%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E
Highlighted
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?

Thanks

5 Replies
Highlighted
Highlighted

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

Highlighted

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

Highlighted

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

Am I right?

 

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

Thanks