# “Unable to change the role of this group as it was not found in Entra ID” error in Cloud

*Applies to: Patch My PC Cloud*

### SYMPTOMS

I am trying to change the role assigned to an Entra ID Security Group in the Patch My PC (PMPC) Cloud portal, but I get the following error:

**Error - Unable to change the role of this group as it was not found in Entra ID**

<figure><img src="/files/iyTrc93vR8ZuUKCgX3vk" alt="&#x22;Unable to change the role of this group as it was not found in Entra ID&#x22; error"><figcaption></figcaption></figure>

### CAUSE

This error is caused if the Entra ID Security Group has been deleted in Entra ID. If you refresh the portal, you will see the **GROUP WAS DELETED ON AZURE**  message and you can only delete the group.

<figure><img src="/files/AuKLoBEtepXzWVdpK2UU" alt="“Group role was deleted on Azure” error"><figcaption></figcaption></figure>

### RESOLUTION

To resolve this issue:

1. Delete the existing group from the portal. Just recreating the group in Entra ID won’t work, as the group will have a different Entra ID than the existing one in the portal.
2. Recreate the group in Entra ID with the relevant members.
3. Add the group to the portal.


---

# 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://docs.patchmypc.com/patch-my-pc-cloud/troubleshoot/users/unable-to-change-the-role-of-this-group-as-it-was-not-found-in-entra-id-error-in-cloud.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.
