How to build a B2B ordering portal on Dynamics 365 Finance & Operations
Connect Dynamics 365 F&O to Portal so buyers see your catalog with F&O released product prices and sales trade agreements, with price groups and customer-specific lines and on-hand and available quantities by F&O warehouse. They order by browsing, SKU, file or reorder, and each order is checked and written as an F&O sales order in your legal entity.
About Dynamics 365 Finance & Operations.
Microsoft Dynamics 365 Finance and Dynamics 365 Supply Chain Management, together called the finance and operations apps or F&O, are Microsoft's ERP for medium-sized organizations and enterprises. Finance runs global financial operations; Supply Chain Management covers order fulfillment, planning, procurement, production, inventory, warehousing and transportation for manufacturers, distributors and retailers. They are the successor to Dynamics AX, and Dynamics 365 Commerce runs on the same platform.
Each app is licensed per user, in a standard and a Premium edition, and the security roles a user holds decide which license that user needs. Most companies run F&O in Microsoft's cloud, where Microsoft applies One Version service updates; Microsoft's dual use rights also allow on-premises deployment.
F&O is not a bigger Business Central. Where Business Central serves smaller companies through one fixed standard API, F&O exposes its data as data entities over OData, such as CustomersV3 or SalesOrderHeadersV2, and keeps transactions per legal entity, so an integration has to be built around entities and companies from the start.
Portal by Webisoft is a B2B portal for Dynamics 365 Finance & Operations: customer self-service and team apps on live Dynamics 365 F&O data.
Why connecting to Dynamics 365 F&O is hard.
F&O sales prices and trade agreements, with price groups and customer-specific lines, are what a B2B buyer expects to see when ordering online, per legal entity.
Every request belongs to a legal entity
F&O keeps data per company: each legal entity has a company ID, the dataAreaId, which is the security boundary for most functional areas. OData returns only the user's default company unless the request adds cross-company=true and filters on dataAreaId, so an integration that skips this reads or writes the wrong company without any error.
Throttling follows server load
Microsoft stopped implementing the per-user service protection limits in March 2023 and removed the option in version 10.0.36. What remains is resource-based throttling: when web server use crosses Microsoft's thresholds, OData calls get 429 Too Many Requests. Administrators rank each integration Low, Medium or High on the Throttling priority mapping page, so a portal competes with every other integration on the environment.
OData is for real-time traffic, not bulk
Microsoft classes OData as a synchronous pattern and recommends the batch data API once volumes pass a few hundred thousand records. Server-driven paging stops at 10,000 records a page, OData actions added through extensions are not supported, and on-premises deployments support only the Data management package REST API, not OData.
Licensing reaches past the API
Microsoft's licensing guide says multiplexing does not reduce the licenses required: internal users who view or enter Dynamics 365 data through a website or an API still need a license, and roles decide which one. External users such as your customers do not need user licenses, and the tenant-wide Operations Order Lines license covers indirect updates to qualifying lines such as sales order lines, with an allowance of 100K transactions a month.
Microsoft sets the update calendar
Cloud environments receive One Version service updates, applied first to the user acceptance testing environment and then to production. You choose the maintenance window and can pause at most one consecutive update, so every integration has to keep working release after release.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Dynamics 365 F&O add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the Dynamics 365 F&O write rules yourself. |
| Custom code | The need is unique and you have developers who know Dynamics 365 F&O. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Dynamics 365 F&O data. | It works on top of Dynamics 365 F&O; it does not replace it. |
How Portal reaches Dynamics 365 F&O.
Portal reads and writes F&O through the environment's OData endpoint and its public data entities, among them CustomersV3, ReleasedProductsV2, SalesPriceAgreements, WarehousesOnHandV2, SalesQuotationHeadersV2, SalesOrderHeadersV2 and SalesInvoiceHeadersV2. It signs in with Microsoft Entra client credentials: your administrator clicks Connect with Microsoft to approve Webisoft Portal for the tenant, then adds its client ID under System administration, Setup, Microsoft Entra applications and maps it to an integration user with the security roles it needs. Companies that prefer their own app registration can enter its client ID and secret.
One connection is one legal entity. Every read passes cross-company=true with a filter on that dataAreaId and every write carries it, so the integration user's default company never leaks in. Orders and quotations are a header plus one request per line, marked with a portal reference in the customer reference field that Portal searches before each create; a retry posts only the missing lines, and a line F&O refuses removes the whole document instead of leaving half of it. Because OData cannot confirm a quotation, accepting a quote creates a sales order from its lines at the quoted prices, linked to the quotation.
OData offers no posting action, so packing slips and invoices stay with F&O's own forms and batch jobs, and the payment journals, credit notes and other journals Portal writes are saved unposted with a reminder to post them. The standard entities have no change stamp, so each sync reads them in full, or reads headers incrementally once an extension adds a UTC modified date-time field that you name in the connection.
What you need.
- A Microsoft Entra administrator to approve Webisoft Portal, or your own app registration with a client ID and secret
- An F&O system administrator to register the app under Microsoft Entra applications and map it to an integration user
- Your shipping options and tax approach decided
Step by step.
Your Portal team sets up the Dynamics 365 F&O connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Approve Portal in Entra and add it to F&O
Under Setup, ERP, ERP system, choose Dynamics 365 Finance & Operations and enter the environment URL, such as https://yourcompany.operations.dynamics.com, and the legal entity ID (the dataAreaId, for example usmf). Click Connect with Microsoft so a Microsoft Entra administrator approves Webisoft Portal for your tenant. Then in F&O open System administration, Setup, Microsoft Entra applications, add Portal's client ID and map it to an integration user with the security roles it needs. Test connection checks that the legal entity exists.
Shape the catalog
Products, prices and stock sync from Dynamics 365 F&O. In Customer, add categories, filters and Customer catalogs to choose which products each customer sees.
Set shipping and tax
In Customer, Shipping, set the ship-from address and buyer options such as freight to be quoted or customer pickup, and connect carriers. In Customer, Tax, choose how tax is shown.
Orders go into the ERP
At checkout Portal reprices on the server and checks credit hold from the F&O customer in CustomersV3, where Blocked set to Invoice means credit hold and All means inactive, prices and ship-to, then writes an F&O sales order in your legal entity, kept from duplicating by a portal reference in the customer reference field, searched before every create, with only missing lines added on a retry.
What syncs with Dynamics 365 F&O.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers | Yes | Yes | CustomersV3; Blocked set to Invoice is credit hold, All is inactive |
| Contacts and postal addresses | Yes | No | Invoice and delivery roles become bill-to and ship-to |
| Released products | Yes | Yes | Names from the shared product; variants are not split |
| Sales prices and trade agreements | Yes | No | Price groups, customer prices and all-customer quantity breaks |
| On-hand stock by warehouse | Yes | No | |
| Sales quotations | Yes | Yes | Accepting creates a linked sales order; close the quotation in F&O |
| Sales orders | Yes | Yes | Credit hold checked first; open orders can be changed or cancelled |
| Posted sales invoices | Yes | No | Balance estimated from payment lines marked against the invoice |
| Customer payment journals | Yes | Yes | One line per paid invoice, saved unposted for your team to post |
| Packing slips | Yes | No | Only when an extension exposes packing slip header entities |
| Return orders | No | Yes | Created from the portal, not synced back |
| Purchase orders | Yes | Yes | New orders, plus confirmed delivery dates and quantities |
Limits today: Today the connection works with Finance and Operations cloud environments. Packing slips need an extension, and payments are saved unposted for your team to post.
What you can do next.
- A buyer uploads a CSV of SKUs and quantities to Quick order; the cart prices each line from F&O released product prices and sales trade agreements, with price groups and customer-specific lines.
- A repeat customer chooses Order again on a past Dynamics 365 F&O order and changes two quantities before placing it.
Dynamics 365 F&O questions, answered.
Are prices the same as in Dynamics 365 F&O?
Yes. Prices come from F&O released product prices and sales trade agreements, with price groups and customer-specific lines, applied per customer.
Can buyers see stock?
Yes, if you turn on Buyers see stock. Stock comes from on-hand and available quantities by F&O warehouse.
What does an order become in Dynamics 365 F&O?
It is written as an F&O sales order in your legal entity.
Keep going.
- Build a B2B ordering portal: overview
- B2B portal for Dynamics 365 Finance & Operations
- Connect an AI agent to your ERP, Dynamics 365 Finance & Operations
- Automate order entry from email, Dynamics 365 Finance & Operations
- Give customers order status, Dynamics 365 Finance & Operations
- Quotes customers accept online, Dynamics 365 Finance & Operations
- Triage a shared inbox, Dynamics 365 Finance & Operations
- Add approval workflows, Dynamics 365 Finance & Operations
- One REST API for your ERP, Dynamics 365 Finance & Operations
- Build a B2B ordering portal, Dynamics 365 Business Central
- Build a B2B ordering portal, Microsoft Dynamics GP
Sources
- Microsoft Learn: OData cross-company behavior
- Microsoft Learn: legal entities and DataAreaId
- Microsoft Learn: service protection API limits
- Microsoft Learn: throttling prioritization
- Microsoft Learn: integration patterns for finance and operations
- Microsoft Learn: OData paging and extension actions
- Microsoft Learn: data entities and OData
- Microsoft Dynamics 365 Licensing Guide (June 2025): multiplexing, external users, Operations Order Lines
- Microsoft Learn: license requirements follow security roles
- Microsoft Learn: One Version service updates