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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Dynamics Business Central: Missing Microsoft.Office.Interop.Outlook, Version=15.0.0.0

(0) ShareShare
ReportReport
Posted on by 5

Hello Everyone,

I am incorporating Microsoft.Office.Interop.Outlook, version=15.0.0.0 into Business central. I have declared dotnet variables as follows and specified assembly probing path correctly as attached as well but my app is not compiling. It throughs an error that, error AL0451: An assembly named 'Microsoft.Office.Interop.Outlook, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be found in the assembly probing paths 'C:\Program Files\Microsoft Dynamics 365 Business Central\140\Service\Add-Ins, C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\Microsoft Dynamics NAV\Add-Ins\14.0.43793.0, C:\Program Files\Microsoft Dynamics 365 Business Central\140\Service\, C:\windows\Microsoft.NET\assembly\'.

I have given folder path all the user permissions but everything seems not working.

Dotnet assembly file;

    assembly("Microsoft.Office.Interop.Outlook")
    {
        Version = '15.0.0.0';
         Culture = 'neutral';
         PublicKeyToken = '71e9bce111e9429c';
        type(Microsoft.Office.Interop.Outlook.ApplicationClass; ApplicationClassApp) { }
        type(Microsoft.Office.Interop.Outlook.OlItemType; OlItemType) { }
        type(Microsoft.Office.Interop.Outlook.MailItem; MailItem) { }
        type(Microsoft.Office.Interop.Outlook.Attachments; Attachments) { }
        type(Microsoft.Office.Interop.Outlook.OlAttachmentType; OlAttachmentTypeApp) { }
        type(Microsoft.Office.Interop.Outlook.OlBodyFormat; OlBodyFormat) { }
    }
Assembly Probing Path;
    "al.assemblyProbingPaths": [
        "./.netpackages",
        "C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5",
        "C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework",
        "C:\\Program Files\\Microsoft Dynamics 365 Business Central\\140",
        "C:\\Program Files (x86)\\Microsoft Dynamics 365 Business Central\\140",
        "C:\\Program Files\\Microsoft Dynamics 365 Business Central\\140\\Service\\Add-Ins",
        "C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\WindowsPowerShell",
        "C:\\Windows\\assembly",
        "C:\\Program Files (x86)\\Microsoft Dynamics 365 Business Central\\140\\RoleTailored Client",
        "C:\\Program Files\\Microsoft Dynamics 365 Business Central\\140\\Service",
        "C:\\Windows\\assembly\\GAC_MSIL\\Microsoft.Office.Interop.Outlook\\15.0.0.0__71e9bce111e9429c",
        "C:\\Windows\\assembly\\GAC_MSIL\\office\\15.0.0.0__71e9bce111e9429c",
        "C:\\Windows\\Microsoft.NET\\assembly"
    ],
Does anyone implemented this functionality in Business central, if so kindly share your idea. Thank you.

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at
  • Suggested answer
    Shuu Profile Picture
    5 on at

    Thank you, though this did not resolved my problem.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 595 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 364 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 331 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans