This document explains the steps to integrating Azure with Cloud IAM to manage users, account, credentials and virtual machines.
Info
Cloud IAM requests only the necessary permissions to prevent excess privileges.
Requirements
- An Azure account.
Creating an Azure application
- Access the Azure platform and log in to your Azure account.
- Locate the service Microsoft Entra ID.
- In the left menu, click Manage > App registrations.
- Click New registration.
- In the Name* field, enter a name for the application.
- Select which account types can use the app or access the API.
- (Optional): Select the redirect URI to receive the authentication response.
- Click Register.
Creating a client secret
- Access the Azure platform and log in to your Azure account.
- Locate the service Microsoft Entra ID.
- In the left menu, click Manage > App registrations.
- Go to the All applications tab and select an application.
- In the application's left menu, click Manager > Certificates & secrets.
- Click New client secret.
- In the Description field, enter a description for the client secret.
- In the Expires field, select when the client secret will expire.
- Click Add.
Alert
After creating the client secret, make sure to copy the Value field of the client secret. Otherwise, you will have to create another secret.
Selecting API permissions
- Access the Azure platform and log in to your Azure account.
- Locate the service Microsoft Entra ID.
- In the left menu, click Manage > App registrations.
- Go to the All applications tab and select an application.
- In the application's left menu, click Manager > API permissions.
- In the Configured permissions section, select Microsoft Graph.
- Select the following permissions:
- Delegated permissions:
Directory.AccessAsUser.All
- Application permissions
Application.ReadWrite.All
AppRoleAssignment.ReadWrite.All
Directory.Read.All
Directory.ReadWrite.All
Organization.Read.All
Organization.ReadWrite.All
RoleManagement.ReadWrite.Directory
User.ManageIdentities.All
User.ReadWrite.All
- Delegated permissions:
- Click Add permissions.
- After adding the permissions, click Grant admin consent for [Azure Active Directory name], and click Yes.
Integrate Azure with Cloud IAM
To integrate an Azure account with Cloud IAM, see the following steps:
- On Segura, in the navigation bar, hover over the Products menu and select Cloud IAM.
- In the side menu, select Management > Accounts.
- In the top right corner, click Add.
- In the Settings tab, enter the following information:
- In the Name * field, enter a name for the account.
- (Optional): In the Description field, enter a description for the account.
- (Optional): In the Tags field, enter tags to help identifying the account.
- Click Continue.
- In the Azure tab, enter the following information about the Azure provider:
- In the Directory (tenant) ID* field, enter the directory ID obtained in Creating an Azure application.
- In the Application (Client ID)* field, enter the application client ID obtained in Creating an Azure application.
- In the Client secret value* field, enter the client secret obtained in Creating a client secret value.
- In the IAM section, select the desired permissions.
- Click Continue until you get to the Review tab.
- In the Review tab, verify all the information previously entered in the past tabs, and click Save.
The newly added account will appear in the Accounts report.
Do you still have questions? Reach out to the Segura Community.