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

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
    159 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
    159 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
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    You can see how the url is buily here:

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

  • Suggested answer
    JAngle Profile Picture
    159 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
    102,389 Super User 2026 Season 1 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

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 June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 653 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 414 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 394 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans