

# Granting Amazon Managed Microsoft AD users and groups access to Amazon resources with IAM roles
<a name="ms_ad_manage_roles"></a>

Amazon Directory Service provides the ability to give your Amazon Managed Microsoft AD users and groups access to Amazon services and resources, such as access to the Amazon EC2 console. Similar to granting IAM users access to manage directories as described in [Identity-based policies (IAM policies)](IAM_Auth_Access_Overview.md#IAM_Auth_Access_ManagingAccess_IdentityBased), in order for users in your directory to have access to other Amazon resources, such as Amazon EC2 you must assign IAM roles and policies to those users and groups. For more information, see [IAM roles](https://docs.amazonaws.cn/IAM/latest/UserGuide/id_roles.html) in the *IAM User Guide*.

For information about how to grant users access to the Amazon Web Services Management Console, see [Enabling Amazon Web Services Management Console access with Amazon Managed Microsoft AD credentials](ms_ad_management_console_access.md).

**Topics**
+ [Creating a new IAM role](create_role.md)
+ [Editing the trust relationship for an existing IAM role](edit_trust.md)
+ [Assigning users or groups to an existing IAM role](assign_role.md)
+ [Viewing users and groups assigned to a role](view_role_details.md)
+ [Removing a user or group from an IAM role](remove_role_users.md)
+ [Using Amazon managed policies with Amazon Directory Service](ms_ad_managed_policies.md)