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

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,696 Moderator on at
    RE: Dynamics Business Central: Missing Microsoft.Office.Interop.Outlook, Version=15.0.0.0

    Hi,

    You can refer the below link

    learn.microsoft.com/.../microsoft-office-interop-excel-cannot-be-found-on

    stackoverflow.com/.../could-not-load-file-or-assembly-interop-microsoft-office-core-version-2-4-0-0

  • Suggested answer
    Shuu Profile Picture
    5 on at
    RE: Dynamics Business Central: Missing Microsoft.Office.Interop.Outlook, Version=15.0.0.0

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,214

#2
Sumit Singh Profile Picture

Sumit Singh 2,145

#3
YUN ZHU Profile Picture

YUN ZHU 1,887 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans