We have been using the Microsoft Graph endpoint /v1.0/me/ownedObjects
for a while to get a list of owned groups.
Today we are suddenly getting the following error if we call this endpoint without sending in a filter param (e.g. $select=id eq 'GroupId'
).
This has been working fine for us to get the list of owned groups, but if this isn't sorted our we are going to have to re-write how we get this list of owned groups. Any ideas why this might have started happening today?
From what we can figure out this is only affecting certain users.
In regards to the permissions, we have from the list listed in the documentation we are only using User.Read.All
{
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"request-id": "d1c4149d-a64e-4608-8cdf-50076c485dce",
"date": "2019-09-12T14:56:22"
}
}
}