# 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](https://help.cloudstoragesec.com/console-overview/access-management/linked-accounts) 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&#x26;token=9a251c00-34ba-4ce2-b202-fbf01648045b" alt=""><figcaption></figcaption></figure>

The first indicator that tipped you off may have been the [Problem Files](https://help.cloudstoragesec.com/console-overview/see-whats-infected/problem-files) page results or a [Proactive Notification](https://help.cloudstoragesec.com/console-overview/configuration/proactive-notifications).&#x20;

<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&#x26;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:&#x20;

<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&#x26;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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
