Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

  • Cloud: Basic Auth. will be Removed with Business Central 2022 release wave 1 You should use AAD instead
  • On-Prem: Basic Auth will remain an option for the time being

Description

Let's set up Basic Authentication

Step 1 - Generate Web Service Access Key

The key will be the users "password"

  • Log into Business Central
  • Go to Users, Select a user
  • Select the Web Service Access Key field[...]
  • Input a date or select "Key Never Expires" and generate the key
  • Copy the generated key
    • Tip: Make sure the value ends with "=". If not, you have not copied the full key 



Now that we have the username and password, we can connect and authenticate.
Use the username in combination with the Web Service Access Key to log in on the mobile device.

Step 2 - Generate barcode (recommended)

The key is not easy to type.

You can create a handy barcode containing both username and the key.

This way, the user will only have to scan the barcode in order to log in.

See I want to login with barcode

Step 3 - Repeat

Repeat step 1 and 2 for all users

Step 4 - Update the START.CFG file

This is normally done during the Device configuration part of the Implementation, handled by Tasklet Factory Support

<endpoints>    
  <endpoint id="01" displayName="D365BC" protocol="classic" type="NAV"  address="https://api.businesscentral.dynamics.com/v2.0/TenantId/WS/Company/Codeunit/MobileDocumentService"/>
</endpoints>



Overview

De geselecteerde startpagina kon niet worden gevonden.

  • No labels