S4D connects to Dynamics 365 via the OData REST API, using an Application User.
Sign in to the your Azure portal, and select Azure Active Directory.
...
Select Properties and locate the Tenant ID, and copy it to the tenantid value in the S4D connection string. This is required for the OAuth2 authentication endpoint.
...
Select App registrations, then New registration. The name you assign here will be the name of the user shown in Dynamics 365. Generally, the account type will remain as Single tenant.
...