Get Current logged in user from sharepoint to Power Virtual Agent

Neeraja Gundu 1 Reputation point

We are creating a chat bot using Power virtual agent and using it as iframe in spfx. We need to get the SharePoint current logged in user in that power virtual agent chatbot window.

We have configured SSO option and added that as custom script in the sharepoint.

By this everytime I open the sharpeoint page where the bot got deployed it automatically populate one window to get the username and password and logged into the power virtual agent chatbot.

How can we bypass the auto populate window? how can my Power virtual agent will recognize the user without prompting the login window option.
pls advise?


A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,009 questions
{count} votes