Skip to content

Business Central


Web Portal

Business Central content may be viewed by signing in to the BC web portal. Ask a team member for account credentials.

Postman

The web portal user account credentials can be used in Postman. To do this, you will need to obtain an access token. This can be done with a few steps.

  1. Install the PowerShell BC Container Helper module. This can be done by running the below command in a PowerShell window with administrative permissions. It may ask if you trust PowerShell Gallery before installing.
    Install-Module BCContainerHelper
    
  2. Obtain a BC authorization context for the tenant ID. Note that the guid used for the tenant ID here is JDM's specific tenant ID.
    $bcAuthContext = New-BcAuthContext -includeDeviceLogin -tenantID "c8215d12-05b5-4775-840c-c808bb807545"
    
  3. Follow the instructions in the prompt. It will ask you to sign in to https://microsoft.com/devicelogin. Use the same account credentials that are used for logging into the BC web portal.
  4. Grab the access token from the new BC authorization context. You will likely want to copy it to your clipboard.
    $bcAuthContext.AccessToken | Set-Clipboard
    
  5. In Postman, ensure that the authorization type for your request is set to "bearer token" and then paste the access token from the BC authorization context in as your token value. With this, your Postman requests will be impersonating the BC web portal user.