Skip to main content
Documentation & User Guides | FotoWare

Setting up SSO with Azure AD

Before you begin

Connecting clients to Azure AD requires a secure connection, so FotoWare needs to be configured with TLS (https) and a trusted certificate. For more information, see Configuring FotoWare for secure connections.

Configuring SSO with Azure AD

Add the FotoWare application to the Azure management console

Log in to the Azure portal and add a new application to the Azure Active Directory.

Name the application and choose Web application as its type. At this point, also set the Redirect URI that your application uses. For single sign-on to a FotoWare site, the URL is typically in this format:


1. Azure AD - Register the app.png


After creating the application registration, go to App Registrations > Application > Overview to retrieve the Application ID (screenshot below).
This ID needs to be entered into the FotoWare Azure AD configuration in the site configuration later.

2. Azure AD - Retrieve app id and other info - blurred.png

Enable Implicit grant for ID tokens

In Application > Authentication, locate the Implicit grant section and enable implicit grant for ID tokens, as shown below.

4. Azure AD - Implicit Grant - ID Tokens.png

Assign permissions to the application

Next, assign the necessary settings to the application: Go to Application > API Permissions and select Add a permission.

Use the Microsoft Graph API to add two Delegated permissions, namely

  • Access the directory as the signed-in user (Directory.AccessAsUser.All)
  • Sign in and read user profile (User.Read)

Make sure to hit Save to update the permissions.

Finally, click on Grant admin consent for <directory> below to assign the permissions to all users in the directory.

Create application secret

Next, generate an application secret under Application > Certificates and secrets > Client secrets:

Click on the New client secret button and enter a key description (simply a label) and set a duration/validity period. For security reasons, a key can be valid for a maximum of two years.
The key will be created and can be obtained after you save the changes. It can then be copied to the clipboard and pasted into the Application key field in the Azure AD settings in the Operations Center.


Because the validity of the application key is maximum two years, it's practical to make a reminder in your maintenance calendar to replace the key before it expires. If the key does expire, users will temporarily lose access to the system.

Adding Azure AD information to the FotoWare Site Configuration

Having completed the above steps, make sure you have gathered the necessary information from the Azure console before proceeding:

Application Id

Found in the Azure console in the application overview:

2. Azure AD - Retrieve app id and other info - blurred.png

Application Key

The secret generated in the Azure console with a validity of maximum two years.

Tenant / Domain Name

The domain name listed in the Azure portal. If you're uncertain about the value, open the Azure console and click on the Azure Active Directory node. The Name field there lists the correct domain name.

Directory ID

This can be found on the Overview blade, next to the Application ID - see the screenshot above.

Adding the information to the FotoWare tenant in the Operations Center

On the FotoWare site, log in with the site owner account or a user with the Manage settings group permission.

Open the Tools menu and choose Site Configuration, and then navigate to the Security node and choose Single Sign-on.

Enter the Application Id, Application Key (called Client Secret in the Azure portal), Tenant/Domain name and Directory Id values and save the changes.

Azure AD setup in Operations Center.PNG

Importing groups and assigning access

Next, you need to import groups from the Azure AD to give them access to FotoWare. You can then proceed to assign access to FotoWare archives and actions using the imported groups.

  • Was this article helpful?