Cannot use Teams Phones api
Also here is the raw input:
{
"uri": "https://graph.microsoft.com/beta/communications/phoneNumbers?$filter=assignmentType eq 'User'\n",
"method": "GET",
"headers": {
"Authorization": "sanitized",
"Content-Type": "application/json"
}
}
And here is the raw output:
{
"statusCode": 400,
"headers": {
"Transfer-Encoding": "chunked",
"Vary": "Accept-Encoding",
"Strict-Transport-Security": "max-age=31536000",
"request-id": "8a2c1b0c-3297-44d3-aaa8-cc07126d263d",
"client-request-id": "8a2c1b0c-3297-44d3-aaa8-cc07126d263d",
"x-ms-ags-diagnostic": "{"ServerInfo":{"DataCenter":"West US","Slice":"E","Ring":"4","ScaleUnit":"002","RoleInstance":"BY3PEPF0002E899"}}",
"Date": "Wed, 16 Apr 2025 14:00:02 GMT",
"Content-Type": "application/json",
"Content-Length": "249"
},
"body": {
"error": {
"code": "BadRequest",
"message": "Resource not found for the segment 'phoneNumbers'.",
"innerError": {
"date": "2025-04-16T14:00:02",
"request-id": "8a2c1b0c-3297-44d3-aaa8-cc07126d263d",
"client-request-id": "8a2c1b0c-3297-44d3-aaa8-cc07126d263d"
}
}
}
} any ideas about why this isnt working?