Has anyone successfully configured EWS with the U.S. M365 Government Exchange Service? I am assuming that a non-person entity or service account would need to be setup, but I am not sure where to start or if it is even possible without setting up the Azure AD Government Cloud. Both our versions of SharePoint and K2 are on prem. I assume the connection string would be something like this but not sure what else would be required from the K2 side or Gov Side. Any successful integration advice is welcome. Thanks
<add name="SourceCode.MessageBus.Ews.ExchangeWebServicesConnection:system@k2.local" connectionString="Autodiscover=False;Url=https://outlook.office365.us/EWS/Exchange.asmx;CertificateThumbprint={YourCACCertificateThumbprint};Poll Interval=30S" />
or
<add name="SourceCode.MessageBus.Ews.ExchangeWebServicesConnection:system@k2.local" connectionString="Autodiscover=False;Url=https://outlook.office365.us/EWS/Exchange.asmx;User ID=user@domain.gov;Password=YourPassword;Poll Interval=30S" />