# How to Connect to Office 365 Using a PowerShell Function and Exchange

Body:

If you have to connect to Office 365 and Exchange Admin Centers at the same time, here you have this commands to connect to both services: