Set up Basic Authentication
- Johannes Sebastian Nielsen
- Maria Jose Avila
- Morten Bjørn Larsen
Owned by Johannes Sebastian Nielsen
- 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
Prerequisites
Your service tier can be configured for NavUserPassword or AccessControlService 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
Next
Overview