web
You’re offline. This is a read only version of the page.
close
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...
Suggested Answer

Custom API Connector

(0) ShareShare
ReportReport
Posted on by

Hello,

I created an api and all the links only show you how to connect it to sandbox, but I need to connect mine to the production environment. Does anyone know how to change it to production so it will take actual data and not just the sandbox environment?

Thank you

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    Change the sandbox reference to the name of your production database. Use the correct company ID

  • Community Member Profile Picture
    on at

    the sandbox reference in my endpoint or somewhere in VSC?

  • Suggested answer
    JAngle Profile Picture
    133 on at

    In the endpoint

  • Community Member Profile Picture
    on at

    That did not work. I think the problem is that I am working with the Microsoft cloud sandbox server and do not know how to get out of it.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    You can see how the url is buily here:

    docs.microsoft.com/.../devenv-develop-custom-api

  • Suggested answer
    JAngle Profile Picture
    133 on at

    Have you published the extension with the custom api to production? This is done via the UI.

  • Suggested answer
    YUN ZHU Profile Picture
    95,379 Super User 2025 Season 2 on at

    Hi, This question is weird. By Custom API, do you mean the new Api page or Web Service?

    When you access the API, you must specify the name of the environment in the endpoint url.

    pastedimage1654824179580v1.png

    And in other software, such as Power BI and Power Automate, the environment is generally selected first and then the API is selected.

    pastedimage1654824329511v2.png

    So first make sure that the extension in your production environment is the same as the Sandbox environment.

    Hope this helps as well.

    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

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,990

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,576 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,028 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans