Automating MSTeams call forwarding to a PSTN number via Graph API

De Roo, Steven 1 Reputation point
2022-02-15T18:13:23.327+00:00

Hello,

in our company, MSTeams is linked to traditional PSTN phone numbers,
which makes that anyone can be called in MSTeams, even using 'fixed landlines' or mobile phones.

In MSTeams, you can configure 'call forwarding' manually.
Is it possible to do this configuration also via the Graph API?
The Graph API has 'call:redirect', but if I understand correctly, this API can only be called if you are reacting upon an incoming call somehow.
(https://learn.microsoft.com/en-us/graph/api/call-redirect)

The API we would need, is the programmatic counterpart of the manual configuration action...

br,
Steven

Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Beeker 1 Reputation point
    2022-07-02T19:50:12.41+00:00

    I have/had the same problem and covered it on StackOverflow. If you look through the updates, you'll find a POC. I still need to refine it by using application rights and acqiureTokenOnBehalfOf calls.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.