Search code examples
powershellazure-active-directoryazure-powershellexchange-basicautho365security-compliance

Will previous account without MFA continue to work with Exchange Online PowerShell V2 (EXO V2) module


For our solution we use EXO V1. We use an account that does not have MFA enabled to create a session with O365 exchange as a service to get exchange(O365) information. Now we were planning to migrate to EXO V2. We wanted to understand will our solution continue to work with the previous account when we migrate to EXO V2?

We did try this an for a test account and it worked. But the risk we see is the MSDN page saying ,'You can't use Basic authentication in the EXO V2 module;'. Refer the EXO V2 page here: https://learn.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps#how-the-exo-v2-module-works

The support for appId\certificate based authentication to run(app id, secret etc.) this in a service is in EXO preview I guess and we don't want to migrate to using the preview yet.

Can someone please confirm if we can safely move to using EXO V2 from EXO V1 with the same account without any config changes from O365 side etc.?

Also any idea on when EXO V2 preview can be GA?


Solution

  • You can safely migrate to EXO V2.

    The features EXO V1 has have been provided by EXO V2.

    Without MFA configuration, you don't need other additional configurations.

    And appId\certificate based authentication has been available in current release: Version 2.0.3.

    See reference here and here.