Forum Discussion
hernan-invosys
Jul 10, 2020Copper Contributor
Powershell New-CsOnlineSession with AccessToken
Hello guys, I am trying to run 'New-CsOnlineSession' with -OAuthAccessToken parameter in a Powershell script. The oauth token comes from a WebApp that authenticates the user. This WebApp uses Micro...
kkelsey234
Nov 24, 2020Copper Contributor
hernan-invosysHi Hernan, I bet your getting invalid audience because the app permissions do not give access to the Sfbo API. Only the Skype API (client), or Graph API. Both (and all other API's as you noted) does not give the required commands needed for telephony based requests (URI, PSTN Gateway, ect.)