MSOnline v1 Powershell modules currently (as of publishing date, see above) do not support Modern Authentication (oAuth). If you are using MSOnline for your project, use basic authentication. For more information on this, find the Microsoft article here.

If you would like to use Modern Authentication, please install Azure Active Directory Powershell Module V2, as oAuth only supports Azure AD PowerShell. For more on this, click here.

Print Friendly, PDF & Email