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

Announcements

Community site session details

Community site session details

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

Business Central SaaS (27.3) - Email sending error

(1) ShareShare
ReportReport
Posted on by
Issue Overview
Newly created users in the Business Central SaaS environment (version 27.3) are unable to send emails (approval notifications, background/job queue–driven emails).
 
Existing users are not affected.
 
The error observed is: “You are not authorized to access this resource: https://graph.microsoft.com/.default.”
 
The users have the same bc Licences and bc permission and have the same office 365 licences.
 
The email account being used is 'Current User' and the notification is trigerred by a standard approval workflow.
 
Is anyone having this issue and any idea how to troubleshoot as debugging it in AL is impossible as the functions for the token retrieval are blocked.
 
The code is breaking at this line : "Email - OAuth Client"(CodeUnit 4507).TryGetAccessTokenInternal - Email - Outlook REST API by Microsoft version 27.3.44313.46295 
 
Thanks in advance
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    10,630 Super User 2026 Season 1 on at
    Hello,
     
    This error happens because the new users don’t have Microsoft Graph consent/authorization for sending email via the Current User connector, even though their BC and M365 licenses match existing users; Business Central uses Microsoft Graph to send email, and if admin consent hasn’t been granted (or mailbox/Graph permissions aren’t fully provisioned), token retrieval fails at TryGetAccessTokenInternal; fix it by granting admin consent in Entra ID for the Business Central enterprise app, verifying the users have active Exchange Online mailboxes, and checking Email Outbox/telemetry for confirmation—existing users work because consent was already granted earlier.
     
    Regards,
    Oussama Sabbouh

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,420 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,285 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,173 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans