---
title: "Access and Configure Service-to-Service Authentication in Shop Floor Insight"
app: "Shop Floor Insight"
section: "Set up"
last_updated: "2026-01-23"
url: "https://insight-works.com/kb/shop-floor-insight/access-and-configure-service-to-service-authentication/"
---

# Access and Configure Service-to-Service Authentication in Shop Floor Insight

Ensure you have the following service-to-service authentication prerequisites:

- Be using Business Central SaaS, minimum of 19.5
- Be using Azure Active Directory for authentication
- Have a minimum Shop Floor Insight 7.9 for the app file.
- Be using a minimum of the March-21-2022 update for 7.9 for the html/js service tier.
- Part of these steps must be done with a customer account that has sufficient permission to grant applications access to their BC SaaS instance (usually not your remote access account).
- As a security best practice you should create your own Azure/Entra app registration.  Steps are documented here: [https://kb.dmsiworks.com/knowledge-base/configure-multiple-oauth-service-to-service-connections-in-shop-floor-insight/](/kb/shop-floor-insight/configure-multiple-oauth-service-to-service-connections-in-shop-floor-insight/)

Note: If your version of Shop Floor Insight 7.9 is older than March 21st of 2022, contact Support to apply the necessary patch.

### Grant access

1. Navigate to _Azure Active Directory Applications_ in Business Central (part of standard Business Central).

Note: You may or may not have a row already for the 66d9a62b-ddb9-4855-9ed3-361a0515ed2e azure Client ID.

This entry is a default entry, however as a security best practice you should create your own app registration where the steps are documented here: [https://kb.dmsiworks.com/knowledge-base/configure-multiple-oauth-service-to-service-connections-in-shop-floor-insight/](/kb/shop-floor-insight/configure-multiple-oauth-service-to-service-connections-in-shop-floor-insight/)

1. Complete one of the following:

   1. Entry exists: Select **Edit**.
   2. Entry does not exist: Select **New** and create an entry.
2. Input or modify the following for the new entry:

   1. Client ID: 66d9a62b-ddb9-4855-9ed3-361a0515ed2e (default, as a best practice for security please use your own with steps documented here: [https://kb.dmsiworks.com/knowledge-base/configure-multiple-oauth-service-to-service-connections-in-shop-floor-insight/](/kb/shop-floor-insight/configure-multiple-oauth-service-to-service-connections-in-shop-floor-insight/) )
   2. Description: Shop Floor Insight
   3. State: Enabled
   4. User Permission Sets: Ensure SFI-SERVICE, IWORKS COMMON,  IWX REG REGISTRATION, IWXQIGENERAL, LOCAL, and LOGIN are used and sufficient permissions (defined in the Kickoff guide Excel sheet) are set to perform the required Shop Floor Insight tasks. (e.g., for using jobs, give permissions for jobs; for fixed assets, give permissions for fixed assets; for production orders, give permissions for what they plan on using with production orders).

 Note: Permission set Super cannot be used; D365 BUS PREMIUM is a good function permission set start for most installs that use production orders.

1. Select **Grant Consent**.

 Note: Ensure popups are enabled, and ensure you are granting permissions from an account with permission to do so (not the reseller remote access account or configuration account).

1. Select **Accept** on the pop up to give Shop Floor Insight access to the following resources:

   - Access as the signed-in user
   - Access Dynamics 365 Business Central as the signed-in user
   - Full access to web services API
   - Access according to the application’s permissions in Dynamics 365 Business Central
   - Sign in and read user profile
2. Select **OK**.

If you see a permission error, the account you are using does not have permission to grant consent. Repeat the _Grant Access_ steps again with an account that has permission to grant consent.

![](/wp-content/uploads/kb-legacy/Access-and-Configure-Service-to-Service-Authentication-1-600x151.png)

![](/wp-content/uploads/kb-legacy/Configure-OAuth-for-Shop-Floor-Insight-7.8-2-1.png)

### Configure the service

The installer is the one configurating the service. _Configure the service_ must be done after access is granted; see the _Grant Access_ steps.

Complete the following for each service instance you need to configure:

1. Locate and edit your IW.TimeCollectionModule.Service.exe.config file.
2. Set _clientCredentialType_ to **None** under transport.
3. Locate and set _DynamicsNavWebServiceAuthenticationMode_ to **OAuthS2SClientCredentials**.
4. Locate and set _OAuthTenant_ setting to the OAuthTenant GUID.

 Note: If you do not have the _OAuthTenant_ setting, add it.

Note: Unlike other authentication modes, there are no stored credentials. The _AuthenticationModeGenericCredentialVaultTarget_ setting can be left un-set for this specific mode.

1. Complete the installation once you have finished _Grant access_ and _Configure the service_.

Note: If your installation has multiple locations for the same Business Central company, you may need to configure additional entries in the _Microsoft Entra Applications_ page in Business Central. (There are also other situations where this is required.)

For more information, see the _[Configure Multiple OAuth Service-to-Service Connections in Shop Floor Insight](/kb/shop-floor-insight/configure-multiple-oauth-service-to-service-connections-in-shop-floor-insight/)_ page.
