Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How do I install Assert Library from AppSource?

(0) ShareShare
ReportReport
Posted on by 10

Hello,

I'm trying to run a test in my sandbox could environment. I have the dependency in the app.json file

{
    "dependencies": [
        {
        "id": "dd0be2ea-f733-4d65-bb34-a28f4624fb14",
        "name": "Library Assert",
        "publisher": "Microsoft",
        "version": "19.0.0.0"
        }
    ]
}
When I try to publish it I get the error:
error AL1024: A package with publisher 'Microsoft', name 'Library Assert', and a version compatible with '19.0.0.0' could not be loaded. Symbols for the requested app Library Assert by Microsoft 19.0.0.0 could not be found among this tenant's installed apps. AppGroup Id 25452
MyExtension/Tests/GenericTest.al(10,17): error AL0185: Codeunit 'Library Assert' is missing
I cannot find the Library Assert in the AppSource to install it. Where should I be looking for it? 
  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,273 Moderator on at
    RE: How do I install Assert Library from AppSource?

    The simplest way you can go to Extension management and check what is the latest version in there for the app you are trying to add in AL code and use that version, currently the error you are facing is due to version no. is not installed in your envrionment.

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 77,925 Super User 2025 Season 1 on at
    RE: How do I install Assert Library from AppSource?

    Hi, to install AppSource Extension do following: In address bar, append following to the base business central URL
    ?aid= FIN&page=2503&filter=%27ID%27%20IS%20%27<App ID>%27&signInRedirected=1
    Then replace part with the AppSource Extension’s App Id.

    More details:

    How to install AppSource Extension in Dynamics 365 Business Central SaaS
    https://yzhums.com/2337/

    PS: This question was answered by Freddy on MS Yammer.

    https://www.yammer.com/dynamicsnavdev/threads/2060247213187072

    pastedimage1682468141905v1.png

    Hope this helps.

    Thanks.

    ZHU

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…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans