# Azure AD via SAML

## Prerequisites

1. You must have an Aerofiler subscription that supports ADFS via SAML integration
2. Aerofiler Support must have enabled the integration for your Account.

## Details

1. Go to “Azure Active Directory”
2. Go to "Enterprise Applications"
3. Click "New Application" (top left)
4. Client "Create you own application" (top left)
5. Name the application, eg "Aerofiler SAML"
6. Click "Integrate any other application you don't find in the gallery (Non-gallery)"
7. Once the application has been created, assign users and/or groups using "1. Assign users and groups".
8. Once you have finished assigning your users and/or groups, click "Single sign-on"

   <figure><img src="https://990055713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpzhcJuh5qEG7uLa8k3LR%2Fuploads%2FdOGUYbbkYoVZQnDj7UNk%2Fimage.png?alt=media&#x26;token=f55253e6-2853-4f52-bda6-c0534469b590" alt=""><figcaption></figcaption></figure>
9. Click "SAML"
10. Copy the following 4 values as indicated and send to Aerofiler:

    1. "App Federation Metadata Url" from section 3 "SAML Certificates"
    2. "Login URL" from section 4 "Set up Aerofiler SAML"
    3. "Azure AD Identifier" from section 4 "Set up Aerofiler SAML"
    4. "Logout URL" from section 4 "Set up Aerofiler SAML"

    <figure><img src="https://990055713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpzhcJuh5qEG7uLa8k3LR%2Fuploads%2F6QizfWkCb2CqvIktTf0C%2Fimage.png?alt=media&#x26;token=f53f37be-677e-4305-afa2-8fc15336940e" alt=""><figcaption></figcaption></figure>
11. Aerofiler will generate an XML metadata file to send back to you
12. Upload the received file by selecting “Upload metadata file”:

<figure><img src="https://990055713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpzhcJuh5qEG7uLa8k3LR%2Fuploads%2FZwfR2M87TQewEjkfk4yV%2Fimage.png?alt=media&#x26;token=3f159884-4d5e-46b4-92fe-75de1d1ef90c" alt=""><figcaption></figcaption></figure>

13. Click "Save" (top left) and then "X" (top right) to close "Basic SAML Configuration"&#x20;
14. Notify Aerofiler that the setup within your Azure AD environment is complete.
