I have published a PVA bot skill to a teams channel using the app id that is provided in the PVA platform.
I used this app id and connected the skill to the teams channel, I am able to run the skill.
However, I am not able to query the details of the user logged in to teams. This works when I deploy the same skill bot using the app id from the azure portal.
The code which queries the user info - attached Code_snippet.png.
The error message - attached ErrorMessage.png.
Exact error message:
Thanks,
Shinal