> For the complete documentation index, see [llms.txt](https://help.cloudstoragesec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.cloudstoragesec.com/trouble-shooting/remote-account-objects-not-scanning.md).

# Remote account objects not scanning

When you link account you have to deploy a cross-account role in the remote account. You will see a list of the linked accounts and their status on the [Link Accounts](/console-overview/access-management/linked-accounts.md) page. If a remote account was previously setup with the cross-account role and scanning successfully, then there is an issue with the role in the remote account. It may have been deleted by an account admin by accident or numerous other reasons as to why there may be an issue.

Here is what it will look like if Antivirus for Amazon S3 can no longer utilize the cross-account role to get buckets:

<figure><img src="https://905555942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGcQw8I2CHyi1loKBlfi%2Fuploads%2FHxOVOqh6pPoqH5MnGfGG%2Fimage.png?alt=media&amp;token=9a251c00-34ba-4ce2-b202-fbf01648045b" alt=""><figcaption></figcaption></figure>

The first indicator that tipped you off may have been the [Problem Files](/console-overview/see-whats-infected/problem-files.md) page results or a [Proactive Notification](/console-overview/configuration/proactive-notifications.md).

<figure><img src="https://905555942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGcQw8I2CHyi1loKBlfi%2Fuploads%2FxkjPDqmeNoCrXiRkwZ7t%2Fimage.png?alt=media&amp;token=f8792898-a15a-4883-b786-aa55ca6dbcf2" alt=""><figcaption></figcaption></figure>

In order to fix the problem, you have to fix the cross-account role. This may be able to be done in the remote account directly, but you may just need to start over with the role. If the stack still exists in the remote account you could simply rerun the stack there. Alternatively, if you need to run the stack for the first time or again from scratch, you can click the action button on the remote account row and select `Launch Stack` as seen here:

<figure><img src="https://905555942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGcQw8I2CHyi1loKBlfi%2Fuploads%2FiilX23KVf7day43VjOkh%2Fimage.png?alt=media&amp;token=5e9a2401-4b85-4401-911b-5b6890ae607d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
This will launch the `Quick Stack Create` wizard in whichever AWS account you are currently logged into. Ensure you are logged in to the remote account in question.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.cloudstoragesec.com/trouble-shooting/remote-account-objects-not-scanning.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
