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

Create customer API for Sandbox and On premise version

(0) ShareShare
ReportReport
Posted on by 5

Hi everyone,

I have developed a new app extension and I have pushed it into the app source. we have developed with licenses in specific ranges (object ID: 1,000,000-69,999,999, 70,000,000-74,999,999).
My application is based on Rest API.

The app is working fine for our customers in sandbox.

But i have some customers who have the on-premise version. we need to install the app. and i have two issues there:

1- Installing the app: I know it is not possible to install from the app source and because of the reach it is not allowed to push/upload the app directly.

=> I read in some forums that it is possible to create a new instance with development license and push the app and remove the instance later. Is there any other suggestion for this problem?

2- In my app extension, I developed page API and was needed to define the property of the URL: APIPublish, APIGroup and APIVersion.

I have set the APIVersion to V2.0. the URL work fine in the sandbox and I don't have any problem there.

But when I try my app in the on-premise version, it was not the case, I have an error message:

{
"Error: {
"code": "Unknown",
"message": "Sequence contains more than one matching item"
}
}

the only URL that works fine in the on-premises version when I removed the APIVersion and in the URL, I used "beta".
Is there any idea about this issue I need to set the same API for both versions sandbox or on-premise?
I have tested in BC 20 on-premise and in BC 21.5 sandbox.

 
I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    Microsoft Employee on at

    Hello  Rayene- We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

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 575 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 430 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 334 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans