# Azure Active Directory
Administrator login can be tied to Azure Active Directory. This allows customers to use the Azure Portal as source of Single Sign On logins. When this feature is enabled, logins can be redirected to the Microsoft authentication service. When a user logs in through Azure Active Directory, a administrator account is automatically created if one did not exist.
This feature is only available for web portal administrator logins.
# Create App Registration
In the Azure portal, click All services. In the list of resources, select App registrations.
Click New Registration
Enter a Name for your App registration.
Under Redirect URI, enter a URL in the following format:
On the Overview page, note the Application (client) ID and the Directory (tenant) ID.
Click Authentication in the sidebar under Manage.
In the Web panel, under Implicit grant, check the box for ID tokens.
# Grant Users Access in Active Directory
In the Azure portal, click All services. In the list of resources, select Azure Active Directory.
Click Enterprise applications in the sidebar under Manage.
Click on the application you registered in the previous section.
Click User and groups in the sidebar under Manage.
Click Add user.
Select a user and click Select.
# Configure FileMage Gateway
- Add the following settings from the App Registration section to the application configuration file :
azure_active_directory: client_id: <APPLICATION_CLIENT_ID> tenant_id: <APPLICATION_TENANT_ID>