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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

email notification from Microsoft dynamics HR

(0) ShareShare
ReportReport
Posted on by 155

Hi everyone,

We are trying to setup Microsoft dynamics HR and we are struggling with the email side of things. I have a sandbox environment and also a trial. I have been able to setup the trial fine and easy but the sandbox is where the issue is. I have copied the same settings in there from the trial. The error I get when the system tries to send an email is :

Microsoft.Dynamics.Ax.Xpp.ErrorException: The remote server returned an error: (401) Unauthorized.
   at Dynamics.AX.Application.SysMailerFactory.`logDetailedSendFailure(String _mailerName, Exception _exception, Guid _correlationId) in xppSource://Source/ApplicationFoundation\AxClass_SysMailerFactory.xpp:line 231
   at Dynamics.AX.Application.SysMailerFactory.logDetailedSendFailure(String _mailerName, Exception _exception, Guid _correlationId)
   at Dynamics.AX.Application.SysMailerExchange.`sendMessage(MailMessage _message, Boolean _interactive, Guid _correlationId) in xppSource://Source/ApplicationFoundation\AxClass_SysMailerExchange.xpp:line 137
   at Dynamics.AX.Application.SysMailerExchange.sendMessage(MailMessage _message, Boolean _interactive, Guid _correlationId)
   at Dynamics.AX.Application.SysMailerExchange.`sendNonInteractive(MailMessage _message) in xppSource://Source/ApplicationFoundation\AxClass_SysMailerExchange.xpp:line 82
   at Dynamics.AX.Application.SysMailerExchange.sendNonInteractive(MailMessage _message)
   at Dynamics.AX.Application.SysEmailDistributor.`processEmails(Guid _emailProcessorId) in xppSource://Source/ApplicationFoundation\AxClass_SysEmailDistributor.xpp:line 187

Is there anything I need to allow from the from the power platform itself as I am at a loss on this one.

Any help is welcome.

regards,

Rajbps

I have the same question (0)
  • Harshal Nayak Profile Picture
    Microsoft Employee on at

    Hello rajbps,

    you can refer the settings in this doc https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/organization-administration/configure-email to verify if everything is configured correctly.

    Another suggestion would be to check the email distributor batch is running or not

    If you have SMTP setup, verify that all user mail accounts that will be used to send emails have to Send As and Send On Behalf Of permissions for the configured SMTP account.  You have to check in the Office 365 admin center.

    Check if the User options have an Email provider ID and account associated and if the Send notifications in the email are activated.

    regards,

    Harshal

  • rajbps Profile Picture
    155 on at

    Thanks Harshal,

    I have already checked that link but still it would not work.

    "Check if the User options have an Email provider ID and account associated and if the Send notifications in the email are activated."  where is this option please?

    Regards,

    Rajbps

  • Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi Rajbps,

    This option is at the top right corner.

    pastedimage1610780094758v1.png

    pastedimage1610780139010v2.png

  • rajbps Profile Picture
    155 on at

    Hi Parag,

    The error is coming from batch jobs itself. I have that set to exchange. What I would like to confirm is the account that I use to email out ie hr@mydomain.com, does it need to have a hr dymanic license attached. I have a sandbox and a trial in parallel and the sandbox is where I have this email issue where the trial is working fine. The only difference to what I can see is the license but has not tried to add one yet. Just want to get some more info if I am right or not.

    Regards,

    Rajbps

  • Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi Raj,

    Which batch job is giving an error? Can you please provide a screenshot here?

  • rajbps Profile Picture
    155 on at

    0003.email-error.png

    Hi Parag,

    See below

  • Harshal Nayak Profile Picture
    Microsoft Employee on at

    Hello rajbps ,

    are you still facing this issue?

    Regards,

    Harshal

  • Community Member Profile Picture
    on at

    Hi Rajbps,

    Does your issue gets resolved? We are having similar issue here, hoping to know what you did to get it working in your sandbox?

  • rajbps Profile Picture
    155 on at

    Hi bbfen,

    In my case the issue was with the details provided by the IT company. They have 2 domain, a staging one that was used to move that client and the actual one. i was given the staging domain detail which caused all this. Once I updated the email settings with the correct details, it all worked well.

    Hope this helps you.

    Regards,

    Rajbps

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 676

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 633 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 624 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans