The process of building custom applications and tools that interact with Microsoft Exchange Server
First, find you tenant ID follow this article: Find tenant ID through the Azure portal
Install Exchange online Module and connect to Exchange online from Windows PowerShell:
I am using V2 module 2.0.6, there doesn't exist any issue with it.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.