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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Issue in sending email after updating environment to version 26

(3) ShareShare
ReportReport
Posted on by 783 Super User 2025 Season 2
Hi,
 
When i was in Dynamics Business central cloud version 24.0, emails sending was working fine but after updating environment to version 26.1 , email sending not working
 
Note: Test email is working
 
Error message on send PO document(Sending from current user):
 
"LicenseServiceNonTransientException: Service resource is gone. Exception details : Status code returned: 'Gone', HTTP request error: Unknown, Message: "[AuthenticationHandler.AcquireTokenSilentWithLoginHintAsync with certificate] threw MsalClaimsChallengeException with errorCode: invalid_grant, correlationId:, details: AADSTS50158: External security challenge not satisfied. User will be redirected to another page or authentication provider to satisfy additional authentication challenges. Trace ID: Correlation ID: Timestamp:  The returned error contains a claims challenge. For additional info on how to handle claims related to multifactor authentication, Conditional Access, and incremental consent, see https://aka.ms/msal-conditional-access-claims. If you are using the On-Behalf-Of flow, see https://aka.ms/msal-conditional-access-claims-obo for details."
 
this error callstack:
 
 

"Email - OAuth Client"(CodeUnit 4507).TryGetAccessTokenInternal - Email - Outlook REST API by Microsoft version 26.1.33404.33834
"Email - OAuth Client"(CodeUnit 4507).GetAccessToken - Email - Outlook REST API by Microsoft version 26.1.33404.33834
"Email - Outlook API Helper"(CodeUnit 4509).Send line 8 - Email - Outlook REST API by Microsoft version 26.1.33404.33834
"Current User Connector"(CodeUnit 4500).Send line 2 - Email - Current User Connector by Microsoft version 26.1.33404.33834
"Send Email"(CodeUnit 8890).OnRun(Trigger) line 25 - System Application by Microsoft version 26.1.33404.35168
"Email Dispatcher"(CodeUnit 8888).SendEmail line 22 - System Application by Microsoft version 26.1.33404.35168
"Email Dispatcher"(CodeUnit 8888).OnRun(Trigger) line 20 - System Application by Microsoft version 26.1.33404.35168
"Email Impl"(CodeUnit 8900).Send line 41 - System Application by Microsoft version 26.1.33404.35168
"Email Impl"(CodeUnit 8900).Send line 2 - System Application by Microsoft version 26.1.33404.35168
"Email Editor"(CodeUnit 8906).SendOutbox line 7 - System Application by Microsoft version 26.1.33404.35168
"Email Editor"(Page 13).ValidateAndSendEmailData line 8 - System Application by Microsoft version 26.1.33404.35168
"Email Editor"(Page 13)."Send - OnAction"(Trigger) line 2 - System Application by Microsoft version 26.1.33404.35168

 

 
I have the same question (0)
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,089 Super User 2025 Season 2 on at
    Issue in sending email after updating environment to version 26
    This issue is related to Microsoft Entra Conditional Access policies (e.g., MFA or security challenge) now enforced more strictly in BC v26.1 when using the Current User email account.
     
    ✅ Test email works because it uses basic access, but sending from Current User fails due to Conditional Access not being satisfied silently via OAuth.
     
    🔧 Solution:
     
    Ask your Azure/Entra admin to:
     
    Exclude Business Central app from Conditional Access (if allowed),
     
    OR switch to using a Shared Mailbox with the “Delegated Account” email scenario (configured under Email Accounts page),
     
    OR adjust the policy to allow token acquisition without interactive prompt.
     
     
     
    📌 Refer to: Microsoft Docs – Conditional Access and MSAL 
     
    ✅ Mark this answer as verified if it helps you.
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    92,886 Super User 2025 Season 2 on at
    Issue in sending email after updating environment to version 26

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,255

#2
Sumit Singh Profile Picture

Sumit Singh 2,665

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,401

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans