Compartilhar via


How to: Configure the Microsoft Dynamics NAV Web Client for ACS

You configure the Microsoft Dynamics NAV Web client for Access Control Service (ACS) by editing the web.config file. The web.config file is an .xml file that you can edit with a text editor, such as Notepad. By default, the web.config file is located in the C:\Program Files\Microsoft Dynamics NAV\90\Web Client\ folder.

Before you begin this procedure, you must perform the steps to configure your deployment for ACS. For more information, see Authenticating Users with Microsoft Azure Access Control Service.

To configure the Microsoft Dynamics NAV Web client for ACS

  1. Edit the web server configuration file (web.config) for each instance of the Microsoft Dynamics NAV Web Server components that will be supporting users for ACS authentication.

    A separate instance of the web.config file is maintained for each server instance. The default location for this file is C:\Program Files\Microsoft Dynamics NAV\90\WebClient\.

    Warning

    To ensure that your edits to web.config are saved, first open Notepad as an Administrator and then, in Notepad, open the settings file. To open Notepad as an Administrator, from the Start menu, right-click Notepad, and then choose Run as Administrator.

  2. In the web.config file, modify the following settings.

    Setting Value

    ClientServicesCredentialType

    "AccessControlService"

    ACSUri

    Use the URI for your relying party application from the Application Integration section of the Access Control configuration. For more information, see How to: Configure a Deployment for ACS.

  3. After updating the values, save ClientUserSettings.config.

See Also

Concepts

Configure Microsoft Dynamics NAV Components for ACS