Skip to main content
Suggested answer

SMTP "The Azure AD Authentication Flow provider has not been initialised"

editSubscribe (0) ShareShare
ReportReport
Posted on by 2
Hi BC community,
 
I am getting an error when trying to authenticate an SMTP email account in D365 BC. 
 
The Azure AD Authentication Flow provider has not been initialised.
Internal session ID: 
61ca65be-fc23-4104-9aa6-0a9c183c13cc
Application Insights session ID: 
8072b523-853c-429f-854d-bbd227311d05
Client activity id: 
5d6bbc68-4828-1c8e-da72-3608625a2a1a
Time stamp on error: 
2023-12-08T01:59:02.3166140Z
AL call stack: 
/Azure AD Auth Flow/(CodeUnit 6303).CheckProvider line 10 - Base Application by Microsoft
/Azure AD Auth Flow/(CodeUnit 6303).AcquireTokenByAuthorizationCodeWithCredentials - Base Application by Microsoft
/Azure AD Mgt./(CodeUnit 6300).AcquireTokenByAuthorizationCode - Base Application by Microsoft
/OAuth2 SMTP Authentication/(CodeUnit 4516).AuthenticateWithOAuth2 - Email - SMTP Connector by Microsoft
/SMTP Account/(Page 4512)./Authenticate with OAuth 2.0 - OnAction/(Trigger) line 4 - Email - SMTP Connector by Microsoft
 
 
An identical configuration and extension versions are working in a sandbox environment.
 
Has anyone seen a fix from MS on this issue?