
Announcements
I have created a PVA with authentication inside a topic ("on canvas"). The authentication step works most of the time, but fails often enough to be unusable.
I set the Authentication to be Manual (for any channel includig Teams) and I did not check the checkbox "Require users to log in". The behaviour I'm after is that an anonymous user may call the topic, and we will ask them to log in if they choose a particular path through the topic
We have an authentication step within the topic. After publishing the PVA, we then test this using the demo website link on the Publish page.
Most times it works as expected, so:
However, occassionally this doesn't work and it's frequent enough to make this unusable....
Here, the flow is:
So, initially authentication fails because the user is marked as not logged in, but we're able to see the user's name. And when re-triggering the same topic immediately afterwards, then the user is marked as logged in.
It seems from my perspective to be a timing issue...?
I have tested this with different PVAs in different tenant environments. Same level of fragility and same symptoms.
Hey @DrJGriff,
This sounds like a fairly complicated issue, probably not one that could be solved without some direct insight into your bot's particular setup and some dedicated troubleshooting time. If you haven't already done so, I'd highly recommend opening a support ticket to address this, as the forums are often used for the solving of simpler problems, and you may be better served by finding a dedicated support agent for the issue.
Thank you for using Microsoft Power Platform Communities!
Bryn Baker
Support Engineer
Microsoft Power Platform
If this post helps, then please consider accepting it as the solution to help other members find it more quickly! Have a great day!