I have a Flow that is trying to add a member to a private Teams channel. The owner of the Flow is the owner of the channel.
I have an HTTP step that generates an access token using Client ID and Secret established in an Azure app. This works fine:
But the second step keeps failing with the error "Access token validation failure. Invalid audience." The step is as follows:
I've also tried putting the token in the Authorization option as follows:
I understand this error can be due to using the wrong endpoint, but all the guides I've read on this sort of thing specify these two endpoints so I'm not sure if that's the issue.
Here is my Flow configuration for info:
Any help would be greatly appreciated!

Report
All responses (
Answers (