Skip to main content

Notifications

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

Error Message: Could Not Get Access Token

(1) ShareShare
ReportReport
Posted on by 52
Hello,
I am looking for some help in understanding this error and how to resolve?
 
 

"Email - OAuth Client"(CodeUnit 4507).TryGetAccessTokenInternal - Email - Outlook REST API by Microsoft
"Email - OAuth Client"(CodeUnit 4507).GetAccessToken - Email - Outlook REST API by Microsoft
"Email - Outlook API Helper"(CodeUnit 4509).Send line 11 - Email - Outlook REST API by Microsoft
"Microsoft 365 Connector"(CodeUnit 4503).Send line 2 - Email - Microsoft 365 Connector by Microsoft
"Send Email"(CodeUnit 8890).OnRun(Trigger) line 25 - System Application by Microsoft
"Email Dispatcher"(CodeUnit 8888).SendEmail line 22 - System Application by Microsoft
"Email Dispatcher"(CodeUnit 8888).OnRun(Trigger) line 20 - System Application by Microsoft
"Email Impl"(CodeUnit 8900).Send line 41 - System Application by Microsoft
"Email Impl"(CodeUnit 8900).Send line 4 - System Application by Microsoft
"Email Impl"(CodeUnit 8900).Send line 7 - System Application by Microsoft
Email(CodeUnit 8901).Send line 2 - System Application by Microsoft
"iPay API Helper"(CodeUnit 70436539).SendNotification line 101 - iPayments Credit Card & Collections by iSolutions
"iPay Process Transaction"(CodeUnit 70436535).ProcessAPI line 211 - iPayments Credit Card & Collections by iSolutions
"iPay Transaction Create HPP"(Page 70436576).OnInsertRecord(Trigger) line 148 - iPayments Credit Card & Collections by iSolutions

 
 
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 7,919 Super User 2025 Season 1 on at
    Error Message: Could Not Get Access Token
    The error "Could Not Get Access Token" indicates that the system failed to retrieve an OAuth access token for the integration with Microsoft 365 (Outlook). This issue typically arises due to authentication or configuration problems.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,074 Super User 2025 Season 1 on at
    Error Message: Could Not Get Access Token
    Hi,
     
    You posted the question in the general forum, but when the error shows codeunits, I do assume this is about Business Central or NAV, so I moved the question to the correct forum for you.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans