Note: This will require administrative access to your Azure Active Directory(AAD).
- Sign into the Microsoft Azure classic portal at https://manage.windowsazure.com
- Scroll to the bottom of the selection pane on the left hand side, and choose 'Active Directory'
- Choose your active directory from the list displayed.
![FlexDeploy 4.6 > Adding FlexDeploy to your Azure Active Directory > worddav9fc72d90d9f88a29cbe6a920911235df.png](https://flexagon.atlassian.net/wiki/download/thumbnails/345605332/worddav9fc72d90d9f88a29cbe6a920911235df.png?version=1&modificationDate=1472964314117&cacheVersion=1&api=v2&width=583)
- Once inside the selected directory, choose applications, then choose "Add an application" Note: If there are already applications in the directory, you can also use the "Add" button at the bottom of the page.
![FlexDeploy 4.6 > Adding FlexDeploy to your Azure Active Directory > worddavbad1cea168549947f82119d87b01fda7.png](https://flexagon.atlassian.net/wiki/download/thumbnails/345605332/worddavbad1cea168549947f82119d87b01fda7.png?version=1&modificationDate=1472964313977&cacheVersion=1&api=v2&width=603)
- Choose "Application my organization is developing
![FlexDeploy 4.6 > Adding FlexDeploy to your Azure Active Directory > worddavfd71ec010fdfcfec2d3e552e560bda88.png](https://flexagon.atlassian.net/wiki/download/attachments/345605332/worddavfd71ec010fdfcfec2d3e552e560bda88.png?version=1&modificationDate=1472964313930&cacheVersion=1&api=v2)
- On the "Add application" screen, enter "FlexDeploy" as the name, and select "Web Application and/or web API"
![FlexDeploy 4.6 > Adding FlexDeploy to your Azure Active Directory > worddav9b1adf51013be67f7a1c9f1872863a48.png](https://flexagon.atlassian.net/wiki/download/attachments/345605332/worddav9b1adf51013be67f7a1c9f1872863a48.png?version=1&modificationDate=1472964313935&cacheVersion=1&api=v2)
- On the next page, enter "http://www.flexagon.com" as both the Sign-on URL and the App ID URI, then click the check mark.
![FlexDeploy 4.6 > Adding FlexDeploy to your Azure Active Directory > worddav284095f51b86046a331779bddbd2b4d5.png](https://flexagon.atlassian.net/wiki/download/attachments/345605332/worddav284095f51b86046a331779bddbd2b4d5.png?version=1&modificationDate=1472964313826&cacheVersion=1&api=v2)
- Once in the App setup page, choose "Configure" from the top of the page, then scroll down to the "Keys" section. Select a duration (1 or 2 years), then click save at the bottom of the page.
- After clicking save, the client key should be displayed. Make note of this, it will only be displayed once.
- The Client ID and Key will be required to allow the Azure plugin to access and perform operations on your Azure account.
![FlexDeploy 4.6 > Adding FlexDeploy to your Azure Active Directory > worddav6709214bce4bb2aa30ee5cf5039f49af.png](https://flexagon.atlassian.net/wiki/download/attachments/345605332/worddav6709214bce4bb2aa30ee5cf5039f49af.png?version=1&modificationDate=1472964313858&cacheVersion=1&api=v2)
- Press back to go back to the Active Directory page, and then select "Domains" Click on "Add application" and add "Windows Azure Service Management".
- Click the check mark on the "Add application" page, then, under "Delegated Permissions", choose "Access Azure Service Management as organization"
- Here you will see your Active Directory Domain name. If there is no custom domain configured, you will see a message saying "Your directory comes with a default domain, xxxxxx.onmicrosoft.com. Add a custom domain to improve user sign-on experiences!" This domain name will also be required.
14. If you haven't already, follow the steps described in "Creating and uploading a management certificate and keystore"
FlexDeploy Environment/Instance properties, and where to find them
Property Name | Property Code | Required | Where to find in the Classic Portal |
---|
Azure Subscription ID | FDAZ_SUBSCRIPTION_ID | Yes | Settings> Subscriptions
|
Azure Active Directory Domain | FDAZ_AD_DOMAIN | Yes | Active Directory> MyActiveDirectory> Applications> FlexDeploy> Configure
|
Azure Application Client ID | FDAZ_CLIENT_ID | Yes | Active Directory> MyActiveDirectory> Applications> FlexDeploy> Configure
|
Azure Application Client Key | FDAZ_CLIENT_KEY | Yes | Active Directory> MyActiveDirectory> Domains |