Forum Discussion
relkniw
Oct 26, 2021Brass Contributor
Cannot initiate PSTN calls from bot
Hi everybody, within my calling bot I try to initiate a PSTN call like https://docs.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0&tabs=http#example-8-create-peer-to-pee...
- Nov 08, 2021We could solve the problem. We used the wrong object ID for creating the call. After using the object ID from the assigned service user, it works.
relkniw
Nov 08, 2021Brass Contributor
We could solve the problem. We used the wrong object ID for creating the call. After using the object ID from the assigned service user, it works.
ecastan1
Dec 13, 2021Copper Contributor
Hi relkniw
Could you please show where do you get the correct object id that works in your case? There seem to be several options and we are not sure which one is correct.
Thanks a lot.
- relkniwDec 13, 2021Brass Contributor
Hi ecastan1,
I think you have created a new service user in the Azure AD for your calling bot by using a powershell command. Something like New-CsOnlineApplicationInstance -UserPrincipalName
<new userid> -ApplicationId <ClientId>. Then you have to use the object id of that new created user.Hope that answers your question.
Regards
Gerd
- ecastan1Dec 13, 2021Copper ContributorThanks for your response Gerd. Much appreciated. we'll check it out.
Best regards
Esteban C.