# Error: Not connected to AWS

**URL:** <https://community.dynatrace.com/t/error-not-connected-to-aws/41607>\
**Category:** Cloud platforms\
**Tags:** aws\
**Created:** [September 12, 2023, 1:17pm UTC](https://community.dynatrace.com/t/error-not-connected-to-aws/41607 "2023-09-12T13:17:46Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Pawel\_Zalewski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pawel_zalewski/32/8101_2.png) [@Pawel\_Zalewski](https://community.dynatrace.com/u/Pawel_Zalewski)\
**Post date:** [September 12, 2023, 1:17pm UTC](https://community.dynatrace.com/t/error-not-connected-to-aws/41607/1 "2023-09-12T13:17:46Z")

</div>

Hi,

After successful connection to AWS by Role-based authentication I cannot add Amazon CloudWatch Logs Service. When I’m trying to do so this pop up comes out:

 ![Pawel_Zalewski_0-1694524218741.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/acf5206aaae873f3c97e23c2137f48e57e80f074.png)

I added CloudWatch permissions policies in AWS account and used this docs to connect:

[https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-cloud-platforms/amazon-web-services/amazon-web-services-integrations/cloudwatch-metrics/aws-monitoring-with-dynatrace-managed](https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-cloud-platforms/amazon-web-services/amazon-web-services-integrations/cloudwatch-metrics/aws-monitoring-with-dynatrace-managed)

Also I can’t use alerting rules wich is most important for me to create

 ![Pawel_Zalewski_1-1694524428492.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/8/e83fc40883d1cb6232791b10de8ab249c23e38d9.png)

Appreciate your help 🙂

---

_[View the full topic](https://community.dynatrace.com/t/error-not-connected-to-aws/41607)._
