# Enable Modern Authentication in DMSforLegal

# Introduction

Modern Authentication is replacing Browser based authentication. This manual describes the required APP in Azure that needs to be configured to use Modern Authentication in DMSforLegal

# Version changes

# Creating the APP

  • Login to https://portal.azure.com. (opens new window)
  • Navigate to Azure Active Directory and select App registrations.
  • Click New registration.
  • Give the app a name, like: DMSforLegal Desktop
  • Select Accounts in this organizational directory only
  • Do not fill in a Redirect URI.

  • Click Authentication, Add a platform and then Mobile and desktop applications:

  • When using Windows or Web Access Management (WAM) the APP configuration requires an extra RedirectURI to connect the domain joined computer running a user account on that machine to authenticate against the directory. Click Add URI and Add ms-appx-web://microsoft.aad.brokerplugin/{your app id} as a Redirect URI. Ensure the { } part is not entered, only the APP ID is required here.

  • Leave the redirect URI blank and click Configure

  • Click API Permissions and click Add a permission:

  • Click the Sharepoint category:

  • Click Delegated permissions:

  • Select AllSites.FullControl:

  • Click Add permissions.
  • Click the Grand admin consent button:

  • Click Overview and copy the Application (client) ID:

Remark: the DMSforLegal client cached permission tokens in %appdata%\Epona\DMSforLegal\Cache, changes in the APP permissions will require the .msalcache.bin file to be deleted and recreated.

# Configuring Modern Authentication in DMSforLegal

  • Open the DMSforLegal configuration dialog and paste the Aplication ID:

Last Updated: 2/24/2022, 10:50:47 AM