# Azure Active Directory
Administrator logins can be tied to Azure Active Directory. This allows customers to use the Azure Portal as source of single sign on logins. When a user logs in through Azure Active Directory, a administrator account is automatically created if one did not exist.
Note
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:
https://<VIRTUAL_MACHINE_PUBLIC_IP>/#/
.
For example https://52.14.23.18/#/
or https://ftp.mycompany.com/#/
Click Register.
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.
Click Save.
# 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.
Click Users.
Select a user and click Select.
Click Assign.
Click Properties in the sidebar under Manage.
Change User assignment required? to Yes.
Click Save.
# 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>