Symptoms
Within your Microsoft 365 protection plan, you have protected Microsoft Teams data. Now you need to restore a team, but restore fails with this error:
Could not get Group id=<id>: ms graph error httpStatus: 404, code: Request_ResourceNotFound, message: Resource 'id' does not exist or one of its queried reference-property objects are not present.
Cause
The team is deleted from Microsoft Teams. It can no longer be detected in Microsoft Teams during the recovery operation and thus recovery fails.
Solution
Create a new team with the same name and restore to it.
To create a team in Microsoft 365, follow this guide: Microsoft Teams: Create a team from scratch. In step 5, give it the name that the protected team previously had. Once the team is created, you can specify it as the target site during a recovery.