Connect Foray ADAMS to Entra ID
Entra ID was formerly Azure AD
This article covers connecting the Foray ADAMS solution to an Entra ID Tenant. This connection allows users to login to the Foray ADAMS solution and also allows Foray ADAMS to perform queries necessary to enforce privileges for both data and features.
If Entra ID has not already been connected to your on-premises Active Directory then seeĀ Entra ID Integration with On-Premises Active Directory
App Registration
The first step is to register the Foray ADAMS applications with the Entra ID tenant. App registration does the following:
Set the URLs - the URLs users will be taken to for the application
Enable Authentication - allow the Foray ADAMS applications to authenticate users
Grant query access - allow the Foray ADAMS applications to query the target Entra ID tenant for user information and group membership.
Enable Adams Bridge - Adams Bridge is a Click Once application, installed by Adams Web, that enables interaction with the user's desktop for exports and processing.
To complete these steps you will need the following information from Foray:
Adams Admin - Redirect URI
Adams Admin - Front-channel Logout URL
Adams Web - Web Redirect URI
Adams Web - Single-page application Redirect URI
Adams Web - Front-channel Logout URL
The provided URLs may not be accessible when this configuration is performed. The configuration can still be completed.
Most of the following sections will be performed for each application. Sections only applicable to certain applications are noted. The applications are: Foray Adams Admin, Foray Adams Web, and Foray Adams Clients. Register the apps in this order all the way through. Some steps require earlier registrations to be completed.
Be sure to perform all of the registration steps for each app before moving to the next app. The steps start with Register new application and go through Grant API permissions.
Register new application
Open the Azure Portal
Navigate to Entra ID (formerly Azure Active Directory)
App registrations
New registration
Name - Foray Adams Admin, Foray Adams Web, or Foray Adams Clients
This name is visible to end users. You may use a different name if you chose. If so you will need to identify that name later in these steps. YouĀ can change this name later.Supported account types:Ā Accounts in this organizational directory only
Redirect URI
Adams Admin
Web
This URL will be provided by Foray. It will be similar to:
Examplehttps://web01.myagency.foray.com/AdamsAdmin/Account/Login
Adams Web
Web
This URL will be provided by Foray. It will be similar to:
Examplehttps://web01.myagency.foray.com/AdamsWeb/Login.aspx
Adams Clients
Select "Public client/native (mobile & desktop)" from the dropdown
Enter the value:Ā
https://login.microsoftonline.com/common/oauth2/nativeclient
Click Register
Configure Authentication
Perform these steps for each of the applications registered.
Select the application to be configured
Authentication
For Adams Admin
Front-channel Logout URL
This URL is provided by Foray for logout. It will be similar to:
Example
Implicit grant and hybrid flows - check ID Tokens
For Adams Web
Click Add a platform
Select Single-page application
Enter the Redirect URI provided by Foray. It will be similar to:
ExampleConfigure
Front-channel Logout URL
This URL is provided by Foray for logout. It will be similar to:
Example
Implicit grant and hybrid flows
Check Access tokens
Check ID tokens
Supported account types:Ā Accounts in this organizational directory only
Allow public client flows - Enable the following mobile and desktop flow
Adams Admin and Adams Web: NO
Adams Clients - YES
Click Save
Configure Certificates & Secrets - Adams Admin and Adams Web Only
Select the application to be configured
Certificates & secrets
Click New client secret
Description: For MS Graph access
Expires: Choose a time frame and set yourself a reminder to renew. Foray will need a new secret before this secret expires.
Click Add
Copy the secret value
This value must be provided to Foray
Configure API Permissions
Perform these steps for each of the applications registered.
Select the application to be configured
API permissions
Click Add a permission
Click Microsoft Graph
Select Delegated permissions
Under Permission check
openid
- Required for authenticationUnder Permission check
profile
- Enables access to a user's name, userid, and other basic info.User.Read
will already be checked, leave it checked -Ā Required for authenticationAdams Admin and Adams Web only
Select Application permissions
Navigate to and check
Directory.Read.All
- This provides access to groups so that privileges can be applied per group.Navigate to and check
User.Read.All
- This provides access to user info such as name and email.
Adams Web only (added in 6.2)
Select Application permissions
Navigate to and checkĀ
GroupMember.ReadWrite.All
- This allows adding of external users to the external users group.Navigate to and checkĀ
User.Invite.All
- This allows external user account to be created.
Foray Adams Clients only
Select Delegated permissions
Navigate to and check
Directory.Read.All
- This provides access to list users in groups
Click Add permissions
Add API for Foray Adams Clients only - This can not be done until the Adams Web application registration is complete (all the way to the bottom of this KB)
Click Add a permission
Click APIs my organization uses (above Microsoft Graph)
Select Foray Adams Web (the name used may be different)
Check BridgeWebApi
Check BridgeSignalR
Click Add permissions
Click Grant admin consent
Select Yes
Configure Manifest
Perform these steps for each of the applications registered.
Select the application to be configured
Manifest
Find and edit
"groupMembershipClaims"
. Changenull
to"SecurityGroup"
(including the quotes)Adams Admin and Adams Web Only
Find and edit
"homePageUrl"
(near bottom, note this used to besignInUrl
). Changenull
to the URL provided by Foray for the application. The quotes around the URL are necessary.
Example Sign In URLs
Click Save
Expose API - Adams WebĀ Only
Select the Foray Adams Web app registration (the registered name may be different)
Expose an API
Add Bridge Web API Scope - For the export and processing of assets
Click Add a scope
Accept the auto generated URI and click Save and Continue
Scope name: BridgeWebApi
Who can consent? Admins only
Admin consent display name: Bridge Web API
Admin consent description: Used to export and process assets
State: Enabled
Click Add scope
Add Bridge SignalR API Scope - For communicating with Adams Web
Click Add a scope
Scope name: BridgeSignalR
Who can consent? Admins only
Admin consent display name: Bridge SignalR API
Admin consent description: Used to communicate with Adams Web
State: Enabled
Click Add scope
Add Adams Web APIs Scope - For communication with the server
Click Add a scope
Scope name: AdamsWebApis
Who can consent? Admins only
Admin consent display name: Adams Web APIs
Admin consent description: Allow access to Adams Web APIs
State: Enabled
Click Add scope
Grant API Permissions - Adams Clients Only
Select the Foray Adams Clients application (the registered name may be different)
Select Overview
Point at the the Application (client) ID, an icon will appear to the left of the value, click the icon to copy.
Navigate back to Entra ID
Select App registrations
Select the Foray Adams Web app registration (the registered name may be different)
Select Expose an API
Select Add a client application
In the Client ID box, paste the Foray Adams Clients' Application (client) ID copied earlier
Check the BirdgeSignalR and BridgeWebApi scope boxes (these were created in the Expose API for Adams Bridge step)
Add application
If you have not yet registered Adams Web, Adams Admin, and Adams Clients then go back up to Register New Application.
Enterprise Applications
Now that the applications are registered the next step is to add them as Enterprise Applications. This does the following:
Makes the application visible in the portal for users that have access.
The following steps must be completed for Foray Adams Admin, Foray Adams Web, and Foray Adams Clients.Ā
Add Enterprise Application
Navigate to Entra ID
Select Enterprise applications
Select the application
Properties
Enabled for users to sign-in? Yes
Ā
If the system is not yet available this can be set to No. If so users added will not have access until this is changed to Yes.
Logo - Use the following logos.
Adams AdminĀ
Adams WebĀ
Adams Clients (no logo necessary)
For a background (corners) color other than white please contact Foray Support.
User assignment required? No
Visible to users?
Adams Admin and Adams Web: Yes
Yes means this application will show in the user's Access Panel for users that have access. No means it will not show in the user's Access Panel even for users that have access.
Adams Clients: No - Client applications should not be visible in their Access Panel as there is no direct access to them.
Click Save.
Next Steps
The Foray ADAMS applications are now configured. The next step is to send the Entra ID Integration Client Data to Foray.
Ā© 2023 Foray, LLC - All Rights Reserved