When I setup my Dynamics GP to run/use O365 for regular email functionality, I had to do the following:
1. Make sure System Preferences window is set to EXCHANGE, not MAPI.
2. Since I was using O365, I had to configure Exchange Online, and used a User ID such as Derek@DynamicsGP.onmicrosoft.com.
3. I also looked at the DYNAMICS..SY04920 table and verified that my Exchange_Server_URL is correct for my USERID.
**NOTE: If you copy the Exchange_Server_URL into a browser window, it should render a service landing page where it shows a svcutil.exe link and some C# code, etc.
When you log in to the Exchange window in GP, GP asks AutoDiscover for the EWS URL. AutoDiscover gives the URL back, and then GP passes the credentials to that URL. GP then stores that URL in the SY04920.
The next time you log in, it takes that URL and does a quick check to see if the URL and your credentials are valid. If the URL doesn’t work, GP passes your credentials back to AutoDiscover to get the new EWS URL. If the URL in SQL is wrong, GP will ask AutoDiscover for a new one.
4. If using a regular Exchange Server and not O365 Exchange Online, I'd also verify whether the user's UPN and email address are set to the same thing, as currently it is a requirement of Autodiscover for these to match and since Dynamics GP uses Autodiscover to get the EWS URL, it is a requirement of Dynamics GP.
a. For the user you've elected to be the 'test account', log into the Domain Controller and make sure the email suffix is added to the domain as an alternate domain suffix:
1. In Active Directory Domains and Trusts, right-click on 'AD Domains and Trusts' and verify under the 'UPN Suffixes' tab, that the email suffix is added to the domain as an alternate domain suffix.
2. Add the suffix for your email address as an alternate here, click the Add button. This process makes the email suffix available to choose in the next step.
b. In Active Directory Users & Computers, right-click on your test user and go into Properties. Under the 'Account' tab, the same email suffix you setup above, will now be available to choose for the User Logon Name.
1. Set the User Logon Name as your email address. For example, if your email address is admin2@email-domain.com, your screen setup should show under User Logon Name:
Field1: admin2 Field2: @email-domain.com
c. Once the email address and UPN match, attempt the logon through Dynamics GP's Exchange Logon window again, and see if that now works.
***NOTE: For using O365 Exchange Online with Dynamics GP, as mentioned in my previous case update, I didn't have to setup any of this***
I'd start with the above and see if any of this helps with getting O365 working with the Dynamics GP email functionality.
Thanks