Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

How do I install Assert Library from AppSource?

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,091 Super User 2024 Season 1 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 72,941 Super User 2024 Season 2 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans