Required Link
https://businesscentral.dynamics.com
User ID: bizsupport@logosministriesltd.onmicrosoft.com
...
- For e-commerce integration, Web => Redirect UIL = https://businesscentral.dynamics.com
- For e-commerce integration, Web => Redirect UIL = https://businesscentral.dynamics.com
- go to API Permissions
Add a permission
Adding both permissions
- BC => Delegated permission (select all)
- BC => Application permission (select all)
- Grant admin consent
...
The link structure
https://login.microsoftonline.com/<AAD TENANT ID>/wsfed?wa=wsignin1.0%26wtrealm=<APP ID URI>%26wreply=<APP REPLY URL>
Azure AD
https://learn.microsoft.com/en-us/microsoft-365/admin/misc/azure-ad-setup-guides?view=o365-worldwide
Postman Settings
Obtain the token setup
...
- Grant Type = Authorization Code
Callback URL = https://businesscentral.dynamics.com/ with uncheck "Authorize using browser"
Prerequisite
In Azure > App registrations > Your application
Remember to setup Redirect URLs for obtain the token from https://businesscentral.dynamics.com/- Auth URL = https://login.windows.net/$BC_TENANT_ID/oauth2/authorize?resource=https://api.businesscentral.dynamics.com *** Replace $BC_TENANT_ID with actual one
- Access Token URl = https://login.windows.net/$BC_TENANT_ID/oauth2/token?resource=https://api.businesscentral.dynamics.com
- Client ID = $your_applicaiton_(client)_ID (Obtain from overview)
- Client Secret = $value (You are advised to copy the secret value once created new client secret.)
- Scope & State keep them blank
- Client Authentication = send client credentials in body
- Then click "Get New Access Token", then login to BC and proceed.
- Send the GET request, you can retrieve the relevant records from the web service URL => Success
...