Can you please help me solving this error?
{
"code": "PrincipalNotExists",
"message": "The request cannot be completed because the principal in tenant 624cb905-2091-41e4-90b9-********** with object id c17b22cc-bdc3-4c2e-afee-********** does not exist."
}
Invoking this API: https://api.powerplatform.com/environmentmanagement/environments?api-version=2024-10-01
The AppRegistration does exists and it is configured as shown
As usual a TOken is being requested to Azure:
then used to make the api call.