Tech-Lucky

Tech-LuckyTech-LuckyTech-Lucky

Tech-Lucky

Tech-LuckyTech-LuckyTech-Lucky
  • Home
  • About
  • Contact
  • Blogs
  • More
    • Home
    • About
    • Contact
    • Blogs
  • Home
  • About
  • Contact
  • Blogs

Welcome

 Welcome to Tech - Lucky, the ultimate destination for all things related to Dynamics 365 Business Central, Navision 2016, and other useful business tools. We are thrilled to have you here, and we can't wait to share with you the best tips and tricks to help you improve your business processes and make the most of your software tools. Whether you're a seasoned business professional or just starting out, our blog is designed to provide you with the most up-to-date and relevant information to help you succeed. So sit back, relax, and explore our blog to discover the latest trends, tools, and insights that will help you take your business to the next level. 

Social

Subscribe

Sign up to hear from us about specials, Blogs, and events.

Experts we admire

This section contains the links to our experts
Functional Expert

My Blog

All Posts

A Step-by-Step Guide to Publishing Apps on Microsoft AppSource

9 November 2024|D365 Business Central

Tech-Lucky_AppSource

I’m not going to cover the Partner Center interface steps, as there are plenty of video tutorials and blogs available for that. Instead, I’ll focus on some important, often overlooked steps that many people don’t know about—or if they do, they typically don’t share them. These are the essential foundational steps you need to get started.

If you're developing business applications for Microsoft Dynamics 365 Business Central, one of the key platforms for distributing your solutions is Microsoft AppSource. This marketplace allows you to showcase your app to a global audience, but there are several steps involved in getting your app listed. In this post, we will walk through the essential steps you need to follow when publishing an app to Microsoft AppSource.

Step 1: Register Object Range with Microsoft

Before you can begin developing your app, you need to ensure that you have a unique object range from Microsoft. This is necessary for creating your app's objects like tables, pages, and other components. To request your object range:

  • Download the Object Range Request Form from the Partner Source portal.
  • Send the completed form to Microsoft APOC Team, specifying your requirements.
  • Microsoft typically assigns 1,000 object IDs per module. If you need more object IDs for future apps or additional features, you can request more. These object IDs can be used across multiple apps, but make sure they don't clash with IDs assigned to other extensions, as this can cause conflicts in customer environments.

Once you receive the object range from Microsoft, make sure to track it properly. For example, your object range might look something like:
Object Range: 71xxx575 - 71xxx574 (1000 objects for each ISV mentioned in Form).

Step 2: Register Publisher Prefix

Microsoft requires you to register a unique three-character affix that will be associated with your publisher name. For example, if you want to publish apps under your company’s name, you’ll need to request the affix specifically for that name.

  • Contact Microsoft (d365val@microsoft.com) to register your publisher name and affix.
  • If you have multiple publisher names or change your publisher name, you will need to request separate affixes for each.

The affix will be used in your object names, such as "CustomMaster_LCS", and in other components like actions and procedures. This ensures that your objects are properly identified in Microsoft’s ecosystem.

Step 3: Develop Your App

With the object range and publisher affix in hand, you can now begin developing your app according to Microsoft’s standards. Ensure that the app is built to be a "cloud-fit" solution, meaning it meets all the technical requirements and is optimized for deployment in the cloud.

At this stage, your development team should follow best practices and the latest guidelines provided by Microsoft for Business Central extensions, ensuring that your app will function smoothly in the Microsoft ecosystem.

Step 4: Testing and Documentation

Once your app is developed, the next critical step is thorough testing. Microsoft does not test apps manually, so it’s your responsibility to ensure that your app does not cause any issues for customers, especially data corruption or loss.

  • Test your app rigorously to ensure it functions as expected.
  • Create two key documents:
    • A supporting document outlining how to use the app.
    • A Key Usage and Benefits document highlighting the features and advantages of the app.

After testing, you will need to upload these documents along with your app on the Microsoft Partner Center portal. To create a new offer, log in to your Microsoft Partner Center account, and navigate to the Marketplace Offers section to create a new offer.

Step 5: Code Signing

Before uploading your app to AppSource, you must ensure it is signed with a Code Signing Certificate. Microsoft requires this certificate to verify the authenticity and integrity of your app.

  • You can purchase a Code Signing Certificate from a provider like GlobalSign.
  • Once you have the certificate, use tools like signtool to sign your .app file.

For example, you would run the following command to sign your app:

  

cd C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64

signtool sign /a /tr http://timestamp.globalsign.com/tsa/r6advanced1 /td SHA256 /fd SHA256 " path_to_your_app_file.app"


Be sure to keep your credentials and passwords secure, especially if you are using a USB token for code signing.

Step 6: Upload the App to Partner Center

Once your app is digitally signed, you can upload it to the Microsoft Partner Center. Go to the Technical Configuration tab and upload the signed app file. After filling out all the necessary information, click on the Review and Publish button.

Step 7: Automatic Validation

After submitting your app, Microsoft will perform an automatic validation process, which typically takes a few hours. You’ll receive an email notification if there are any issues or errors related to the app’s technical validation checklist.

It's important to note that Microsoft’s validation process checks for things like compatibility, performance, and security standards. If there are issues, you will need to fix them and resubmit your app.

Key Considerations When Publishing Your App on AppSource

While the process might seem straightforward, there are a few critical factors to keep in mind to avoid common pitfalls:

1. Country Availability Settings

When publishing your app, you will be asked to define its availability across different countries. Be cautious when selecting global availability, as some countries may have outdated versions of Microsoft products or specific regional dependencies that could cause errors during validation. If such errors arise, you may need to adjust your app’s source code to accommodate country-specific requirements.

2. Version Control

When updating an app on AppSource, always remember to increment the version number in your app.json file. This is crucial for ensuring that the new version is recognized properly. Additionally, make sure that no breaking changes are introduced, such as deleting tables or changing data types in a way that could impact existing installations.

3. Handling Free Trials

If you want to offer a free trial of your app, there are no built-in options in Partner Center to set an expiration date. You can either:

  • Provide a limited-feature version that doesn't impact your licensing model.
  • Implement a custom licensing system, such as using PowerApps, to generate unique license keys for each installation. This system can track when a trial should expire and allow you to deactivate the app when needed.

4. Test Drive Options

Providing a "Test Drive" option for your app is a great way to give potential users a taste of your product without them needing to install it. This is typically done via a sandbox environment with pre-configured data.

However, be careful not to test the feature using your own Microsoft account if you are part of the development organization. Doing so may convert your account to an external user, losing your admin rights in your company’s Azure Active Directory.

5. Selling Through Microsoft

If you choose to sell your app through Microsoft, you will need to configure purchase plans, including options for annual or monthly payments. Ensure that your app’s AL code supports entitlements, which manage user access to purchased products. Microsoft provides detailed documentation on how to configure these plans and entitlements.

Conclusion

Publishing an app on Microsoft AppSource is a powerful way to expand your reach and offer your solutions to a global audience. By following the steps outlined above and keeping in mind the critical technical and administrative requirements, you can ensure a smooth and successful submission process.



#MSDyn365BC #MSDyn365 #MSDyn365BusinessCentral #BusinessCentral #MicrosoftAppSource #Microsoft #AppSource #BizzApps #PublishonAppsource

Share this post:

Sign up for blog updates!

Join my email list to receive updates and information.

Recent Posts

  • Automate AL Project Builds Using PowerShell

    11 Jul 2025

  • Business Central Functional Interview Q&A – Part 2

    14 Jun 2025

  • Functional Questions & Answers for Business Central 2025 Part-1

    4 Jun 2025

  • Video

    Business Central Tips

    Subscribe to my YouTube Channel

    Demo Overview of D365 Business Central

    GitHub Copilot in AL Programming

    Copyright © 2024 Tech-Lucky - All Rights Reserved.

    Powered by

    • Blogs

    This website uses cookies.

    We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.

    Accept