web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Sending emails from Dynamics AX to external domains using Gmail

(0) ShareShare
ReportReport
Posted on by 20

When generating a report from AX with print destination via email using GMAIL account, it automatically directs to the OUTLOOK setup.

Upon cancellation of the outlook setup, the following errors prompts:

  • Method 'logon' in COM object of class '_NameSpace' returned error code 0x80020009 (DISP_E_EXCEPTION) which means: Cannot complete the operation. You are not connected.
  • Mail error: An invalid session was sent to IhSession. No message was sent.
  • Mail error: An invalid session was sent to IhSession. No message was sent.
  • The report has been successfully sent as attachment to email.

Email generation of reports were working from the time the AX was implemented (year 2014). It just suddenly manifests an error on the 3rd week of January 2020.

Thank you in advance.

I have the same question (0)
  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello A.i.D.,

    If things work fine until last week then there must have been a change. Do you know if some modifications, upgrades or something alike have been done in the last week?

    Best regards,

    Ludwig

  • AediX Profile Picture
    20 on at

    Deployment of elements on the AR module was done. However, upon checking, all reports from different modules has the same issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans