# “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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FfWDGcm3F92bfUefUntOU%2Fimage.png?alt=media&#x26;token=3348d0f3-37e1-4ed1-9597-86a129146960" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FLvqpFwOnw4gfjJEXYMk0%2Fimage.png?alt=media&#x26;token=7ba1c1d6-d549-4134-8715-f9eed00025df" 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.
