Problem
PUT request to /beta/groups/<groupId>/team fails with the following error:
{
"error": {
"code": "AuthenticationError",
"message": "Error authenticating with resource.",
"innerError": {
"request-id": "e4385864-85e4-4fa6-8878-458988c584e4",
"date": "2017-11-10T10:29:39"
}
}
}
A Bearer token is supplied, that was generated by using delegate permissions on Group.ReadWrite.All.
The endpoint is documented here.
Things I found so far
It seems, that it's something related to teams resources. The following requests do not work:
PUT /beta/group/<groupId>/teamGET /beta/me/joinedTeams
Both fail with AuthenticationError.
Update
/beta/group/<groupId>/team does work now.