Skip to main content

Notifications

Announcements

No record found.

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

  • rajbps Profile Picture
    rajbps 155 on at
    RE: email notification from Microsoft dynamics HR

    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

  • RE: email notification from Microsoft dynamics HR

    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?

  • RE: email notification from Microsoft dynamics HR

    Hello rajbps ,

    are you still facing this issue?

    Regards,

    Harshal

  • rajbps Profile Picture
    rajbps 155 on at
    RE: email notification from Microsoft dynamics HR

    0003.email-error.png

    Hi Parag,

    See below

  • Parag Chapre Profile Picture
    Parag Chapre 12,248 Most Valuable Professional on at
    RE: email notification from Microsoft dynamics HR

    Hi Raj,

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

  • rajbps Profile Picture
    rajbps 155 on at
    RE: email notification from Microsoft dynamics HR

    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
    Parag Chapre 12,248 Most Valuable Professional on at
    RE: email notification from Microsoft dynamics HR

    Hi Rajbps,

    This option is at the top right corner.

    pastedimage1610780094758v1.png

    pastedimage1610780139010v2.png

  • rajbps Profile Picture
    rajbps 155 on at
    RE: email notification from Microsoft dynamics HR

    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

  • RE: email notification from Microsoft dynamics HR

    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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans