Q&A currently supports the products listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).
For Exchange Online you can use the following PowerShell modules:
For an Exchange Server hosted in Azure, you can use the following PowerShell module:
You can also reach out to more experts in the dedicated Office 365 forum over here:
(Please don't forget to accept helpful replies as answer)